One of the latest Android update broke the thermostat multiattribute tile for my DTH. But its working fine on IOS. Dont know if its the same issue, have you tested on both android and ios?
Good point. I created a value tile and I also checked on iOS. First, the Android app is broken. But so is my code
The value it returns is “false” instead of “idle”
I could be wrong, but I don’t recall inUse being an available device attribute state, as such it will always return null.
If this is a boolean that your dth is managing try storing it in a state variable.
The fact that I am getting “false” or “true” returned tells me the code is executing. It is just not passing the value to “thermostatOperatingState”. Probably due to a syntax issue.
Thanks. I have come to realize that the value “false” is stuck in thermostatOperatingState. The def thermostatOperatingState() never even fires to update the state. Now I am stuck on why this is not happening.
what rest API?, inUse isn’t a standard attribute associated with any device that I know of, so you aren’t getting a value from st for it.
If this attribute is being returned via some API other than ST, you will need to store it in a state variable.