I have created an automation for when the (fixed, VoIP) phone is used; it’s triggered when dialing/calling or when the phone rings.
What happens next is with scene.create I track the state of 2 Logitech Squeezebox players and a light, the volume of those 2 players are changed and after ending the call that temporary scene is restored.
This has worked well for some time but it seems that in the process of upgrading, restoring that scene doesn’t go as expected: the playlist gets deleted except for the current playing song.
I have recreated the automation more then once to no avail…
Can anyone please have a look at this or tell me where to start on tackling this?
First automation to record the state:
- id: '1592951986553' alias: FB Rings -> squeezeplayer description: Incoming calls trigger: - entity_id: sensor.phone from: idle platform: state to: ringing - entity_id: sensor.phone from: idle platform: state to: talking - entity_id: sensor.phone from: idle platform: state to: dialing condition: - condition: state entity_id: media_player.living state: playing action: - data: scene_id: before snapshot_entities: - light.smafil - media_player.kitchen - media_player.living service: scene.create - data: volume_level: 0.15 entity_id: media_player.living service: media_player.volume_set - data: volume_level: 0.5 entity_id: media_player.kitchen service: media_player.volume_set
Second automation to restore situation:
- id: '1592952090805' alias: FB idle -> squeezeplayer description: End of calls trigger: - entity_id: sensor.phone from: ringing platform: state to: idle - entity_id: sensor.phone from: talking platform: state to: idle condition:  action: - delay: 00:00:02 - scene: scene.before
Thanks A LOT