Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ######TELEGRAM NOTIFICATION######
- #################
- notify:
- - platform: telegram
- name: notify
- api_key: ABCDEFGHILMNO
- chat_id: 123456789
- ########################################################################################
- #AUTOMATION
- ########################################################################################
- # Notifica finestra aperta #
- automation:
- - alias: Check sensor value and show notification
- trigger:
- platform: state
- entity_id: binary_sensor.door_window_sensor_1658F216564SDG
- state: 'on'
- action:
- service: notify.telegram
- data:
- message: 'Hai dimenticato la finestra aperta'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement