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
name: waste_all
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"
light.kitchenlights:
state: "off"
light.licht_buero_decke:
state: "on"
switch.metered_wall_plug_switch_node4:
state: "on"
light.licht_buero_regal:
state: "off"
light.licht_buero_decke:
state: "on"
state: "off"

View File

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

View File

@ -10,10 +10,18 @@ sequence:
- service: switch.turn_off
target:
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:
# supports seconds, milliseconds, minutes, hours
minutes: 3
minutes: 3 # supports seconds, milliseconds, minutes, hours
- service: scene.turn_on
target:
entity_id: scene.schalfenszeit
mode: single
mode: single

View File

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