diff --git a/configuration/automations/bathroom-toothbrush.yaml b/configuration/automations/bathroom-toothbrush.yaml index a9ebf10..a097c8a 100644 --- a/configuration/automations/bathroom-toothbrush.yaml +++ b/configuration/automations/bathroom-toothbrush.yaml @@ -7,7 +7,13 @@ entity_id: sensor.smart_series_7000_a19f_toothbrush_state action: - service: script.bathroom_mirror_lights_on - - service: script.bathroom_music_on + - choose: + - conditions: + - condition: time + after: "00:00:00" + before: "08:00:00" + sequence: + - service: script.bathroom_music_on - id: bathroom_toothbrush_picked_up alias: '[Bathroom] Toothbrush picked-up'