I have several TP-Link Kasa plugs with energy monitoring that I’m using to monitor the energy consumption of the various devices in my office.
The problem I have is that they’re switches with energy monitoring, so it’s fairly trivial to (say) accidentally turn off the server running Home Assistant.
I can disable the relevant devices, but that turns off the energy monitoring as well.
Is there a way to partially disable a device? In this case, to disable the switch, but leave the energy monitoring available?
Switch entities don’t work in automations once they are disabled, or do they? If they do, automations could potentially turn them off too.
I hide them from the UI, put them in a separate area and I also have the turn back on automation. I also always check the device for child lock features and “auto on after power loss” functions. But these vary by device.
You’re right, they don’t. I didn’t actually disable mine, just hid them from the dashboards. I was going to make my post clearer (should be one or the other method, not both) but got distracted.