I have developed a custom handler for a temperature sensor (Fibaro FGK-101) and I would like this Handler to support WITH THE SAME CODE both °F or °C settings (which can be modified dynamically thru the mobile SmartThings App at Location settings).
But the valueTile() option :
{ backgroundColors : [ [value: nn, color: "#xxxxxx"] ] }
seems to accept only literal integers for nn, so I cannot have (dynamic) different threshold values for °F and for °C, as I should.
I tried ST support and got answered that “SmartThings support doesn’t provide official support for creating custom Device Handlers and SmartApps”…
Is there any workaround for this limitation or is backgroundColors option incompatible with °F<->°C dynamic selection ?