2021-05-25 11:54:21 +00:00
|
|
|
- id: bathroom-mirror-lights-on
|
2021-06-30 09:52:38 +00:00
|
|
|
alias: '[Bathroom] Mirror Button Music'
|
2020-12-20 20:43:46 +00:00
|
|
|
trigger:
|
2022-01-30 16:37:13 +00:00
|
|
|
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_short_press
|
|
|
|
subtype: button_2
|
2020-12-20 20:43:46 +00:00
|
|
|
action:
|
2022-02-07 19:02:42 +00:00
|
|
|
- service: script.bathroom_music_toggle
|
2020-12-20 20:43:46 +00:00
|
|
|
mode: single
|
2021-05-25 11:54:21 +00:00
|
|
|
|
|
|
|
- id: bathroom-mirror-lights-off
|
2021-06-30 09:52:38 +00:00
|
|
|
alias: '[Bathroom] Mirror Button Lights toggle'
|
2020-12-20 20:43:46 +00:00
|
|
|
trigger:
|
2022-01-30 16:37:13 +00:00
|
|
|
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_short_press
|
|
|
|
subtype: button_1
|
2020-12-20 20:43:46 +00:00
|
|
|
action:
|
2021-11-12 02:30:51 +00:00
|
|
|
- service: script.bathroom_mirror_lights_toggle
|
2020-12-20 20:43:46 +00:00
|
|
|
mode: single
|
2022-01-30 16:37:13 +00:00
|
|
|
|
|
|
|
- id: bathroom-mirror-button-3
|
|
|
|
alias: '[Bathroom] Mirror Button Vacuum'
|
|
|
|
trigger:
|
|
|
|
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_short_press
|
|
|
|
subtype: button_3
|
|
|
|
action:
|
2022-02-05 14:43:44 +00:00
|
|
|
- service: vacuum.start
|
2022-04-22 23:38:48 +00:00
|
|
|
entity_id: vacuum.valetudo_valetudos5
|
2022-02-05 14:43:44 +00:00
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.sleep_mode
|
|
|
|
state: 'on'
|
|
|
|
sequence:
|
|
|
|
- service: vacuum.set_fan_speed
|
|
|
|
data:
|
|
|
|
fan_speed: Silent
|
|
|
|
target:
|
2022-04-22 23:38:48 +00:00
|
|
|
entity_id: vacuum.valetudo_valetudos5
|
2022-02-05 14:43:44 +00:00
|
|
|
|
2022-01-30 16:37:13 +00:00
|
|
|
- id: bathroom-mirror-button-4
|
|
|
|
alias: '[Bathroom] Mirror Button Automations'
|
|
|
|
trigger:
|
|
|
|
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_alt_short_press
|
|
|
|
subtype: button_3
|
|
|
|
action:
|
|
|
|
- service: automation.turn_off
|
|
|
|
target:
|
|
|
|
entity_id:
|
|
|
|
- automation.bathroom_shower_motion_off
|
|
|
|
- automation.bathroom_lights_off
|