Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: leaving_home_security_check_early
- initial_state: 'on'
- trigger:
- - platform: state
- entity_id: binary_sensor.fibaro_door_sensor_5_sensor_fixed
- from: "off"
- to: "on"
- condition:
- - condition: state
- entity_id: group.security_check_early
- state: "on"
- action:
- - service: script.tts_on_wallpanel
- data_template:
- message: "Sprawdź {{ expand('group.security_check_early') | selectattr('state', 'equalto', 'on') | map(attribute='name') | join(', ') }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement