core/tests/components/demo
G Johansson 4e30056830
Add new Forecasting to Weather (#75219)
* Add new Forecasting to Weather

* Add is_daytime for forecast_twice_daily

* Fix test

* Fix demo test

* Adjust tests

* Fix typing

* Add demo

* Mod demo more realistic

* Fix test

* Remove one weather

* Fix weather example

* kitchen_sink

* Reverse demo partially

* mod kitchen sink

* Fix twice_daily

* kitchen_sink

* Add test weathers

* Add twice daily to demo

* dt_util

* Fix names

* Expose forecast via WS instead of as state attributes

* Regularly update demo + kitchen_sink weather forecasts

* Run linters

* Fix rebase mistake

* Improve demo test coverage

* Improve weather test coverage

* Exclude kitchen_sink weather from test coverage

* Rename async_update_forecast to async_update_listeners

* Add async_has_listeners helper

* Revert "Add async_has_listeners helper"

This reverts commit 52af3664bb06d9feac2c5ff963ee0022077c23ba.

* Fix rebase mistake

---------

Co-authored-by: Erik <erik@montnemery.com>
2023-07-21 17:30:48 +02:00
..
__init__.py
conftest.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_button.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_calendar.py
test_camera.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_climate.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_cover.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_date.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_datetime.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_fan.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_geo_location.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_humidifier.py Add `action` attribute to Humidifier entity (#95131) 2023-06-28 13:21:17 +02:00
test_init.py Add type hints to integration tests (part 4) (#87848) 2023-02-11 08:26:13 +01:00
test_light.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_lock.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_media_player.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_notify.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_number.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_remote.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_select.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_sensor.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_siren.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_stt.py Remove legacy STT provider from the demo integration (#94585) 2023-06-14 14:55:50 +02:00
test_switch.py Always setup demo platforms with device support from config entry (#94601) 2023-06-14 21:03:07 +02:00
test_text.py Always setup demo platforms with device support from config entry (#94601) 2023-06-14 21:03:07 +02:00
test_time.py Always setup demo platforms with device support from config entry (#94601) 2023-06-14 21:03:07 +02:00
test_update.py Always setup demo platforms with device support from config entry (#94601) 2023-06-14 21:03:07 +02:00
test_vacuum.py Remove unsupported vacuum service handlers (#95787) 2023-07-10 15:03:40 +02:00
test_water_heater.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_weather.py Add new Forecasting to Weather (#75219) 2023-07-21 17:30:48 +02:00