From 9f593b3f25f69f119397c9ed98dd753ac0868856 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Tue, 21 May 2019 12:41:49 -0400 Subject: [PATCH] [occupancy] only set the evening bedroom scene if the lights aren't already on --- packages/occupancy.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/occupancy.yaml b/packages/occupancy.yaml index 63621b4..509009e 100644 --- a/packages/occupancy.yaml +++ b/packages/occupancy.yaml @@ -127,6 +127,9 @@ automation: - condition: state entity_id: device_tracker.correlspixel state: home + - condition: state + entity_id: group.bedrooms_lights + state: 'off' input_boolean: occupied: