* Typing: Make BaseThermostat generic on the UnderlyingEntity type
* Typing: Change the type of IntervalCaller._interval_sec from int to float
This makes the IntervalCaller class more reusable.
* Keep-alive: Expose UnderlyingSwitch.keep_alive_sec as a HASS Dev Tools attribute
Also improve a keep-alive log message.
* HA 2024.2.b4
* Add temp entities initialization
* Python12 env rebuild
* Init temperature number for central configuration + testus ok
* With calculation of VTherm temp entities + test ok
* FIX some testus. Some others are still KO
* Beers
* Update central config Number temp entity
* Many but not all testus ok
* All testus ok
* With central config temp change ok
* Cleaning and fixing Issues
* Validation tests ok
* With new menu. Testus KO
* All developped and tests ok
* Fix central_config menu
* Documentation and release
* Fix testus KO
* Add log into migration for testu
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
* Update Home Assistant dev version in requirements_dev.txt
* Avoid "Error starting FFmpeg" error in VSCode dev container logs
* Add "editor.formatOnSaveMode": "modifications" to .vscode/settings.json
* Add config option
* With all features + testu ok
* Change algo using underlying internal temp
* Algo fixes
* Bières !
* Change reset cumulated_error formula
* FIX pi algo test with accumulated_error reset
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
* Add keep_alive feature for directly controlled switches
* Add test cases for the switch keep-alive feature
* Add documentation (readme) and translations for the keep-alive feature
* Add step temperature in config
* All testus ok
* Keep the step of the VTherm and not the step of the underlying
* Release 5.4.0
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
* Creation of the central boiler config + binary_sensor entity
* Fonctional before testu. Miss the service call
* Full featured but without testu
* Documentation and release.
* Add events in README
* FIX#341 - when window state change, open_valve_percent should be resend
* Issue #343 - disable safety mode for outdoor thermometer
* Issue #255 - Specify window action on window open detection
* Add en and string translation
* central boiler - add entites to fine tune the boiler start
* With testu ok
* Add testus for valve and climate
* Add testus in pipelines
* With pip 3
* With more pytest options
* Ass coverage tests
* Add coverage report in github
* Release 5.3.0
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
Fixes a small issue where `_last_regulation_change` is being set to `now` even though the new temperature is not sent to the thermostats (because `abs(dtemp) < self._auto_regulation_dtemp:`)