I am looking for a way to combine multiple devices into one virtual device.
I have a motorized swing gate that can be opened an closed with a smart switch. I also have an aqara door sensor that tells me if the gate is closed or open. These two devices would be greate to combine into one.
Anyone having an idea on how to accomplish this?
I have tried the apps virtual devices and device capabilities with no success.
You could use variables. If both are closed then make the variable postive. You can probably use that variable again for the state of a virtual device.
Thanks for the input Marco! Good idea, however I do not think this will be applicable on this type of switch. I left out a detail that the switch is a push button. It can open/pause/close the gate and it does not know what it does. The button will only be enabled for a second after pushing it.
Group as suggested (you must use United group, or something like that) and naturally Device Capabilities would do the job as well but you must accompany it with flows… the app itself is not sufficient for that. So is your way to go, most probably.
Many thanks I will give Device Capabilities another try.
Ideal would be to have a Switch like the one I already have, but is shown as Off when the Door sensor is closed and shown as On when Door sensor is Opened.