Add switch support to the Flo integration (#38268)

* Add switch domain to Flo integration

* lint

* updates post rebase

* fix after rebase

* remove device state attrs

* oops

* stale name and docstring
This commit is contained in:
David F. Mulcahey authored and GitHub committed 2020-08-13 07:52:30 -04:00
1 parent 52a9921ed3
commit ca5e752514
7 files changed
+357 -1

No files matched your search

+2
View File
@@ -45,6 +45,8 @@ async def test_device(hass, config_entry, aioclient_mock_fixture, aioclient_mock
assert device.pending_critical_alerts_count == 0
assert device.pending_warning_alerts_count == 2
assert device.has_alerts is True
assert device.last_known_valve_state == "open"
assert device.target_valve_state == "open"
call_count = aioclient_mock.call_count