Fix zone config (#32963)

* Fix zone config

* Add zone as dependency again to device tracker

* Fix tests
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-03-18 18:14:25 -07:00
1 parent ede0cfaeb8
commit 5123baba3f
6 files changed
+66 -35

No files matched your search

+2 -2
View File
@@ -55,7 +55,7 @@ async def test_no_clients(hass):
)
assert len(controller.mock_requests) == 4
assert len(hass.states.async_all()) == 0
assert len(hass.states.async_entity_ids("sensor")) == 0
async def test_sensors(hass):
@@ -71,7 +71,7 @@ async def test_sensors(hass):
)
assert len(controller.mock_requests) == 4
assert len(hass.states.async_all()) == 4
assert len(hass.states.async_entity_ids("sensor")) == 4
wired_client_rx = hass.states.get("sensor.wired_client_name_rx")
assert wired_client_rx.state == "1234.0"