Use the abs filter instead of an abs() call in the stove and HVAC blueprints
Home Assistant's template engine has no abs() function, so every run of
Stove On Detection failed at its first variable ("'abs' is undefined") and
the HVAC failure monitor would fail the same way. Deployment note now points
at labctl blueprints:pull ha.
Claude-Session: https://claude.ai/code/session_01JBPyi1vyBbme5DKykW3Z25
This commit is contained in:
@@ -99,7 +99,7 @@ action:
|
||||
setpoint: >
|
||||
{{ state_attr(thermostat, 'temperature') | float }}
|
||||
delta: >
|
||||
{{ abs(setpoint - outdoor_now) }}
|
||||
{{ (setpoint - outdoor_now) | abs }}
|
||||
required_rate: >
|
||||
{% set d = delta %}
|
||||
{{ [0.01, [0.10, 0.10 - (d * 0.004)] | min] | max }}
|
||||
|
||||
Reference in New Issue
Block a user