diff --git a/packages/emmalynn.yaml b/packages/emmalynn.yaml index eb1ecdc..8170968 100644 --- a/packages/emmalynn.yaml +++ b/packages/emmalynn.yaml @@ -987,8 +987,9 @@ script: type: normal message: Emma has awoken, so it is time to make your way upstairs now - if: - - condition: template - value_template: "{{ is_state('binary_sensor.morning','on') or is_state('binary_sensor.midday','on') }}" + - condition: time + before: "18:00:00" + after: "07:00:00" then: - service: input_datetime.set_datetime target: