Add tests to Hydrawise (#101110)

* Add tests to Hydrawise

* Update tests/components/hydrawise/test_binary_sensor.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Changes requested during review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
David Knowles 2023-10-06 08:42:08 -04:00 committed by GitHub
parent adc7fc0ee4
commit 96aba1c1a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 237 additions and 9 deletions

View file

@ -57,7 +57,7 @@ def setup_platform(
) -> None:
"""Set up a sensor for a Hydrawise device."""
# We don't need to trigger import flow from here as it's triggered from `__init__.py`
return
return # pragma: no cover
async def async_setup_entry(