Skip to content

Commit

Permalink
Remove whitespace in state
Browse files Browse the repository at this point in the history
  • Loading branch information
marijngiesen committed Dec 10, 2019
1 parent 9bc5edb commit 9680629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/afvalwijzer/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def update(self):
for item in self.data.data:
logger.debug("Update called for item: {}".format(item))
if item['key'] == self._name:
self._state = item['value']
self._state = item['value'].strip()


class TrashCollectionSchedule(object):
Expand Down

0 comments on commit 9680629

Please sign in to comment.