wez3 / domoboard

A dashboard for Domoticz
GNU General Public License v3.0
35 stars 11 forks source link

Selector switch bug when "off-state" is hidden #84

Closed dutchdevil83 closed 7 years ago

dutchdevil83 commented 7 years ago

When the off status is hidden in domoticz the selector is not getting updated in the right way. The value is one step out of direction because the off state is not counted. Probably can be fixed when looking at the JSON response of the selector when LevelOffHidden = True then (selector_value - 1) something like that..

DOMOBOARD: domoboard_selector

DOMOTICZ: domoticz_selector

squandor commented 7 years ago

strange i will look into that tonight, should be a small fix on the develop branch.

squandor commented 7 years ago

had a little time :), just pusht the fix for this problem to the develop branch. does it work with you're situation now?

dutchdevil83 commented 7 years ago

Yep fixed now. Thanx for the quick fix. Issue can be closed.