-
- Downloads
Fix for Environment Canada date being wrong after midnight (#121850)
* Use async_connect in newly bumped 0.5.8 UPB library.
* Fix tests.
* Fix date being wrong after midnight for Environment Canada
* Fix typing.
* Add test.
* Formatting.
* Remove tests until can be added properly.
* Add weather tests back.
* Fix tests
* Change of tactic for determining previous day's data.
---------
Co-authored-by:
G Johansson <goran.johansson@shiftit.se>
Showing
- homeassistant/components/environment_canada/manifest.json 1 addition, 1 deletionhomeassistant/components/environment_canada/manifest.json
- homeassistant/components/environment_canada/weather.py 18 additions, 50 deletionshomeassistant/components/environment_canada/weather.py
- requirements_all.txt 1 addition, 1 deletionrequirements_all.txt
- requirements_test_all.txt 1 addition, 1 deletionrequirements_test_all.txt
- tests/components/environment_canada/__init__.py 66 additions, 0 deletionstests/components/environment_canada/__init__.py
- tests/components/environment_canada/fixtures/current_conditions_data.json 24 additions, 12 deletions.../environment_canada/fixtures/current_conditions_data.json
- tests/components/environment_canada/snapshots/test_weather.ambr 94 additions, 0 deletions...components/environment_canada/snapshots/test_weather.ambr
- tests/components/environment_canada/test_diagnostics.py 9 additions, 59 deletionstests/components/environment_canada/test_diagnostics.py
- tests/components/environment_canada/test_weather.py 68 additions, 0 deletionstests/components/environment_canada/test_weather.py
Loading
Please register or sign in to comment