Grouping toggle helpers

I’m trying to create a toggle based on 3 devices, but I’m not sure how to do that. Specifically I’ve got a motion sensor, button+delay, and daytime states and I’d like to merge them all into a single “is any of them on” state.

I could hack that with something like each action mapping (through python scripting) to a different bit in a number helper. But maybe I’m missing some easier option?

Template binary sensor.

What are the entity ids?

Presumably they’re in different domains, so you can’t use a normal helper?

You may be able to use the “change device type of a switch” helper to get them all into the same domain.

Otherwise you can create groups of mixed domains using “old style” groups, which still work in spite of the warnings.

The template binary sensor worked just fine for this purpose.

1 Like