From b2eca49e2737148deef702a22d69a29db70838a4 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 5 Feb 2022 15:43:44 +0100 Subject: [PATCH] Fix bathroom mirror vacuum button --- .../automations/bathroom-mirror-button.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/configuration/automations/bathroom-mirror-button.yaml b/configuration/automations/bathroom-mirror-button.yaml index 02aba38..7e8ba30 100644 --- a/configuration/automations/bathroom-mirror-button.yaml +++ b/configuration/automations/bathroom-mirror-button.yaml @@ -33,8 +33,20 @@ type: remote_button_alt_short_press subtype: button_3 action: - - service: vacuum.toggle + - service: vacuum.start entity_id: vacuum.robot_vacuum + - choose: + - conditions: + - condition: state + entity_id: input_boolean.sleep_mode + state: 'on' + sequence: + - service: vacuum.set_fan_speed + data: + fan_speed: Silent + target: + entity_id: vacuum.robot_vacuum + - id: bathroom-mirror-button-4 alias: '[Bathroom] Mirror Button Automations'