core/tests
avee87 2d1744c573
Add forecasts to MetOffice integration (#50876)
* MetOfficeData now retrieves both 3-hourly and daily data (full forecast data, as well as "now" snapshot) on each update

* Bump datapoint API up to latest version

* Create 2 sets of sensors - one of each set for 3-hourly and for daily data (same ones initially enabled, for now)

* Create two entities (one each for 3-hourly and daily data) and also add in the forecast data for each dataset

* Testing changes to accommodate now having two sets of everything for 3-hourly and daily update data

* Removed unused import (reported by flake8)

* As per conversation with @MatthewFlamm leave the 3-hourly entity's unique_id unchanged (although the display name is changed)

* Make some improvements based on reviews

Make some improvements and fix up the formatting/linting failures.

* Make some improvements based on reviews

Make some improvements and fix up the formatting/linting failures.

* Added more test coverage

* import asyncio

* Try to fix test

* Rewrote everything using CoordinatorEntity

* Fixed config flow

* Fixed lint errors

Co-authored-by: MrHarcombe <ian.harcombe@gmail.com>
Co-authored-by: Henco Appel <hencoappel+github@gmail.com>
2021-06-27 15:04:42 -04:00
..
auth Migrate the name for the hassio user (#51771) 2021-06-14 09:01:18 -07:00
components Add forecasts to MetOffice integration (#50876) 2021-06-27 15:04:42 -04:00
fixtures Add forecasts to MetOffice integration (#50876) 2021-06-27 15:04:42 -04:00
hassfest Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +02:00
helpers Add timedelta option for async_call_later (#50164) 2021-06-12 13:14:35 +02:00
mock Disable strict type checks for tests (#49851) 2021-04-29 15:57:02 +02:00
resources
scripts
test_util Detach aiohttp.ClientSession created by config entry setup on unload (#48908) 2021-04-09 10:14:33 -07:00
testing_config Move version validation to resolver (#51311) 2021-05-31 15:32:03 -07:00
util Use whoami for location lookup (#50934) 2021-05-22 20:34:48 -07:00
__init__.py
bandit.yaml
common.py Merge system options into pref properties (#51347) 2021-06-01 22:34:31 +02:00
conftest.py Compile statistics for energy sensors (#50829) 2021-05-20 13:05:15 +02:00
ignore_uncaught_exceptions.py
test_bootstrap.py Avoid sending empty integration list multiple times during subscribe_bootstrap_integrations (#49181) 2021-04-15 23:16:17 -07:00
test_config.py Remove stale debug statements from tests (#51059) 2021-05-25 11:52:20 +02:00
test_config_entries.py Spelling fixes (#51642) 2021-06-11 13:35:03 +02:00
test_core.py Define sync hass.create_task function (#50788) 2021-05-17 14:54:06 -05:00
test_data_entry_flow.py Use flow result type constants more (#51122) 2021-05-29 14:09:13 +02:00
test_exceptions.py Remove stale debug statements from tests (#51059) 2021-05-25 11:52:20 +02:00
test_loader.py Move version validation to resolver (#51311) 2021-05-31 15:32:03 -07:00
test_main.py
test_requirements.py Add network and callback support to SSDP (#51019) 2021-05-28 21:18:59 -05:00
test_runner.py Ensure shutdown does not deadlock (#49282) 2021-04-18 08:55:51 -10:00
test_setup.py Replace http startup logic with async_when_setup_or_start (#48784) 2021-04-13 14:10:58 -07:00