Add optional unique_id
parameter:
It allows to customize the entity through UI. Please note that living this setting empty will duplicate the previously existing entity, and the old one will be marked as unavailable.
Example:
- Old entity becoming unavailable : climate.room_thermostat
- New entity : climate.room_thermostat_2
You should then delete the old entity in the UI and rename the new entity using the same ID as old entity to restore functionality of all your automations, scripts, cards, etc...
To avoid this, update Smart Thermostat using HACS, then stop Home Assistant, set the unique_id parameter in YAML with the id of the thermostat as shown in Developers tools > States (example climate.room_thermostat) and then start Home Assistant.
Add service to set PID gains :
Use the smart_thermostat.set_pid_gain
service to adjust the PID gains without requiring a restart of Home Assistant. Values are saved to Home Assistant database and restored after a restart. Please consider saving the final gain parameters in YAML configuration file when satisfied to keep it safe in case of database corruption.
Add service to clear the integral part:
Use the smart_thermostat.clear_integral
service to reset the integral part of the PID controller to 0. Useful when tuning the PID gains to quickly test the behavior without waiting the integral to stabilize by itself.
Add integration reload service:
Use the smart_thermostat.reload
service to reload the thermostat from scratch without requiring a restart of Home Assistant.
Full Changelog: 2021.11.8...2021.11.9-beta1