mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-13 23:36:42 +00:00
Updated to fix the all_covers issue. #718
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
action:
|
||||
|
||||
- wait_template: >-
|
||||
{{ is_state('group.garage_doors', 'closed') }}
|
||||
{{ is_state('group.garadget', 'closed') }}
|
||||
timeout: 00:05:30
|
||||
|
||||
- service: script.speech_engine
|
||||
|
@@ -26,7 +26,7 @@
|
||||
- fri
|
||||
action:
|
||||
- wait_template: >-
|
||||
{{ is_state('group.garage_doors', 'open') }}
|
||||
{{ is_state('group.garadget', 'open') }}
|
||||
- delay: 00:03:00
|
||||
- service: light.turn_off
|
||||
entity_id: all
|
||||
|
@@ -79,7 +79,7 @@
|
||||
entity_id:
|
||||
- group.living_room_accents
|
||||
- wait_template: >-
|
||||
{{ is_state('group.garage_doors', 'closed') }}
|
||||
{{ is_state('group.garadget', 'closed') }}
|
||||
- wait_template: >-
|
||||
{{ is_state('group.entry_points', 'off') }}
|
||||
- service: script.speech_engine
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.all_covers
|
||||
entity_id: group.garage_doors
|
||||
state: 'closed'
|
||||
|
||||
action:
|
||||
|
@@ -6,7 +6,7 @@
|
||||
- alias: 'Late Night Helper outside'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: group.all_covers
|
||||
entity_id: group.garage_doors
|
||||
- platform: state
|
||||
entity_id: sun.sun
|
||||
to: 'below_horizon'
|
||||
@@ -25,7 +25,7 @@
|
||||
- group.living_room_accents
|
||||
data_template:
|
||||
color_name: >
|
||||
{% if states.group.entry_points.state == 'on' or states.group.all_covers.state != 'closed' -%}
|
||||
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
||||
red
|
||||
{% else %}
|
||||
gold
|
||||
@@ -44,14 +44,14 @@
|
||||
- switch.front_door_outlet
|
||||
- switch.foyer_outlet
|
||||
- wait_template: >-
|
||||
{{ states.group.garage_doors.state == 'closed' }}
|
||||
{{ states.group.garadget.state == 'closed' }}
|
||||
- service: script.monthly_color_scene
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- group.living_room_accents
|
||||
data_template:
|
||||
color_name: >
|
||||
{% if states.group.entry_points.state == 'on' or states.group.all_covers.state != 'closed' -%}
|
||||
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
||||
red
|
||||
{% else %}
|
||||
gold
|
||||
|
Reference in New Issue
Block a user