We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3992bf commit 6d5b83fCopy full SHA for 6d5b83f
1 file changed
plugwise/__init__.py
@@ -211,7 +211,7 @@ async def _collect_smile_data(
211
"./location/logs/point_log/electricity_point_meter"
212
)
213
for meter in elec_point_meters:
214
- if meter.get("id") is not None and model == "smile_thermo":
+ if meter.get("id") and model == "smile_thermo":
215
self.smile.anna_p1 = True
216
break
217
else:
0 commit comments