604 / 5000
Risultati della traduzione
Hi everyone I have a problem that I have been trying to solve for a while and understand where I am wrong but without solution I have an ESP32 programmed with ESPHOME.
On it I have a dallas temperature sensor that opens a vasistas window more or less depending on the temperature. I’m trying to create a switch for the “Manual” command if turned on, the script with the function of opening or closing does not work.
Everything works except the simple “virtual” switch my template switch is this
switch:
#------------------- VASISTAS MANUALE -----------
- platform: template
name: Vasistas Manuale
id: cover_vasistas_manual
disabled_by_default: false
optimistic: false
assumed_state: false
restore_state: true
in HA, once turned on, it switches off automatically after about 1 sec and an off message does not appear in the log:
switch activation
[21:53:25][D][switch:021]: 'Vasistas Manuale' Turning ON.
unexpected switch deactivation without exit log