Advertisement
KirboWnz

Trigger test

Oct 11th, 2021 (edited)
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.49 KB | None | 0 0
  1. - id: entity_state_above_900
  2.   alias: "Entity state above 900"
  3.   trigger:
  4.     - platform: numeric_state
  5.       entity_id: sensor.entity_id_1
  6.       above: 900
  7.     - platform: numeric_state
  8.       entity_id: sensor.entity_id_2
  9.       above: 900
  10.     - platform: numeric_state
  11.       entity_id: sensor.entity_id_3
  12.       above: 900
  13.   action:
  14.     - service: notify.kimmo
  15.       data:
  16.         message: "{{ state_attr(trigger.entity_id, 'friendly_name') }} arvo on {{ states(trigger.entity_id) }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement