diff --git a/configuration/automations/bathroom-toothbrush.yaml b/configuration/automations/bathroom-toothbrush.yaml new file mode 100644 index 0000000..67b1712 --- /dev/null +++ b/configuration/automations/bathroom-toothbrush.yaml @@ -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 \ No newline at end of file