Skip to content

Commit

Permalink
Fix unboundlocalerror
Browse files Browse the repository at this point in the history
  • Loading branch information
derjoerg committed Nov 9, 2024
1 parent 42b06ec commit c4e9e28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/abbfreeathome/devices/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def update_device(self, datapoint_key: str, datapoint_value: str):
datapoint_key,
datapoint_value,
)
_refreshed = None
_io_key = datapoint_key.split("/")[-1]

if _io_key in self._outputs:
Expand Down

0 comments on commit c4e9e28

Please sign in to comment.