Hi,
I‘m new to HA and try to do some automations.
Currently I’m trying to find out how I can clear the playlist from a Sonos speaker. After reading a lot Can‘t get media_player.clear_playlist workingof posts I still can‘t understand why the following isn‘t working (the playlist isn‘t cleared):
alias: Neue Automatisierung
description: ""
trigger:
- platform: state
entity_id:
- switch.fenster_bad_offen_vcs
to: "on"
condition: []
action:
- service: media_player.clear_playlist
target:
entity_id: media_player.esszimmer
data: {}
Does anyone have an idea, why?
Regards,
Jogi