core/tests/components/accuweather
Maciej Bieniek e7076ac83f
Use separate data coordinators for AccuWeather observation and forecast (#115628)
* Remove forecast option

* Update strings

* Use separate DataUpdateCoordinator for observation and forecast

* Fix tests

* Remove unneeded variable

* Separate data coordinator classes

* Use list comprehension

* Separate coordinator clasess to add type annotations

* Test the availability of the forecast sensor entity

* Add DataUpdateCoordinator types

* Use snapshot for test_sensor()

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-04-17 00:00:16 +02:00
..
fixtures Bump `accuweather` to version 1.0.0 (#93305) 2023-05-21 14:50:10 +02:00
snapshots Use separate data coordinators for AccuWeather observation and forecast (#115628) 2024-04-17 00:00:16 +02:00
__init__.py Use separate data coordinators for AccuWeather observation and forecast (#115628) 2024-04-17 00:00:16 +02:00
test_config_flow.py Use separate data coordinators for AccuWeather observation and forecast (#115628) 2024-04-17 00:00:16 +02:00
test_diagnostics.py Use separate data coordinators for AccuWeather observation and forecast (#115628) 2024-04-17 00:00:16 +02:00
test_init.py Use separate data coordinators for AccuWeather observation and forecast (#115628) 2024-04-17 00:00:16 +02:00
test_sensor.py Use separate data coordinators for AccuWeather observation and forecast (#115628) 2024-04-17 00:00:16 +02:00
test_system_health.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_weather.py Use separate data coordinators for AccuWeather observation and forecast (#115628) 2024-04-17 00:00:16 +02:00