- id: bathroom-music-button-next alias: '[Bathroom] Music button - next' description: '' mode: single trigger: - device_id: e233cdffb05076ad7bb049581ffa8c9c domain: zha platform: device type: remote_button_double_press subtype: remote_button_double_press - device_id: ea9d3cc90cf5da1108925e50489efce9 domain: zha platform: device type: remote_button_alt_double_press subtype: button_2 condition: - condition: state entity_id: media_player.bathroom state: playing action: - service: media_player.media_next_track target: entity_id: media_player.bathroom - id: bathroom-music-button-play alias: '[Bathroom] Music button - play' description: '' mode: single trigger: - device_id: e233cdffb05076ad7bb049581ffa8c9c domain: zha platform: device type: remote_button_double_press subtype: remote_button_double_press - device_id: ea9d3cc90cf5da1108925e50489efce9 domain: zha platform: device type: remote_button_alt_double_press subtype: button_2 condition: - condition: not conditions: - condition: state entity_id: media_player.bathroom state: playing action: - service: media_player.shuffle_set entity_id: media_player.bathroom data: shuffle: true - service: media_player.play_media target: entity_id: media_player.bathroom data: media_content_id: "{{ states('input_text.bathroom_playlist') }}" media_content_type: music - id: bathroom-music-button-pause alias: '[Bathroom] Music button - play/pause' description: '' mode: single trigger: - device_id: e233cdffb05076ad7bb049581ffa8c9c domain: zha platform: device type: remote_button_short_press subtype: remote_button_short_press - device_id: ea9d3cc90cf5da1108925e50489efce9 domain: zha platform: device type: remote_button_alt_short_press subtype: button_2 action: - service: script.bathroom_music_toggle