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
fix: raise when async_set_low_voltage_state has no mode to send
If neither the mode argument nor the device's reported mode was
available, Thermostat24VMode silently dropped out of the payload
(filtered as None) and the request sent only the setpoints -- exactly
the partial write this method exists to prevent. Raise ValueError
instead of sending it.
Also tighten payload's type from dict[str, Any] to
dict[str, str | int | float | None], mirroring
HiloDevice.set_attributes()'s own signature.
0 commit comments