Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - id: '1599032944571'
- alias: 1. phonecall - sonos mute
- description: ''
- trigger:
- - entity_id: sensor.cs_mobil_phone_state
- platform: state
- to: offhook
- condition:
- - condition: zone
- entity_id: person.christian
- zone: zone.home
- action:
- - data: {}
- entity_id: media_player.kontoret
- service: sonos.snapshot
- - timeout: 00:00:01
- wait_template: ''
- - data: {}
- entity_id: media_player.kontoret
- service: media_player.media_pause
- mode: single
- - id: '1599033393434'
- alias: 3. phonecall end - resume sonos
- description: ''
- trigger:
- - entity_id: sensor.cs_mobil_phone_state
- from: offhook
- platform: state
- condition:
- - condition: zone
- entity_id: person.christian
- zone: zone.home
- action:
- - data: {}
- entity_id: media_player.kontoret
- service: sonos.restore
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement