You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stateObj.attributes.target_temp_low !== undefined evalutes to true and makes all temperature controls visible even if they are null.
Looks like it should compare to null instead e.g. stateObj.attributes.target_temp_low != null. This way it will be hidden when undefined and still visible when it's 0 (#4296)
The text was updated successfully, but these errors were encountered:
both single and dual target temperature controls are displayed when only one should be visible at a time.
I suspect the bug was caused by #4300 which was an attempt to fix #4296 .
For instance, when thermostat is in the single setpoint mode in has attributes:
stateObj.attributes.target_temp_low !== undefined
evalutes totrue
and makes all temperature controls visible even if they are null.Looks like it should compare to
null
instead e.g.stateObj.attributes.target_temp_low != null
. This way it will be hidden whenundefined
and still visible when it's0
(#4296)The text was updated successfully, but these errors were encountered: