Skip to content

Commit

Permalink
Use dataclass properties in zeroconf discovery (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored Dec 20, 2021
1 parent aac178b commit 4505891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/remote_homeassistant/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ async def async_step_connection_details(self, user_input=None):

async def async_step_zeroconf(self, info):
"""Handle instance discovered via zeroconf."""
properties = info["properties"]
port = info["port"]
properties = info.properties
port = info.port
uuid = properties["uuid"]

await self.async_set_unique_id(uuid)
Expand Down

0 comments on commit 4505891

Please sign in to comment.