We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74823e6 commit 82ad2fcCopy full SHA for 82ad2fc
1 file changed
packages/modules/devices/avm/avm/counter.py
@@ -34,7 +34,7 @@ def update(self, deviceListElementTree: Element):
34
if voltageInfo is not None:
35
voltages = [float(voltageInfo.text)/1000, 0, 0]
36
# AVM returns Wh
37
- imported = powermeterBlock.find("energy").text
+ imported = float(powermeterBlock.find("energy").text)
38
39
counter_state = CounterState(
40
imported=imported,
0 commit comments