Skip to content

Commit

Permalink
Merge pull request #47 from Selim042/patch-1
Browse files Browse the repository at this point in the history
Fixes #46
  • Loading branch information
ljmerza authored Dec 14, 2022
2 parents 41d3f3c + d8a1f9b commit ee6d440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/email/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ def update(self):
tracking_numbers = self._attr[ATTR_TRACKING_NUMBERS][ATTR]
self._attr[ATTR_TRACKING_NUMBERS][ATTR] = list(map(lambda x: find_carrier(x, EMAIL_DOMAIN), tracking_numbers))
_LOGGER.debug(self._attr[ATTR_TRACKING_NUMBERS][ATTR])
counter = counter + len(tracking_numbers)
counter = counter + len(tracking_numbers)

self._attr[ATTR_COUNT] = counter
server.logout()

Expand Down

0 comments on commit ee6d440

Please sign in to comment.