From 67c01b02ecbefc1630d593413a851f60c2800a75 Mon Sep 17 00:00:00 2001 From: Jean-Marc Collin Date: Sun, 12 Nov 2023 10:37:44 +0000 Subject: [PATCH] Add default target temperature step --- custom_components/versatile_thermostat/base_thermostat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/versatile_thermostat/base_thermostat.py b/custom_components/versatile_thermostat/base_thermostat.py index 85d50d4..1e405d9 100644 --- a/custom_components/versatile_thermostat/base_thermostat.py +++ b/custom_components/versatile_thermostat/base_thermostat.py @@ -297,6 +297,8 @@ class BaseThermostat(ClimateEntity, RestoreEntity): self._ext_temp_sensor_entity_id = entry_infos.get(CONF_EXTERNAL_TEMP_SENSOR) self._attr_max_temp = entry_infos.get(CONF_TEMP_MAX) self._attr_min_temp = entry_infos.get(CONF_TEMP_MIN) + # Default value not configurable + self._attr_target_temperature_step = 0.1 self._power_sensor_entity_id = entry_infos.get(CONF_POWER_SENSOR) self._max_power_sensor_entity_id = entry_infos.get(CONF_MAX_POWER_SENSOR) self._window_sensor_entity_id = entry_infos.get(CONF_WINDOW_SENSOR)