Hi!
I just got a bunch of the ESPHome-flashed plugs to connect to HomeAssistant and they’re working fantastically and were really easy to integrate.
But I’d quite like to be able to deploy some of these to devices like servers and computers in order to collect power monitoring data. But for applications like this, I’d love to be able to disable the switching capability of the plugs entirely, to avoid accidentally toggling them off, and basically turn them into an always-on power monitor. This seems to be a bit of a challenge in Home Assistant natively though.
It seems like rather than diving into the backend of Home Assistant to try and block this functionality, it might be easier to use the ESPHome config to block it at plug-level, but I’m struggling to work out how I’d do it.
I found the main config YAML and some of the documentation that references substitutions and !extend, but I’m still not quite clear how I’d put those into action to disable the switching capability.
Has anyone been able to get this to work?