Changing Multi Sensor Default from Temperature to Humidity

(Ben Dixon) #1

I’ve got a multi sensor device handler (Wireless Tag Motion by @swanny). In the Smartthings classic app, under My Home and Things, the device reports Temperature by default. I’d like to change this to Humidity.

The device handler looks pretty simple, but I couldn’t spot some sort of designation that tells smartthings which parameter is the default. Is it possible to dictate which is the default in the handler? Or is there a setting somewhere in the app that I’m missing? Greatly appreciated!

(Ben Dixon) #2

Typical. Five seconds after I post, I found the solution in the developer documentation. Sorry about that.

For anybody else searching the forum, the solution is to change the order in main (). I made the first item in main humidity.

main(["humidity", "temperature", "acceleration", "motion", "presence", "contact"])