Moinsen,
wie kann ich den bitte in einer Automation die Text. Entität beim starten von Home Assistant überschreiben ?
Beim Neustart von HA stehen jedes mal die Uhrzeiten/Heizzeiten in dem Text der Entität. Dies möchte ich mit NONE überschreiben/ersetzen.
Ich habe es versucht aber leider nicht hinbekommen.
VG
Torsten
alias: "Thermostat "
description: ""
triggers:
- trigger: state
entity_id:
- text.thermostat_torsten_programming_mode
from: unknown
to: null
id: "1"
- trigger: state
entity_id:
- text.thermostat_sabine_programming_mode
from: unknown
to: null
id: "2"
- trigger: state
entity_id:
- text.thermostat_gaste_wc_programming_mode
from: unknown
to: null
id: "3"
- trigger: state
entity_id:
- text.thermostat_schlafzimmer_programming_mode
from: unknown
to: null
id: "4"
conditions: []
actions:
- if:
- condition: trigger
id:
- "1"
then:
- action: python_script.set_state
data:
entity_id: text.thermostat_torsten_programming_mode
state: None
- if:
- condition: trigger
id:
- "2"
then:
- action: python_script.set_state
data:
entity_id: text.thermostat_sabine_programming_mode
state: None
- if:
- condition: trigger
id:
- "3"
then:
- action: python_script.set_state
data:
entity_id: text.thermostat_gaste_wc_programming_mode
state: None
- if:
- condition: trigger
id:
- "4"
then:
- action: python_script.set_state
data:
entity_id: text.thermostat_schlafzimmer_programming_mode
state: None
mode: single
So soll es aussehen