@lucasbtsuchiya As of now the best solution we have is the one proposed about a month ago.
To elaborate on why this is not an easy addition:
When we first built the feature allowing users to opt in to returning the full device object with dashboard context, we limited what was returned to the device’s:
- tags (all key/value pairs)
If we were to begin including additional information - such as the deviceClass, gatewayId, and gatewayName - then we would be returning more info in the context object than users originally opted into. While this is desirable to some, and probably inconsequential to most users, there are some out there who would not welcome these new values being returned and would even consider it a security concern. And even if this information is not being displayed onscreen, it is still being returned in the network response and is thus exposed.
I am filing a feature request to allow for defining more granularly which properties to return for a given device in the context object, but at this time I do not have a timetable for when we will be delivering that.