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 a10f65b commit 8bf1d5aCopy full SHA for 8bf1d5a
plugwise/helper.py
@@ -862,7 +862,6 @@ def _appliance_measurements(
862
case _ as meas_rn if meas_rn in BINARY_SENSORS:
863
bs_key = cast(BinarySensorType, meas_rn)
864
bs_value = appl_p_loc.text in ["on", "true"]
865
- # assert isinstance(bs_value, bool)
866
data["binary_sensors"][bs_key] = bs_value
867
case _ as meas_rn if meas_rn in SENSORS:
868
s_key = cast(SensorType, meas_rn)
@@ -890,7 +889,6 @@ def _appliance_measurements(
890
889
data["switches"][sw_key] = sw_value
891
case "c_heating_state":
892
value = appl_p_loc.text in ["on", "true"]
893
- # assert isinstance(value, bool)
894
data["c_heating_state"] = value
895
case "elga_status_code":
896
data["elga_status_code"] = int(appl_p_loc.text)
0 commit comments