mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add support for shuffle toggling on Spotify component. (#7339)
* add support for shuffle toggling on Spotify component. this also required adding support for shuffle on the media_player component. * lint * Use ATTR_MEDIA_SHUFFLING for service handler param * Line too long fix * fix tests * add shuffle set to demo mediaplayer * rename shuffle attribute
This commit is contained in:
committed by
Paulus Schoutsen
parent
5d7403bd81
commit
c085f06df5
@@ -324,6 +324,7 @@ SERVICE_MEDIA_STOP = 'media_stop'
|
||||
SERVICE_MEDIA_NEXT_TRACK = 'media_next_track'
|
||||
SERVICE_MEDIA_PREVIOUS_TRACK = 'media_previous_track'
|
||||
SERVICE_MEDIA_SEEK = 'media_seek'
|
||||
SERVICE_SHUFFLE_SET = 'shuffle_set'
|
||||
|
||||
SERVICE_ALARM_DISARM = 'alarm_disarm'
|
||||
SERVICE_ALARM_ARM_HOME = 'alarm_arm_home'
|
||||
|
||||
Reference in New Issue
Block a user