Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Leaving reminder
- description: ''
- trigger:
- - platform: state
- entity_id: input_boolean.voskov_is_home
- to: 'off'
- condition: []
- action:
- - service: notify.mobile_app_op9
- data:
- title: Leaving
- message: Turn stuff off?
- data:
- actions:
- - action: ALMOST
- - title: Almost
- - wait_for_trigger:
- - platform: event
- event_type: mobile_app_notification_action
- id: ALMOST
- event_data:
- action: ALMOST
- continue_on_timeout: false
- timeout: '00:50:00'
- - service: script.turn_almost_everything_off
- data: {}
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement