#Media player repeat during 4pm to 10 pm

1 messages · Page 1 of 1 (latest)

zenith quail
#

Im trying to do a automation start at 4 pm until 10 pm. During thaht time i would like to play 3 differents media in loop. Im not able to figure out how to this ? Someone can help ?

#

I have this for now but i dont know for the looping ```alias: Deco - Xlight Test
description: ""
triggers:

  • trigger: time
    at: "16:00:00"
    conditions: []
    actions:
  • action: media_player.select_source
    data:
    source: Standby
    target:
    entity_id: media_player.fraz_xlight_schedule
  • action: media_player.select_source
    data:
    source: Intro
    target:
    entity_id: media_player.fraz_xlight_schedule
  • action: media_player.select_source
    data:
    source: Show
    target:
    entity_id: media_player.fraz_xlight_schedule
    mode: single
astral bison
#

Don't know about you, but I've found it funny that what would seem simple can sometimes be NOT. 😁 So, I am guessing you might want to look into using music assistant server inside home assistant and then having the automation kick off a playlist at a time.. then you can have a different automation send a "stop" at the 10pm time?