* With tests and list of active
* Issue #698 - nb nb_device_active_for_boiler don't work for climate without hvac_action
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
* With Sonoff configuration ok
* Fix configuration
* Next (not finished)
* With 1rst implementation of VTherm TRVZB and underlying
* Work in simuated environment
* Fix Testus
* Release
* Fix release name
* Add #602 - implement a max_on_percent setting
* Calculate offset_calibration as room_temp - local_temp
Fix hvac_action calculation
* Fix hvac_action
Fix offset_calibration=room_temp - (local_temp - current_offset)
* Fix underlying target is not updated
* Issue #655 - combine motion and presence
* Fix Valve testus. Improve sending the open percent to valve
* Update custom_components/versatile_thermostat/translations/en.json
Co-authored-by: Alexander Dransfield <2844540+alexdrans@users.noreply.github.com>
* Indus step1
* Step 2 - renaming. All tests ok
* Step 2: manual tests ok
* First unit test ok
* Test multi ok
* All tests ok. Add a multi test for climate with valve regulation
* With testu for config_flow ok
* Documentation (not finished)
* Fix#661 - central boiler doesn't starts with Sonoff TRVZB
* Remove // testing
* Fix exception when there is no offset at all
* Fix class attributes and instance attributes mixing
* Documentation 2
* Documentation 3
* Documentation ++
* documentation
* Try to fix the central boiler calculation
* Fix#669
* Documentation ++
* Documentation ok for FR
* Readme FR|EN
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
Co-authored-by: Alexander Dransfield <2844540+alexdrans@users.noreply.github.com>
* implementing max_on_percent setting
* remove % sign from log message
* README updated: created new export-mode section, moved self-regulation expert settings to new section, added new section about on-time clamping
* Add logs to diagnose the case
* Issue #552 (#608)
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
* Fix typo (#607)
* - Force writing state when entity is removed
- Fix bug with issue #552 on CONF_USE_CENTRAL_BOILER_FEATURE which should be proposed on a central configuration
- Improve reload of entity to avoid reloading all VTherm. Only the reconfigured one will be reloaded
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
Co-authored-by: Ludovic BOUÉ <lboue@users.noreply.github.com>
* Migrate to HA 2024.10.4
* Auto start/stop alog and testu + ConfigFlow
* With config flow ok
* Change algo
* All is fine
* Add change_preset test
* + comment
* FIX too much start/stop
* Change algo to take slop into account
* Allow calculation even if slope is None
* With enable + tests + hysteresis in calculation
* Add hvac_off_reason and test with window interaction
* Fix some tests
* Restore saved_state
* Release
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
* Dispatch test_bugs into each own VTherm type tests
* Local tests ok
* With testus ok.
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
* Type hints: Replace deprecated helpers.typing.EventType with core.Event
* Replace deprecated use of hass.helpers.service.async_register_admin_service
* Update base_thermostat.py
issue with ac and mouvement detection
* issue ac with detection mouvement
modif class find_preset_temps for preset activity
* 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>
* 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 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>
* Add central config into ConfigFlow
* Test manual of confif_flow ok
* Ignore central confic in instanciate entities
* Init data in base_thermostat ok
* With central configuration testu ok
* All testu ok
* With fixture for init_vtherm_api and init_central_config
* Add reload VTherms when central configuration is changed
* Update strings.json and replace security by safety in README.
* UPdate README with release 5.0
* FIX missing Presets central configuration initialisation
* FIX frost_away_temp translation missing
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
* Add ema calculation class, calculate an emo temperature, use the ema_temperature in auto_window dectection
* Removes circular dependency error
* Fix ema_temp unknown and remove slope smoothing
* 15 sec between two slope calculation
* Take Maia feedbacks on the algo.
* Maia comments: change MAX_ALPHA to 0.5, add slope calculation at each cycle.
* With EMA entity and slope calculation optimisations
* Change open_window_detection fake datapoint threshold
* Try auto window new algo
* Don't store datetime of fake datapoint
* Change auto window threshold in °/hour
---------
Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>