David Bonnes
c254548a64
Add `required_features` to WaterHeater entity service registrations ( #141873 )
2025-06-03 12:51:46 +02:00
Simone Chemelli
484a547758
Fix pylance warning on SnapshotAssertion import ( #145206 )
2025-05-19 13:55:48 +02:00
David Bonnes
c834944ee7
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
2025-03-07 13:04:04 +01:00
David Bonnes
a542a2e021
Refactor evohome for major bump of client to 1.0.2 ( #135436 )
...
* working test_init
* update fixtures to be compliant with new schema
* test_storage is now working
* all tests passing
* bump client to 1.0.1b0
* test commit (working tests)
* use only id (not e.g. zoneId), use StrEnums
* mypy, lint
* remove deprecated module
* remove waffle
* improve typing of asserts
* broker is now coordinator
* WIP - test failing
* rename class
* remove unneeded async_dispatcher_send()
* restore missing code
* harden test
* bugfix failing test
* don't capture blind except
* shrink log messages
* doctweak
* rationalize asserts
* remove unneeded listerner
* refactor setup
* bump client to 1.0.2b0
* bump client to 1.0.2b1
* refactor extended state attrs
* pass UpdateFailed to _async_refresh()
* Update homeassistant/components/evohome/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/evohome/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* not even lint
* undo not even lint
* remove unused logger
* restore old namespace for e_s_a
* minimize diff
* doctweak
* remove unused method
* lint
* DUC now working
* restore old camelCase keynames
* tweak
* small tweak to _handle_coordinator_update()
* Update homeassistant/components/evohome/coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* add test of coordinator
* bump client to 1.0.2
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-02-08 14:45:48 +00:00
David Bonnes
39ba4cff2f
Refactor evohome tests as per best practice ( #129229 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-29 13:29:10 +01:00
David Bonnes
0b3b9c2257
Make minor fixes / doc tweaks to evohome's WaterHeater tests ( #129138 )
2024-10-26 10:52:32 +02:00
David Bonnes
77a91f5a8f
Switch to using a fixture for evohome WaterHeater tests ( #127701 )
...
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: thecem <46648579+thecem@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-24 16:01:29 +02:00
David Bonnes
b69f2856bf
Add tests for evohome water_heater entities ( #127611 )
...
* initial commit
* move get_entity* helper to test
* parameterize with TEST_INSTALLS_WITH_DHW
* remove if from tests
2024-10-05 22:34:06 +01:00