Skip to content

Commit

Permalink
Black
Browse files Browse the repository at this point in the history
  • Loading branch information
Jc2k authored Oct 21, 2023
1 parent 5a2c004 commit 438c474
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aiohomekit/zeroconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ def from_service_info(cls, service: AsyncServiceInfo) -> HomeKitService:

props: dict[str, str] = {
k.decode("utf-8").lower(): v.decode("utf-8")
for (k, v) in service.properties.items() if v
for (k, v) in service.properties.items()
if v is not None
}

if "id" not in props:
Expand Down

0 comments on commit 438c474

Please sign in to comment.