Disable hourly sensor by default in NWS (#40566)

This commit is contained in:
MatthewFlamm authored and GitHub committed 2020-09-30 16:53:33 +02:00
1 parent 9ccebdb8d5
commit ab3909c24f
3 files changed
+58 -18

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ async def test_unload_entry(hass, mock_simple_nws):
await hass.config_entries.async_setup(entry.entry_id)
await hass.async_block_till_done()
assert len(hass.states.async_entity_ids(WEATHER_DOMAIN)) == 2
assert len(hass.states.async_entity_ids(WEATHER_DOMAIN)) == 1
assert DOMAIN in hass.data
assert len(hass.data[DOMAIN]) == 1