One of my dashboards displays temperature readings from a variety of SmartThings multipurpose sensors. I have not found a way to format the precision of the displayed temperature values. The values are being displayed as xxx.yy and I want to display just the xxx part of the value.
Can this be done?
Thanks in advance for your help
Hello and welcome to Hubitat. Unfortunately there is no easy way to do this if the driver for the device doesn't provide a method for doing it. The dashboard code just displays the attributes as reported by the driver. You could always create a virtual temp sensor and then use rule machine to set the temp of the virtual one based on the real one. The rule could be written to round the number. But that's a lot of overhead on the hub just to round some temp readings. Sorry.