Dear New ST Mobile Client Developers,
I am asking for a little help. My custom Ambient Weather Station Remote Sensor DTH shows humidity values rather than temperature in the new ST client dashboard.
Since I have yet had time to convert my own home automations and other SmartApps to the new ST mobile client, I am unable to view & debug what is going off the rails in the new ST Client for my users verses what is displaying as expected in the legacy ST mobile client.
Here is a link to my Ambient Weather Station Remote Sensor DTH, could someone please look at the code and recommend what I need to add/change so that BOTH new and legacy clients will show temperature as expected?
New ST Mobile Client vs. Legacy ST Client Dashboards
Summary of the Temperature and Humidity code
tiles(scale: 2) {
multiAttributeTile(name:"temperature", type:"generic", width:6, height:4, canChangeIcon: true) {
tileAttribute("device.temperature", key: "PRIMARY_CONTROL") {
attributeState("default",label:'${currentValue}º',
backgroundColors:[
[value: 32, color: "#153591"],
[value: 44, color: "#1e9cbb"],
[value: 59, color: "#90d2a7"],
[value: 74, color: "#44b621"],
[value: 84, color: "#f1d801"],
[value: 92, color: "#d04e00"],
[value: 98, color: "#bc2323"]
])
}
tileAttribute("device.humidity", key: "SECONDARY_CONTROL") {
attributeState("humidity", label:'${currentValue}%', unit:"%", defaultState: true)
}
}
}
main(["temperature"])
details(
[
// Inside Sensors
"temperature",
"humidity"
]
)
}