-
- Downloads
Fix evohome to gracefully handle null schedules (#140036)
* extend tests to catch null schedules * add fixture with null schedule * remove null schedules for now * fic the typing for _schedule attr (is list, not dict) * add valid schedule to fixture * update ssetpoints only if there is a schedule * snapshot to match last change * refactor: dont update switchpoints if no schedule * add in warnings for null schedules * add fixture for DHW without schedule
Showing
- homeassistant/components/evohome/coordinator.py 10 additions, 2 deletionshomeassistant/components/evohome/coordinator.py
- homeassistant/components/evohome/entity.py 7 additions, 3 deletionshomeassistant/components/evohome/entity.py
- tests/components/evohome/conftest.py 6 additions, 6 deletionstests/components/evohome/conftest.py
- tests/components/evohome/const.py 2 additions, 1 deletiontests/components/evohome/const.py
- tests/components/evohome/fixtures/botched/schedule_3933910.json 3 additions, 0 deletions...components/evohome/fixtures/botched/schedule_3933910.json
- tests/components/evohome/fixtures/h139906/schedule_3454854.json 3 additions, 0 deletions...components/evohome/fixtures/h139906/schedule_3454854.json
- tests/components/evohome/fixtures/h139906/schedule_3454855.json 143 additions, 0 deletions...components/evohome/fixtures/h139906/schedule_3454855.json
- tests/components/evohome/fixtures/h139906/status_2727366.json 52 additions, 0 deletions...s/components/evohome/fixtures/h139906/status_2727366.json
- tests/components/evohome/fixtures/h139906/user_locations.json 125 additions, 0 deletions...s/components/evohome/fixtures/h139906/user_locations.json
- tests/components/evohome/snapshots/test_climate.ambr 188 additions, 0 deletionstests/components/evohome/snapshots/test_climate.ambr
- tests/components/evohome/snapshots/test_init.ambr 3 additions, 0 deletionstests/components/evohome/snapshots/test_init.ambr
- tests/components/evohome/snapshots/test_water_heater.ambr 10 additions, 0 deletionstests/components/evohome/snapshots/test_water_heater.ambr
- tests/components/evohome/test_water_heater.py 1 addition, 1 deletiontests/components/evohome/test_water_heater.py
Loading
Please register or sign in to comment