diff --git a/config_creation/groups.yaml b/config_creation/groups.yaml index d8f23c9..fc1c2e2 100644 --- a/config_creation/groups.yaml +++ b/config_creation/groups.yaml @@ -30,7 +30,11 @@ hallway: outside: name: Außen - + entities: + - light.garten_spot_beet + - light.garten_spot_birke + - light.garten_spot_magnolie + - light.garten_stehleuchte office_martin: name: Arbeitszimmer diff --git a/config_creation/manual_config.yaml b/config_creation/manual_config.yaml index 066022a..f6aedbd 100644 --- a/config_creation/manual_config.yaml +++ b/config_creation/manual_config.yaml @@ -58,6 +58,7 @@ homekit: recorder: history: ios: +shopping_list: #http: @@ -146,6 +147,21 @@ vacuum: sensor: + - platform: template + sensors: + motion_combined: + friendly_name: Bewegung + value_template: > + {%- set pirs = {'Arbeitszimmer': states.binary_sensor.arbeitszimmer_martin_bewegungsmelder_bewegung, + 'Gang Mitte': states.binary_sensor.gang_bewegungsmelder_mitte, + 'Eingang': states.binary_sensor.gang_bewegungsmelder_ost, + 'Gang Hinten': states.binary_sensor.gang_bewegungsmelder_schlafzimmer, + 'Gang Wohnzimmer': states.binary_sensor.gang_bewegungsmelder_wohnzimmer} %} + {% for pir_name, pir in pirs.items() %} + {% if as_timestamp(pir.last_changed) == as_timestamp(pirs.values() | map(attribute='last_changed') | max) %} + {{ pir_name }} + {% endif %} + {% endfor %} - platform: history_stats name: Pool Pumpe Heute entity_id: switch.pool_pumpe