diff --git a/packages/emmalynn.yaml b/packages/emmalynn.yaml index 3bab76c..cf6de28 100644 --- a/packages/emmalynn.yaml +++ b/packages/emmalynn.yaml @@ -832,6 +832,16 @@ script: # Lighting - variables: brightness: "{{ state_attr('switch.adaptive_lighting_emma_bedroom','brightness_pct') }}" + - if: + - condition: state + entity_id: binary_sensor.basement_occupied + state: 'on' + then: + - service: script.speech_engine + data: + who: basement + 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') }}"