diff --git a/automations.yaml b/automations.yaml index c86dabe..d4ed53d 100644 --- a/automations.yaml +++ b/automations.yaml @@ -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: