diff --git a/tests/responses/powermeter/device_list_faulty.xml b/tests/responses/powermeter/device_list_faulty.xml index 925f747..1de8268 100644 --- a/tests/responses/powermeter/device_list_faulty.xml +++ b/tests/responses/powermeter/device_list_faulty.xml @@ -10,13 +10,10 @@ 0 - 0 - 0 - 0 285 0 - \ No newline at end of file + diff --git a/tests/test_fritzhomedevicepowermeter.py b/tests/test_fritzhomedevicepowermeter.py index 1d568b7..026b601 100644 --- a/tests/test_fritzhomedevicepowermeter.py +++ b/tests/test_fritzhomedevicepowermeter.py @@ -74,7 +74,7 @@ def test_faulty_powermeter_properties(self): self.fritz.update_devices() device = self.fritz.get_device_by_ain("08761 0000434") - assert device.energy == 0 - assert device.power == 0 - assert device.voltage == 0 + assert device.energy is None + assert device.power is None + assert device.voltage is None assert device.current is None