Config: commented out pool stuff / adapted scenes to new version

This commit is contained in:
Martin Bauer 2019-11-30 16:13:22 +01:00
parent 054392421f
commit 8d78e9961d
2 changed files with 46 additions and 39 deletions

View File

@ -145,36 +145,36 @@ vacuum:
token: !secret vacuum_token token: !secret vacuum_token
sensor: #sensor:
- platform: template # - platform: template
sensors: # sensors:
motion_combined: # motion_combined:
friendly_name: Bewegung # friendly_name: Bewegung
value_template: > # value_template: >
{%- set pirs = {'Arbeitszimmer': states.binary_sensor.arbeitszimmer_martin_bewegungsmelder_bewegung, # {%- set pirs = {'Arbeitszimmer': states.binary_sensor.arbeitszimmer_martin_bewegungsmelder_bewegung,
'Gang Mitte': states.binary_sensor.gang_bewegungsmelder_mitte, # 'Gang Mitte': states.binary_sensor.gang_bewegungsmelder_mitte,
'Eingang': states.binary_sensor.gang_bewegungsmelder_ost, # 'Eingang': states.binary_sensor.gang_bewegungsmelder_ost,
'Gang Hinten': states.binary_sensor.gang_bewegungsmelder_schlafzimmer, # 'Gang Hinten': states.binary_sensor.gang_bewegungsmelder_schlafzimmer,
'Gang Wohnzimmer': states.binary_sensor.gang_bewegungsmelder_wohnzimmer} %} # 'Gang Wohnzimmer': states.binary_sensor.gang_bewegungsmelder_wohnzimmer} %}
{% for pir_name, pir in pirs.items() %} # {% for pir_name, pir in pirs.items() %}
{% if as_timestamp(pir.last_changed) == as_timestamp(pirs.values() | map(attribute='last_changed') | max) %} # {% if as_timestamp(pir.last_changed) == as_timestamp(pirs.values() | map(attribute='last_changed') | max) %}
{{ pir_name }} # {{ pir_name }}
{% endif %} # {% endif %}
{% endfor %} # {% endfor %}
- platform: history_stats # - platform: history_stats
name: Pool Pumpe Heute # name: Pool Pumpe Heute
entity_id: switch.pool_pumpe # entity_id: switch.pool_pumpe
type: time # type: time
state: 'on' # state: 'on'
start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}' # start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
end: '{{ now() }}' # end: '{{ now() }}'
- platform: history_stats # - platform: history_stats
name: Pool Pumpe Gestern # name: Pool Pumpe Gestern
entity_id: switch.pool_pumpe # entity_id: switch.pool_pumpe
type: time # type: time
state: 'on' # state: 'on'
start: '{{ as_timestamp(now().replace(hour=0).replace(minute=0).replace(second=0)) - (60*60 * 24) }}' # start: '{{ as_timestamp(now().replace(hour=0).replace(minute=0).replace(second=0)) - (60*60 * 24) }}'
end: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}' # end: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
group: !include groups.yaml group: !include groups.yaml

View File

@ -246,15 +246,18 @@
state: on state: on
brightness: 255 brightness: 255
xy_color: [0.2075, 0.6584] xy_color: [0.2075, 0.6584]
# Ganglicht
cover.esszimmer_fenster_rollo: cover.esszimmer_fenster_rollo:
position: 100 state: open
current_position: 100
cover.kuche_fenster_rollo: cover.kuche_fenster_rollo:
position: 100 state: open
current_position: 100
cover.wohnzimmer_fenster_rollo: cover.wohnzimmer_fenster_rollo:
position: 100 state: open
current_position: 100
cover.wohnzimmer_terrassentur_rollo: cover.wohnzimmer_terrassentur_rollo:
position: 100 state: open
current_position: 100
- name: Wohnbereich Kuscheln - name: Wohnbereich Kuscheln
@ -310,13 +313,17 @@
state: off state: off
# Rollos # Rollos
cover.esszimmer_fenster_rollo: cover.esszimmer_fenster_rollo:
position: 0 state: closed
current_position: 0
cover.kuche_fenster_rollo: cover.kuche_fenster_rollo:
position: 0 state: closed
current_position: 0
cover.wohnzimmer_fenster_rollo: cover.wohnzimmer_fenster_rollo:
position: 0 state: closed
current_position: 0
cover.wohnzimmer_terrassentur_rollo: cover.wohnzimmer_terrassentur_rollo:
position: 0 state: closed
current_position: 0
# -------------------- Schlafzimmer ----------------------------------------- # -------------------- Schlafzimmer -----------------------------------------