Skip to content

Commit

Permalink
fix devices infos saving
Browse files Browse the repository at this point in the history
  • Loading branch information
hekmon committed Nov 20, 2023
1 parent 14050bd commit d85605c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/linkytic/serial_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ def parse_ads(self, ads):
"%s: ADS device type is unknown: %s", self._title, device_identification[DID_TYPE_CODE]
)
device_identification[DID_TYPE] = None
# # Update main thread with device infos
self._serial_controller.device_identification = device_identification
# # Update device infos
self.device_identification = device_identification
# Parsing done
_LOGGER.debug("%s: parsed ADS: %s", self._title, repr(self._extra))

Expand Down

0 comments on commit d85605c

Please sign in to comment.