diff --git a/packages/modules/smarthome/shelly/watt.py b/packages/modules/smarthome/shelly/watt.py index e4284f3dd..299ca52be 100644 --- a/packages/modules/smarthome/shelly/watt.py +++ b/packages/modules/smarthome/shelly/watt.py @@ -121,7 +121,8 @@ def totalPowerFromShellyJson(answer: Any, workchan: int) -> int: aktpower = int(answer['em:0']['c_act_power']) else: aktpower = int(answer['em:0']['total_act_power']) - elif ("SNPM-001PCEU16" in model): + elif ("PM-001PCEU16" in model): + # "SNPM-001PCEU16" (gen 2) und "S3PM-001PCEU16" (gen 3) aktpower = int(answer['pm1:0']['apower']) else: aktpower = int(answer[sw]['apower'])