mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-06 17:51:36 +00:00
Updating some of the language formatting.
This commit is contained in:
@@ -1 +1 @@
|
||||
0.38.0
|
||||
0.38.2
|
||||
@@ -35,7 +35,8 @@
|
||||
{%- endfor %} lights on right now."
|
||||
{% set comma = joiner(', ') %} The
|
||||
{% for group in states.group|groupby('state') -%}
|
||||
{%- for entity in group.list if entity.state == 'on' and entity.name.split(' ')[1]|lower == 'lights' and entity.name.split(' ')[0]|lower != 'all' and entity.name.split(' ')[0]|lower != 'interior' -%}
|
||||
{{ comma() }}{{ entity.name }}
|
||||
{%- for entity in group.list if entity.state == 'off' and entity.name.split(' ')[1]|lower == 'lights' and entity.name.split(' ')[0]|lower != 'all' and entity.name.split(' ')[0]|lower != 'interior' -%}
|
||||
{{ ' and' if loop.last and not loop.first else comma() }}
|
||||
{{ entity.name }}
|
||||
{%- endfor -%}
|
||||
{%- endfor %}.
|
||||
{%- endfor %}
|
||||
@@ -8,12 +8,6 @@
|
||||
- binary_sensor.upstairs_away_mode
|
||||
- binary_sensor.downstairs_away_mode
|
||||
state: 'off'
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.sleepnumber_carlo_carlo_is_in_bed
|
||||
- binary_sensor.sleepnumber_carlo_stacey_is_in_bed
|
||||
state: 'on'
|
||||
for: '00:05:00'
|
||||
- platform: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
|
||||
Reference in New Issue
Block a user