Allow interlocks with inverted logic from current option

In ESPhome there is an option to interlock a switch entity such that it cannot be ON while another entity or group of entities are also ON. I’d like the option to also have the interlock function such that my switch can only be turned on if another entity or group of entities is ON.

If someone has another way to achieve this functionality without it getting too crazy I’d love to see it, but ultimately I want this function to be integral to the ESP device (not reliant on HA) and without having to run scripts / automations since the switch entity needs to be able to be controlled in a simple manner (ON/ OFF).

ESPHome feature requests go here:

1 Like

Thanks Tom.

Unfortunately my work semi blocks github (I can access the page but it’s quite jumbled up and has no images etc.) so I’ll have to add the FR next week.