@ibstyln wrote:
I want to be able to stop music/radio station stream playing on Sonos speaker after 30 minutes.
Below is what I currently have to get the music playing. I need to know what lines to add to the automation or script to stop the music after 30 minutes.automation
# Morning Wakeup - alias: 'morning wakeup' condition: condition: time weekday: - mon - tue - wed - thu - fri trigger: - platform: time at: "06:45:00" action: - service: script.masterbedroomwakeup
script
masterbedroomwakeup: alias: 'Master Bedroom Wake Up Routine' sequence: - service: media_player.select_source data: entity_id: media_player.office source: "104.3 | Q104 (Country Music)"
FYI: The source is playing from my Sonos favorites
Posts: 6
Participants: 2