Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - id: '1615295891193'
- alias: Start Støvsug
- description: ''
- trigger:
- - platform: state
- entity_id: sensor.vacuum
- from: Ready
- to: Clean
- condition: []
- action:
- - service: scene.create
- data:
- scene_id: before
- snapshot_entities:
- - light.kitchen_1
- - light.kitchen_2
- - light.bedroom_bo
- - light.bedroom_tina
- - light.kontor
- - service: light.turn_on
- target:
- entity_id:
- - light.kitchen_1
- - light.kitchen_2
- - light.kontor
- - alias: Stop Støvsug
- description: ''
- trigger:
- - platform: state
- entity_id: sensor.vacuum
- from: Clean
- to: Ready
- condition: []
- action:
- - service: scene.turn_on
- target:
- entity_id: scene.before
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement