doc/automations/Défi_Hilo_Préchauffe_AM.yaml #839
jeandrolet
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Parce que les messages websocket arrivent souvent 2-3-4 secondes en retard. Si ton trigger est l'heure, tu vas encore être à pre_heat à 4:00:00 tappant. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dans le code que je retouve dans automations , pourquoi il y a dans condition je retrouve
"entity_id: sensor.defi_hilo
state: reduction"
alias: Défi Hilo Préchauffe AM
description: "Gère la préchauffe Hilo du matin/Manages the AM pre-heat phase of a Hilo Challenge"
mode: single
triggers:
to: pre_heat
trigger: state
trigger: time
conditions:
before: "04:05:00"
after: "03:55:00"
conditions:
entity_id: sensor.defi_hilo
state: pre_heat
entity_id: sensor.defi_hilo
state: reduction
actions:
temperature: 15
target:
entity_id: climate.thermostat_salle_de_bain
action: climate.set_temperature
data: {}
target:
entity_id: switch.prise_echangeur_d_air
action: switch.turn_off
Beta Was this translation helpful? Give feedback.
All reactions