Hi to all
i’m writing a pluging for a thermostat
It’s there a way to change a value on the ui when a variable change (without refresh manually the page)??
I have tried it with knockout with:
@temperature = @getAttribute('result').value()
@showTemperature = ko.observable(@temperature)
in the template file and…
<span data-bind=“text: showTemperature”></span>
in the ui
but when @temperature change the ui daes not
thank