For multi attribute capabilities, is it possible to update several attributes with single device:emit_event call?
For example, consider a standard signalStrength capability.
It has 2 attributes: rssi and lqi
The classical approach to update both would be 2 calls:
You can do it if your capability supports it. The colorControl capability is a good example. It has a hue and saturation. colorControl encodes the object as a string but you don’t have to. You can also use the object type when you define your attribute:
This is true, but it is also true that, currently, the only capability that supports it is colorControl. So @ygerlovin the short answer is you have to do it separately unless you are using colorControl.