Mainly loving the new app UX, but I’ve noticed that for some device tiles, the dimmer level shows whereas for others it doesn’t.
For example, below the “Entrance” and “Entrance Lamp” are both dimmable, but only one shows the dim level on the card. The devices are from different manufacturers - the ones showing a dim level are all Zigbee bulbs, the ones not showing it are a mix of Zwave light switches and cloud-connected wifi bulbs.
Indirectly, it’s a driver issue. What is displayed on the device card is a function of the presentation and that is determined by the driver and the profile assigned to the device. So, if you use the ST CLI and issue the command “smartthings devices:presentation -j device-ID”, you get the JSON formatted presentation for the profile assigned to your device. The section that determines what you see in the list of devices in the “dashboard” section. Here is an example from one of my motion dimmers:
You can see that only the device on/off state is displayed and there is an action defined that allows for turning it on/off from the dashboard.
The CLI is the easiest way to see the presentation, but you can also pull it via the API or using the ST API Browser+.
Here is the dashboard for the motion/temp sensor which only shows the motion sensor state on the dashboard even though the detailed view (device card) has temperature and presence sensor state in addition to motion sensor state. There are no actions defined on the dashboard for the sensor:
The presentation is defined by the owner of the driver so for stock drivers, it’s ST. For vendor supplied drivers, it’s the vendor. And for community drivers, it’s the author of that driver. Of course, you can create your own custom driver and update the presentation, but then you’ll be responsible for keeping your driver up to date with the ST repo.
Remembered that I have a single Zigbee device that displays the dimmer level on the dashboard. As you can see, the capability called switchLevel is displayed and is what provides the dimmer level.