From fab6e74cbee9970d0d58e6a21940ab50d810086a Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 23 Jan 2021 15:25:30 +0100 Subject: [PATCH] Change bathroom music automation start on mirror button press disable random song --- automations/files/bathroom-music.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/automations/files/bathroom-music.yaml b/automations/files/bathroom-music.yaml index 34e89ba..b2f5d04 100644 --- a/automations/files/bathroom-music.yaml +++ b/automations/files/bathroom-music.yaml @@ -6,6 +6,11 @@ entity_id: binary_sensor.shower_motion from: 'off' to: 'on' + - device_id: 4d5298037e93ba11438409bff01b5005 + domain: zha + platform: device + type: remote_button_short_press + subtype: turn_on condition: - condition: state entity_id: media_player.bathroom_speaker @@ -15,7 +20,6 @@ data: device_name: Bathroom speaker uri: 'spotify:playlist:71mXIu6HcdVj3fAMduaHop' - random_song: true - id: bathroom-music-off alias: '[Bathroom] Music Off' mode: restart