Hey,
I have an automation setup to start my media-player in the morning and stop it later. That worked for a long time, but for about a month it stopped working. I suppose there was a breaking change in the way playlists are handled, but I couldn’t find anything…
I can use the media card to start this exact playlist, but when started by that automation it says /Playlists/Sputnik?authSig=[...]
and does not start.
Can anyone post a hint how to fix this? Thanks in advance.
Here my automation:
alias: Radio früh an
description: schaltet an Arbeitstagen früh das Radio an und später auch wieder aus
trigger:
- platform: time
at: '5:20'
condition:
- condition: or
conditions:
- condition: zone
entity_id: person.matthias
zone: zone.home
- condition: zone
entity_id: person.karina
zone: zone.home
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: media_player.play_media
data:
media_content_id: /Playlists/Sputnik
media_content_type: music
target:
entity_id:
- media_player.kueche
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- service: media_player.media_play
target:
entity_id:
- media_player.badezimmer
data: {}
- delay:
hours: 1
minutes: 50
seconds: 0
milliseconds: 0
- service: media_player.turn_off
target:
entity_id:
- media_player.kueche
- media_player.badezimmer
data: {}
mode: single