Skip to content

Commit

Permalink
Update airbnk_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rospogrigio authored Dec 15, 2021
1 parent cd75623 commit d7c4410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/airbnk_cloud/airbnk_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async def getCloudDevices(self):

res = {}
for dev_data in json_data["data"] or []:
if not dev_data["boardModel"].isnumeric():
if dev_data["deviceType"][0] in ["W", "F"]:
_LOGGER.info("Device '%s' is filtered out", dev_data["deviceName"])
else:
res[dev_data["sn"]] = dev_data["deviceName"]
Expand Down

0 comments on commit d7c4410

Please sign in to comment.