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:
+4
-4
@@ -491,10 +491,10 @@
|
||||
sensor.pfv_tsys7_drac_exhaust: 104
|
||||
fire: "{{ fire_lines.get(trigger.entity_id, 0) | int }}"
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{ trigger.from_state is not none
|
||||
and trigger.from_state.state not in ['unavailable', 'unknown', 'none']
|
||||
and trigger.from_state.state | float(-1) >= fire }}
|
||||
value_template: >-
|
||||
{{ trigger.from_state is not none
|
||||
and trigger.from_state.state not in ['unavailable', 'unknown', 'none']
|
||||
and trigger.from_state.state | float(-1) >= fire }}
|
||||
- action: notify.send_message
|
||||
target:
|
||||
entity_id:
|
||||
|
||||
Reference in New Issue
Block a user