diff --git a/.HA_VERSION b/.HA_VERSION index 8a0d6d40..1d6c0f6a 100755 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -0.32.0 \ No newline at end of file +0.32.2 \ No newline at end of file diff --git a/automation/sunrise_turnon.yaml b/automation/sunrise_turnon.yaml index c6f40f9e..a2f14dd4 100755 --- a/automation/sunrise_turnon.yaml +++ b/automation/sunrise_turnon.yaml @@ -12,6 +12,11 @@ action: - service: switch.turn_on entity_id: switch.foyer_outlet + - service: light.turn_on + data: + entity_id: light.outdoor_foyer + brightness: 200 + rgb_color: [61,178,112] - alias: 'Sunset Stuff off' trigger: @@ -24,4 +29,6 @@ action: - service: switch.turn_off entity_id: switch.foyer_outlet + - service: light.turn_off + entity_id: light.outdoor_foyer \ No newline at end of file diff --git a/automation/time_8am_8pm.yaml b/automation/time_8am_8pm.yaml index 97f43713..89f1339c 100755 --- a/automation/time_8am_8pm.yaml +++ b/automation/time_8am_8pm.yaml @@ -10,6 +10,10 @@ after: '08:00:00' - condition: time before: '20:00:00' + - condition: template + value_template: "{{ trigger.event.data.entity_id.split('.')[1] != 'tv_light' }}" + - condition: template + value_template: "{{ trigger.event.data.entity_id.split('.')[1] != 'tv_stand_light' }}" - condition: template value_template: "{{ trigger.event.data.entity_id.split('.')[0] == 'light' }}" - condition: template diff --git a/automation/time_8pm_5am.yaml b/automation/time_8pm_5am.yaml index 8034bec0..ac31b9ae 100755 --- a/automation/time_8pm_5am.yaml +++ b/automation/time_8pm_5am.yaml @@ -17,6 +17,10 @@ - condition: state entity_id: group.family state: home + - condition: template + value_template: "{{ trigger.event.data.entity_id.split('.')[1] != 'tv_light' }}" + - condition: template + value_template: "{{ trigger.event.data.entity_id.split('.')[1] != 'tv_stand_light' }}" - condition: template value_template: "{{ trigger.event.data.entity_id.split('.')[0] == 'light' }}" - condition: template diff --git a/group/lights.yaml b/group/lights.yaml index c74fd01c..bc4e50bd 100755 --- a/group/lights.yaml +++ b/group/lights.yaml @@ -24,8 +24,8 @@ Living Room lights: Living Room Accents: entities: - light.couch_1 - - light.couch_2 - - light.couch_tv + - light.tv_light + - light.tv_stand Dinette lights: entities: