Any one know if you can implement PowerOnState = 4 equivalent in ESPhome, where the device powers on boot and cannot be turned off.
Reason is for a power monitoring plug on the main router, which too many times i have accidentally turned off.
Any one know if you can implement PowerOnState = 4 equivalent in ESPhome, where the device powers on boot and cannot be turned off.
Reason is for a power monitoring plug on the main router, which too many times i have accidentally turned off.
I think what you want would be covered by the ‘restore_mode’ feature on gpio switch component
i cant see a mode that matchs the behaviour of tasmotas
" 4
= turn power(s) ON and disable further power control"
ALWAYS_ON
It’s a little different. Since you still can control the relay. But at that point. You should just not configure the buttons.
And maybe make it internal so can can’t modify it in ha or using the web interface.
You can disable the entity “switch” for that device.
Could that be a solution for you?