diff --git a/config/packages/presence.yaml b/config/packages/presence.yaml index 3857c00..8c2814a 100755 --- a/config/packages/presence.yaml +++ b/config/packages/presence.yaml @@ -290,7 +290,7 @@ automation: state: 'off' action: - service: script.appliances_off - - service: script.turn_on + - service: scene.turn_on entity_id: scene.lights_out - service: script.security_check_garage - service: script.security_check_zones diff --git a/config/scripts/lights.yaml b/config/scripts/lights.yaml index 531e8f3..96b946d 100755 --- a/config/scripts/lights.yaml +++ b/config/scripts/lights.yaml @@ -43,10 +43,10 @@ livingroom_lamps_on: - service: scene.turn_on entity_id: scene.normal_livingroom_lighting -# Turn off Living Room Lights if sun is up or cloud coverage is below 70% +# Turn off Living Room Lights if sun is up and cloud coverage is below 70% livingroom_lamps_off: sequence: - - condition: or + - condition: and conditions: - condition: state entity_id: sun.sun