Add toothbrush automation
This commit is contained in:
parent
7e58a436b6
commit
eb8368a6a9
12
configuration/automations/bathroom-toothbrush.yaml
Normal file
12
configuration/automations/bathroom-toothbrush.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
- id: bathroom-toothbrush-on
|
||||
alias: '[Bathroom] Toothbrush on'
|
||||
mode: single
|
||||
trigger:
|
||||
- type: powered
|
||||
platform: device
|
||||
device_id: 1f92942c1507740a4ecfae30fdb1889e
|
||||
entity_id: binary_sensor.ble_toothbrush_50338b1ba19f
|
||||
domain: binary_sensor
|
||||
action:
|
||||
- service: script.bathroom_mirror_lights_on
|
||||
- service: script.bathroom_music_on
|
Loading…
Reference in New Issue
Block a user