Fix toothbrush automations
This commit is contained in:
parent
7f3407383a
commit
c3c9e5de86
@ -2,11 +2,9 @@
|
|||||||
alias: '[Bathroom] Toothbrush on'
|
alias: '[Bathroom] Toothbrush on'
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- type: powered
|
- platform: state
|
||||||
platform: device
|
to: running
|
||||||
device_id: 1f92942c1507740a4ecfae30fdb1889e
|
entity_id: sensor.smart_series_7000_a19f_toothbrush_state
|
||||||
entity_id: binary_sensor.ble_toothbrush_toothbrush
|
|
||||||
domain: binary_sensor
|
|
||||||
action:
|
action:
|
||||||
- service: script.bathroom_mirror_lights_on
|
- service: script.bathroom_mirror_lights_on
|
||||||
- service: script.bathroom_music_on
|
- service: script.bathroom_music_on
|
||||||
@ -16,7 +14,7 @@
|
|||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.ble_toothbrush_toothbrush
|
entity_id: sensor.smart_series_7000_a19f_toothbrush_state
|
||||||
from: unavailable
|
from: unavailable
|
||||||
to: 'off'
|
to: 'off'
|
||||||
action:
|
action:
|
||||||
|
Loading…
Reference in New Issue
Block a user