KoljaWindeler / ytube_music_player

YouTube music player for homeassistant
346 stars 53 forks source link

Set repeat mode service call? #329

Closed tastgr closed 6 months ago

tastgr commented 7 months ago

Would it be possible to add a "set repeat off/one/all" service call? I have an automation calling for a track to be played once, and others where repeat all would be better. Having the ability to change repeat mode in automation would be handy, as currently can only change from integration config. Cheers.

KoljaWindeler commented 7 months ago

Hi, ist this not working?

service: media_player.repeat_set
target:
  entity_id: media_player.ytube_music_player
data:
  repeat: "off"