Disable hourly sensor by default in NWS (#40566)

This commit is contained in:
MatthewFlamm 2020-09-30 10:53:33 -04:00 committed by GitHub
parent 9ccebdb8d5
commit ab3909c24f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 58 additions and 18 deletions

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