You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile a config for an ESP32 board with 8 relays https://devices.esphome.io/devices/ESP32E-Relay-X8 and I want relay 5 to turn off and stay in that state until relay 6 is turned on. When relay 6 is turned off, relay 5 is free to switch on or off.
But when I validate the config, it fails. If I change "on_switch.is_on" to "on_turn_on" and remove the "if" and "condition" lines, the validation goes well and the automation works, but only once when the state of relay 6 changes. However, I don't get what I want because the trigger only works on state changes.
I have also tried the option interblock: [relay5]
but obviously it only works in one direction.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to compile a config for an ESP32 board with 8 relays https://devices.esphome.io/devices/ESP32E-Relay-X8 and I want relay 5 to turn off and stay in that state until relay 6 is turned on. When relay 6 is turned off, relay 5 is free to switch on or off.
I have written this:
But when I validate the config, it fails. If I change "on_switch.is_on" to "on_turn_on" and remove the "if" and "condition" lines, the validation goes well and the automation works, but only once when the state of relay 6 changes. However, I don't get what I want because the trigger only works on state changes.
I have also tried the option
interblock: [relay5]
but obviously it only works in one direction.
Where am I going wrong?
ESPHome version 2023.12.9
type of installation Docker
platform ESP32
Board ESP32 Realy Board x8
Beta Was this translation helpful? Give feedback.
All reactions