Closed sumnerboy12 closed 2 years ago
As discussed @MakerDockio - this will simplify the payload required, and therefore the docs. So might be best to wait for Moin's review before adding the thermostat tile to the docs.
My design goal was,that when the setNumber was sent it should render correctly for number style as well as thumbnail, No need to care for the icon style. sending now the setNumber to a thumbnail it shows the large display. You will never use setNumber for the thermostat I guess. When value or subValue not given, 0.0 is displayed - should be blank. Now you have to set the subValue. In my implementation subValue (or value, or any units) can be left out and would be shown as if not there. User can decide what he wants to display on the thumbnail (could be different from the pop-up) Or the user might want to show something different on the subValue for the thumbnail. Now you have the same units for value and subValue. I think using the setNumber for the themostat tile is more flexible. If you are happy how it is I'm ok.
Previously you had to send both
thermostat
andnumber
commands to keep the tile/popup in sync.This change converts the
thermostat
values and updates the tile accordingly.You might have a better way to handle the internal formatting?