Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - id: '1647270248201'
- alias: Lys_Røgalarm - rødt lys
- description: Ved røgalarm tages et snapshot af alt lys og lyset skifter til RØDT.
- Nårrøgen er væk skiftes tilbage til udgangspunktet.
- trigger:
- - type: smoke
- platform: device
- device_id: fe850c47018711eb9681fd6ea75d7d6d
- entity_id: binary_sensor.nest_protect_kitchen_smoke_status
- domain: binary_sensor
- id: Røg
- - type: no_problem
- platform: device
- device_id: fe850c47018711eb9681fd6ea75d7d6d
- entity_id: binary_sensor.nest_protect_kitchen_smoke_test
- domain: binary_sensor
- id: 'Ingen røg '
- condition: []
- action:
- - choose:
- - conditions:
- - condition: trigger
- id: Røg
- sequence:
- - service: scene.create
- data:
- scene_id: snapshot_af_alt_lys
- snapshot_entities:
- - light.alt_lys_i_hele_huset
- - delay:
- hours: 0
- minutes: 0
- seconds: 10
- milliseconds: 0
- - service: scene.turn_on
- target:
- entity_id: scene.alt_rodt_ved_rog
- metadata: {}
- default:
- - service: scene.turn_on
- target:
- entity_id: scene.snapshot_af_alt_lys
- metadata: {}
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement