fix(plant): recovery alert condition indentation [#344]

value_template must be a sibling key of condition in the action
sequence, not a continuation - reload 500 pointed at line 494.

Detail: https://projects.knownelement.com/issues/344
This commit is contained in:
2026-09-03 16:16:04 -05:00
parent e6f4032865
commit 33505c647e
+4 -4
View File
@@ -491,10 +491,10 @@
sensor.pfv_tsys7_drac_exhaust: 104 sensor.pfv_tsys7_drac_exhaust: 104
fire: "{{ fire_lines.get(trigger.entity_id, 0) | int }}" fire: "{{ fire_lines.get(trigger.entity_id, 0) | int }}"
- condition: template - condition: template
value_template: >- value_template: >-
{{ trigger.from_state is not none {{ trigger.from_state is not none
and trigger.from_state.state not in ['unavailable', 'unknown', 'none'] and trigger.from_state.state not in ['unavailable', 'unknown', 'none']
and trigger.from_state.state | float(-1) >= fire }} and trigger.from_state.state | float(-1) >= fire }}
- action: notify.send_message - action: notify.send_message
target: target:
entity_id: entity_id: