01-04-2025, 08:29 PM
Hello. I purchased a KC868-A16 and got it integrated with home assistant successfully via ESP32. Everything was good until i removed and reconnected power to the board and realized that the way I wired things, I need the board to boot up with outputs 1-16 on. By default they are all turning off upon power up. Can I add something to the yaml and send from ESPhome Builder to change the power on states of the outputs to ON?
I see this snippet in the logs so I assume there should be a way to set restore mode?
GPIO Switch 'light1'
[14:27:40][C][switch.gpio:091]: Restore Mode: always OFF
[14:27:40][C][switch.gpio:031]: Pin: 0 via PCF8574
[14:27:40][C][switch.gpio:068]: GPIO Switch 'light2'
[14:27:40][C][switch.gpio:091]: Restore Mode: always OFF
[14:27:40][C][switch.gpio:031]: Pin: 1 via PCF8574 etc.....
I see this snippet in the logs so I assume there should be a way to set restore mode?
GPIO Switch 'light1'
[14:27:40][C][switch.gpio:091]: Restore Mode: always OFF
[14:27:40][C][switch.gpio:031]: Pin: 0 via PCF8574
[14:27:40][C][switch.gpio:068]: GPIO Switch 'light2'
[14:27:40][C][switch.gpio:091]: Restore Mode: always OFF
[14:27:40][C][switch.gpio:031]: Pin: 1 via PCF8574 etc.....