We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aba0122 commit 53fc766Copy full SHA for 53fc766
plugwise/helper.py
@@ -862,13 +862,13 @@ def _appliance_measurements(
862
data["select_dhw_mode"] = appl_p_loc.text
863
elif meas_rn in BINARY_SENSORS:
864
bs_key = cast(BinarySensorType, meas_rn)
865
- bs_value_ = cast(
+ bs_value = cast(
866
bool,
867
format_measure(
868
appl_p_loc.text, getattr(attrs, ATTR_UNIT_OF_MEASUREMENT)
869
),
870
)
871
- data["binary_sensors"][bs_key] = bs_value_
+ data["binary_sensors"][bs_key] = bs_value
872
elif meas_rn in SENSORS:
873
s_key = cast(SensorType, meas_rn)
874
s_value = format_measure(
0 commit comments