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