Device Data vs Attributes vs State?

Currently a single SmartThings Device Instance can only claim a single instance of any particular “Capability”.

In other words, if your single DTH is: swtich, switch1, switch2 … Standard SmartApps will only see the first “switch”. There is no Capability called “Switch2” (etc.). SmartThings does not support handling of multiple attribute instances within the same DTH.

###The Solution?
The standard solution is to spawn virtual/child Devices (with a synchronizing Device Manager SmartApp), one for each switch channel in the real Device.

Philips Hue is one example of this, but there are many more… multi-channel Quirky or Aeon power-bar I think?

And I’ve written this answer a few times before!