Skip to content

Commit 53fc766

Browse files
committed
Remove _ in bs_value_
1 parent aba0122 commit 53fc766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,13 +862,13 @@ def _appliance_measurements(
862862
data["select_dhw_mode"] = appl_p_loc.text
863863
elif meas_rn in BINARY_SENSORS:
864864
bs_key = cast(BinarySensorType, meas_rn)
865-
bs_value_ = cast(
865+
bs_value = cast(
866866
bool,
867867
format_measure(
868868
appl_p_loc.text, getattr(attrs, ATTR_UNIT_OF_MEASUREMENT)
869869
),
870870
)
871-
data["binary_sensors"][bs_key] = bs_value_
871+
data["binary_sensors"][bs_key] = bs_value
872872
elif meas_rn in SENSORS:
873873
s_key = cast(SensorType, meas_rn)
874874
s_value = format_measure(

0 commit comments

Comments
 (0)