Add new bathroom button automations
This commit is contained in:
parent
f20b3af986
commit
e4eb02abe9
@ -52,4 +52,15 @@
|
|||||||
subtype: button_2
|
subtype: button_2
|
||||||
action:
|
action:
|
||||||
- service: script.bathroom_lights_toggle
|
- service: script.bathroom_lights_toggle
|
||||||
|
- choose:
|
||||||
|
- conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: light.bathroom_lights
|
||||||
|
state: 'on'
|
||||||
|
sequence:
|
||||||
|
- service: automation.turn_on
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- automation.bathroom_shower_motion_off
|
||||||
|
- automation.bathroom_lights_off
|
||||||
mode: single
|
mode: single
|
@ -6,6 +6,11 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: remote_button_short_press
|
type: remote_button_short_press
|
||||||
subtype: turn_on
|
subtype: turn_on
|
||||||
|
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
||||||
|
domain: zha
|
||||||
|
platform: device
|
||||||
|
type: remote_button_alt_short_press
|
||||||
|
subtype: button_2
|
||||||
action:
|
action:
|
||||||
- service: media_player.media_play_pause
|
- service: media_player.media_play_pause
|
||||||
target:
|
target:
|
||||||
@ -20,6 +25,38 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: remote_button_short_press
|
type: remote_button_short_press
|
||||||
subtype: turn_off
|
subtype: turn_off
|
||||||
|
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
||||||
|
domain: zha
|
||||||
|
platform: device
|
||||||
|
type: remote_button_alt_short_press
|
||||||
|
subtype: button_1
|
||||||
action:
|
action:
|
||||||
- service: script.bathroom_mirror_lights_toggle
|
- service: script.bathroom_mirror_lights_toggle
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
|
- 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:
|
||||||
|
- service: vacuum.toggle
|
||||||
|
entity_id: vacuum.robot_vacuum
|
||||||
|
|
||||||
|
- 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
|
Loading…
Reference in New Issue
Block a user