Skip to content

Commit 8bf1d5a

Browse files
committed
Clean up
1 parent a10f65b commit 8bf1d5a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugwise/helper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,6 @@ def _appliance_measurements(
862862
case _ as meas_rn if meas_rn in BINARY_SENSORS:
863863
bs_key = cast(BinarySensorType, meas_rn)
864864
bs_value = appl_p_loc.text in ["on", "true"]
865-
# assert isinstance(bs_value, bool)
866865
data["binary_sensors"][bs_key] = bs_value
867866
case _ as meas_rn if meas_rn in SENSORS:
868867
s_key = cast(SensorType, meas_rn)
@@ -890,7 +889,6 @@ def _appliance_measurements(
890889
data["switches"][sw_key] = sw_value
891890
case "c_heating_state":
892891
value = appl_p_loc.text in ["on", "true"]
893-
# assert isinstance(value, bool)
894892
data["c_heating_state"] = value
895893
case "elga_status_code":
896894
data["elga_status_code"] = int(appl_p_loc.text)

0 commit comments

Comments
 (0)