fix: Waste-Message Error & Scene

This commit is contained in:
Christian Kauer 2021-11-24 20:17:13 +01:00
parent 74b26d136a
commit e77374c5ac
5 changed files with 21 additions and 9 deletions

View File

@ -59,5 +59,5 @@
- platform: waste_collection_schedule - platform: waste_collection_schedule
name: waste_all name: waste_all
count: 4 count: 4
value_template: '{{value.types|join(", ")}}|{{value.daysTo}}|{{value.date.strftime("%d.%m")}}|{{value.date.strftime("%a")}}' value_template: '{{value.types|join(", ")}}|{{value.daysTo}}|{{value.date.strftime("%d.%m.%Y")}}|{{value.date.strftime("%a")}}'

View File

@ -14,9 +14,9 @@ entities:
state: "off" state: "off"
light.kitchenlights: light.kitchenlights:
state: "off" state: "off"
light.licht_buero_decke:
state: "on"
switch.metered_wall_plug_switch_node4: switch.metered_wall_plug_switch_node4:
state: "on" state: "on"
light.licht_buero_regal: light.licht_buero_regal:
state: "off" state: "off"
light.licht_buero_decke:
state: "on"

View File

@ -37,9 +37,9 @@ entities:
state: "off" state: "off"
light.kitchenlights: light.kitchenlights:
state: "off" state: "off"
light.licht_buero_decke:
state: "off"
switch.metered_wall_plug_switch_node4: switch.metered_wall_plug_switch_node4:
state: "on" state: "on"
light.licht_buero_regal: light.licht_buero_regal:
state: "off"
light.licht_buero_decke:
state: "off" state: "off"

View File

@ -10,10 +10,18 @@ sequence:
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.metered_wall_plug_switch_node4 entity_id: switch.metered_wall_plug_switch_node4
- service: light.turn_off
target:
entity_id: light.licht_buero_regal
- service: light.turn_off
target:
entity_id: light.licht_buero_decke
- service: light.turn_off
target:
entity_id: light.stricklicht
- delay: - delay:
# supports seconds, milliseconds, minutes, hours minutes: 3 # supports seconds, milliseconds, minutes, hours
minutes: 3
- service: scene.turn_on - service: scene.turn_on
target: target:
entity_id: scene.schalfenszeit entity_id: scene.schalfenszeit
mode: single mode: single

View File

@ -24,6 +24,10 @@ variables:
False False
{% endif %} {% endif %}
sequence: sequence:
- service: notify.dev_telegram
data:
message: >-
Müllkalender message required: "{{ action_required }}"
- condition: template - condition: template
value_template: "{{ action_required }}" value_template: "{{ action_required }}"
- service: notify.homegroup_telegram - service: notify.homegroup_telegram