Skip to content

Commit

Permalink
prepare 0.11.1 bugfix release
Browse files Browse the repository at this point in the history
  • Loading branch information
tillsteinbach committed Jul 3, 2021
1 parent abb2b13 commit 313cf48
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
- No unreleased changes so far

## [0.11.1] - 2021-07-03
### Fixed
- Addressing of statuses

## [0.11.0] - 2021-07-02
### Added
- Possibility to retrieve data for public charging stations
Expand Down Expand Up @@ -126,7 +130,8 @@ Minor fix in observer interface
## [0.1.0] - 2021-05-26
Initial release

[unreleased]: https://github.com/tillsteinbach/WeConnect-python/compare/v0.11.0...HEAD
[unreleased]: https://github.com/tillsteinbach/WeConnect-python/compare/v0.11.1...HEAD
[0.11.1]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.11.1
[0.11.0]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.11.0
[0.10.0]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.10.0
[0.9.1]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.9.1
Expand Down
12 changes: 6 additions & 6 deletions weconnect/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def __init__(
self.fixAPI = fixAPI
super().__init__(localAddress=None, parent=parent)
self.id = statusId
self.address = self.id
self.localAddress = self.id
self.carCapturedTimestamp = AddressableAttribute(
localAddress='carCapturedTimestamp', parent=self, value=None, valueType=datetime)
self.error = GenericStatus.StatusError(localAddress='error', parent=self)
Expand Down Expand Up @@ -782,7 +782,7 @@ def update(self, fromDict):

if 'name' in fromDict:
self.id = fromDict['name']
self.address = self.id
self.localAddress = self.id
else:
LOG.error('Door is missing name attribute')

Expand Down Expand Up @@ -856,7 +856,7 @@ def update(self, fromDict):

if 'name' in fromDict:
self.id = fromDict['name']
self.address = self.id
self.localAddress = self.id
else:
LOG.error('Window is missing name attribute')

Expand Down Expand Up @@ -1473,7 +1473,7 @@ def update(self, fromDict):

if 'windowLocation' in fromDict:
self.id = fromDict['windowLocation']
self.address = self.id
self.localAddress = self.id
else:
LOG.error('Window is missing windowLocation attribute')

Expand Down Expand Up @@ -1558,7 +1558,7 @@ def update(self, fromDict):

if 'name' in fromDict:
self.id = fromDict['name']
self.address = self.id
self.localAddress = self.id
else:
LOG.error('Light is missing name attribute')

Expand Down Expand Up @@ -1824,7 +1824,7 @@ def update(self, fromDict):

if 'id' in fromDict:
self.id = fromDict['id']
self.address = self.id
self.localAddress = self.id
else:
LOG.error('Timer is missing id attribute')

Expand Down

0 comments on commit 313cf48

Please sign in to comment.