mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-03-29 07:01:09 +00:00
Updated to fix the all_covers issue. #718
This commit is contained in:
parent
f7dfab1b50
commit
0dbd30fe4e
@ -19,7 +19,7 @@
|
|||||||
action:
|
action:
|
||||||
|
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ is_state('group.garage_doors', 'closed') }}
|
{{ is_state('group.garadget', 'closed') }}
|
||||||
timeout: 00:05:30
|
timeout: 00:05:30
|
||||||
|
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
- fri
|
- fri
|
||||||
action:
|
action:
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ is_state('group.garage_doors', 'open') }}
|
{{ is_state('group.garadget', 'open') }}
|
||||||
- delay: 00:03:00
|
- delay: 00:03:00
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: all
|
entity_id: all
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
entity_id:
|
entity_id:
|
||||||
- group.living_room_accents
|
- group.living_room_accents
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ is_state('group.garage_doors', 'closed') }}
|
{{ is_state('group.garadget', 'closed') }}
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ is_state('group.entry_points', 'off') }}
|
{{ is_state('group.entry_points', 'off') }}
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.all_covers
|
entity_id: group.garage_doors
|
||||||
state: 'closed'
|
state: 'closed'
|
||||||
|
|
||||||
action:
|
action:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
- alias: 'Late Night Helper outside'
|
- alias: 'Late Night Helper outside'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: group.all_covers
|
entity_id: group.garage_doors
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
to: 'below_horizon'
|
to: 'below_horizon'
|
||||||
@ -25,7 +25,7 @@
|
|||||||
- group.living_room_accents
|
- group.living_room_accents
|
||||||
data_template:
|
data_template:
|
||||||
color_name: >
|
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
|
red
|
||||||
{% else %}
|
{% else %}
|
||||||
gold
|
gold
|
||||||
@ -44,14 +44,14 @@
|
|||||||
- switch.front_door_outlet
|
- switch.front_door_outlet
|
||||||
- switch.foyer_outlet
|
- switch.foyer_outlet
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ states.group.garage_doors.state == 'closed' }}
|
{{ states.group.garadget.state == 'closed' }}
|
||||||
- service: script.monthly_color_scene
|
- service: script.monthly_color_scene
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.living_room_accents
|
- group.living_room_accents
|
||||||
data_template:
|
data_template:
|
||||||
color_name: >
|
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
|
red
|
||||||
{% else %}
|
{% else %}
|
||||||
gold
|
gold
|
||||||
|
@ -165,7 +165,7 @@ logbook:
|
|||||||
- automation.detect_lights_and_adjust_the_brightness_when_turned_on_based_on_time
|
- automation.detect_lights_and_adjust_the_brightness_when_turned_on_based_on_time
|
||||||
- automation.cuckoo_clock
|
- automation.cuckoo_clock
|
||||||
- binary_sensor.office_motion
|
- binary_sensor.office_motion
|
||||||
- group.garage_doors
|
- group.garadget
|
||||||
- media_player.LivingRoomCC
|
- media_player.LivingRoomCC
|
||||||
- py.warnings
|
- py.warnings
|
||||||
- sensor.last_boot
|
- sensor.last_boot
|
||||||
|
@ -5,7 +5,7 @@ group.all_automations:
|
|||||||
homebridge_hidden: true
|
homebridge_hidden: true
|
||||||
|
|
||||||
|
|
||||||
group.all_covers:
|
group.garage_doors:
|
||||||
friendly_name: 'All Covers'
|
friendly_name: 'All Covers'
|
||||||
|
|
||||||
hidden: True
|
hidden: True
|
||||||
@ -102,7 +102,7 @@ group.foyer_lights:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
group.garage_doors:
|
group.garadget:
|
||||||
friendly_name: 'Garage Doors'
|
friendly_name: 'Garage Doors'
|
||||||
|
|
||||||
hidden: False
|
hidden: False
|
||||||
|
@ -273,7 +273,7 @@ automation:
|
|||||||
entity_id:
|
entity_id:
|
||||||
- group.entry_points
|
- group.entry_points
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: group.all_covers
|
entity_id: group.garage_doors
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
condition: and
|
condition: and
|
||||||
@ -291,7 +291,7 @@ automation:
|
|||||||
- group.living_room_accents
|
- group.living_room_accents
|
||||||
data_template:
|
data_template:
|
||||||
color_name: >
|
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
|
red
|
||||||
{% else %}
|
{% else %}
|
||||||
gold
|
gold
|
||||||
|
@ -74,8 +74,8 @@ sensor:
|
|||||||
value_template: '{{ value_json.bright }}'
|
value_template: '{{ value_json.bright }}'
|
||||||
|
|
||||||
group:
|
group:
|
||||||
garage_doors:
|
garadget:
|
||||||
name: Garage doors
|
name: Garadget Sensors
|
||||||
entities:
|
entities:
|
||||||
- cover.large_garage
|
- cover.large_garage
|
||||||
- sensor.large_garage_status
|
- sensor.large_garage_status
|
||||||
@ -89,6 +89,11 @@ group:
|
|||||||
- sensor.small_garage_wifi_signal_strength
|
- sensor.small_garage_wifi_signal_strength
|
||||||
- sensor.small_garage_reflection_rate
|
- sensor.small_garage_reflection_rate
|
||||||
- sensor.small_garage_brightness
|
- sensor.small_garage_brightness
|
||||||
|
garage_doors:
|
||||||
|
name: Garage Doors
|
||||||
|
entities:
|
||||||
|
- cover.large_garage
|
||||||
|
- cover.small_garage
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- alias: 'Update Garage Brightness'
|
- alias: 'Update Garage Brightness'
|
||||||
|
@ -92,7 +92,7 @@
|
|||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro garage_check() -%}
|
{%- macro garage_check() -%}
|
||||||
{% if states.group.garage_doors.state !='closed' -%}
|
{% if states.group.garadget.state !='closed' -%}
|
||||||
The
|
The
|
||||||
{%- for state in states.cover -%}
|
{%- for state in states.cover -%}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 51 KiB |
Binary file not shown.
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 87 KiB |
Loading…
x
Reference in New Issue
Block a user