
Optimiere deine Home Assistant Automatisierungen mit präziser Zustandswiederherstellung. In diesem Video erfährst du, wie du den Anfangszustand deiner Geräte, sei es Beleuchtung, Rollos oder andere, gezielt in Automatisierungen integrierst. Erlerne die Kunst der Feinabstimmung für ein perfektes und zuverlässiges Smart-Home-Erlebnis. Entdecke, wie du mit Home Assistant deine individuellen Anforderungen erfüllen kannst und ein maßgeschneidertes, effizientes Automatisierungssystem schaffst.
Diese ZigBee Produkte verwende ich * :
Die Automatisierungsbeispiele als YAML Code könnt ihr hier nochmal nachvollziehen.
Automatisierungsbeispiel 1 ( Rollosteuerung bei Wind):
alias: Rollosteuerung_bei_Wind
description: ""
trigger:
- platform: state
entity_id:
- input_boolean.wind
to: "on"
id: es ist windig
- platform: state
entity_id:
- input_boolean.wind
to: "off"
id: es ist nicht mehr windig
condition: []
action:
- if:
- condition: trigger
id:
- es ist windig
then:
- service: scene.create
data:
scene_id: zustandeliasrollos
snapshot_entities:
- cover.elia_rollo_links
- cover.elia_rollo_rechts
- service: cover.open_cover
target:
entity_id:
- cover.elia_rollo_links
- cover.elia_rollo_rechts
data: {}
- if:
- condition: trigger
id:
- es ist nicht mehr windig
then:
- service: scene.turn_on
target:
entity_id: scene.zustandeliasrollos
metadata: {}
mode: single
Automatisierungsbeispiel 2 ( Scene Save TV Lampe)
alias: Scene Save TV Lampe
description: ""
trigger:
- platform: state
entity_id:
- input_boolean.helfer_bewegungsmelder
to: "on"
condition: []
action:
- service: scene.create
data:
scene_id: zustandtvbeleuchtung
snapshot_entities:
- light.tv_bloom_eg_links
- light.tv_bloom_eg_rechts
- service: light.turn_on
target:
entity_id:
- light.tv_bloom_eg_links
- light.tv_bloom_eg_rechts
data:
brightness_pct: 100
rgb_color:
- 255
- 0
- 0
- delay:
hours: 0
minutes: 0
seconds: 15
milliseconds: 0
- service: scene.turn_on
target:
entity_id: scene.zustandtvbeleuchtung
metadata: {}
- service: scene.delete
data: {}
target:
entity_id: scene.zustandtvbeleuchtung
mode: single

