1
0

Change bathroom music automation

start on mirror button press
 disable random song
This commit is contained in:
Przemek Grondek 2021-01-23 15:25:30 +01:00
parent 81caebeb2d
commit fab6e74cbe

View File

@ -6,6 +6,11 @@
entity_id: binary_sensor.shower_motion entity_id: binary_sensor.shower_motion
from: 'off' from: 'off'
to: 'on' to: 'on'
- device_id: 4d5298037e93ba11438409bff01b5005
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
condition: condition:
- condition: state - condition: state
entity_id: media_player.bathroom_speaker entity_id: media_player.bathroom_speaker
@ -15,7 +20,6 @@
data: data:
device_name: Bathroom speaker device_name: Bathroom speaker
uri: 'spotify:playlist:71mXIu6HcdVj3fAMduaHop' uri: 'spotify:playlist:71mXIu6HcdVj3fAMduaHop'
random_song: true
- id: bathroom-music-off - id: bathroom-music-off
alias: '[Bathroom] Music Off' alias: '[Bathroom] Music Off'
mode: restart mode: restart