1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Add hourly forecast to met.no (#38700)

* Add hourly forecast

* fix tests to assert for 2 entities created

* fix test to assert for 4 calls

* correct test tracking home number of calls

* fox tests

* fix test

* Apply suggestions from code review

* black

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
This commit is contained in:
Vaclav
2020-08-11 03:22:39 +02:00
committed by GitHub
parent 844b3f8d23
commit 8555e17eb9
4 changed files with 31 additions and 18 deletions

View File

@@ -276,4 +276,4 @@ async def test_onboarding_core_sets_up_met(hass, hass_storage, hass_client):
assert resp.status == 200
await hass.async_block_till_done()
assert len(hass.states.async_entity_ids("weather")) == 1
assert len(hass.states.async_entity_ids("weather")) == 2