You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blueprints/automation/panhans/advanced_heating_control.yaml
+32-8Lines changed: 32 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1039,6 +1039,8 @@ blueprint:
1039
1039
As a rule, the entities with the word *offset*, *calibration* or *external* are marked by the integrations. Just have a look into your [device overview](https://my.home-assistant.io/redirect/devices/), select your thermostat and check the naming of the *entity_ids* - not the entity name - for the calibration.
1040
1040
1041
1041
The logic detects automatically if the selected entity is an offset entity or a entity which holds an external temperature value. Keep in mind to set the offset entity to *0* if you switch to an external temperature entity or set the temperature source to internal if you switch to an offset entity.
1042
+
1043
+
📝: If you using offset calibration, make sure the entity id contains the keyword `offset`.
1042
1044
default: "calibration"
1043
1045
selector:
1044
1046
text:
@@ -2210,7 +2212,7 @@ trigger:
2210
2212
2211
2213
{% set calibration_entity_min = state_attr(calibration_entity,'min') | float(fallback_min) %}
2212
2214
{% set calibration_entity_max = state_attr(calibration_entity,'max') | float(fallback_max) %}
2213
-
{% set is_offset_entity = (calibration_entity_min + calibration_entity_max) == 0 and calibration_entity_max < 30 %}
2215
+
{% set is_offset_entity = 'offset' in calibration_entity %}
2214
2216
2215
2217
{% set has_external_sensor_configured.r = iif(not is_offset_entity, true, has_external_sensor_configured.r) %}
2216
2218
{% endif %}
@@ -3434,7 +3436,7 @@ variables:
3434
3436
{% set calibration_entity_value_old = states(calibration_entity) | float(0) %}
3435
3437
{% set local_temperature = value_temperature_sensor | float %}
3436
3438
{% set calibration_entity_value_new = local_temperature %}
3437
-
{% set is_offset_entity = (calibration_entity_min | int + calibration_entity_max | int) == 0 and calibration_entity_max < 30 %}
3439
+
{% set is_offset_entity = 'offset' in calibration_entity %}
0 commit comments