Pairs of devices which are related


#1

I’m looking to define pairs of devices which have relationships. for example a humidity sensor and a smart outlet for the humidifier to control. in C++ I would define a multi-dimensional array for something like this.

I have a piston working for a single device “pair” and wold like to expand it to manage multiple sets as we have three rooms with sensors and humidifiers.

When I created a device list it seems to organize them by alphabetical order which results in the device pairs ending up in a different order in the array.

in searching the forum I didn’t see an easy way to do this - any thoughts?