mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Had to remove garage door checks until hardware is fixe. #1138
This commit is contained in:
@@ -100,18 +100,18 @@
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro garage_check() -%}
|
||||
{% if states.group.garage_doors.state !='closed' -%}
|
||||
The
|
||||
{%- for state in states.cover -%}
|
||||
{%- endfor %}
|
||||
{% for group in states.cover|groupby('state') -%}
|
||||
{%- for entity in group.list if entity.state == 'open' and entity.attributes.device_class == 'garage' -%}
|
||||
{{ ' and' if loop.last and not loop.first }}
|
||||
{{ entity.attributes.friendly_name }}
|
||||
{%- endfor -%}
|
||||
{%- endfor %}
|
||||
need to be closed.
|
||||
{%- endif -%}
|
||||
# {% if states.group.garage_doors.state !='closed' -%}
|
||||
# The
|
||||
# {%- for state in states.cover -%}
|
||||
# {%- endfor %}
|
||||
# {% for group in states.cover|groupby('state') -%}
|
||||
# {%- for entity in group.list if entity.state == 'open' and entity.attributes.device_class == 'garage' -%}
|
||||
# {{ ' and' if loop.last and not loop.first }}
|
||||
# {{ entity.attributes.friendly_name }}
|
||||
# {%- endfor -%}
|
||||
# {%- endfor %}
|
||||
# need to be closed.
|
||||
# {%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro medicine() -%}
|
||||
|
Reference in New Issue
Block a user