Skip to content

Commit 313cf48

Browse files
committed
prepare 0.11.1 bugfix release
1 parent abb2b13 commit 313cf48

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
## [Unreleased]
55
- No unreleased changes so far
66

7+
## [0.11.1] - 2021-07-03
8+
### Fixed
9+
- Addressing of statuses
10+
711
## [0.11.0] - 2021-07-02
812
### Added
913
- Possibility to retrieve data for public charging stations
@@ -126,7 +130,8 @@ Minor fix in observer interface
126130
## [0.1.0] - 2021-05-26
127131
Initial release
128132

129-
[unreleased]: https://github.com/tillsteinbach/WeConnect-python/compare/v0.11.0...HEAD
133+
[unreleased]: https://github.com/tillsteinbach/WeConnect-python/compare/v0.11.1...HEAD
134+
[0.11.1]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.11.1
130135
[0.11.0]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.11.0
131136
[0.10.0]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.10.0
132137
[0.9.1]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.9.1

weconnect/elements.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def __init__(
459459
self.fixAPI = fixAPI
460460
super().__init__(localAddress=None, parent=parent)
461461
self.id = statusId
462-
self.address = self.id
462+
self.localAddress = self.id
463463
self.carCapturedTimestamp = AddressableAttribute(
464464
localAddress='carCapturedTimestamp', parent=self, value=None, valueType=datetime)
465465
self.error = GenericStatus.StatusError(localAddress='error', parent=self)
@@ -782,7 +782,7 @@ def update(self, fromDict):
782782

783783
if 'name' in fromDict:
784784
self.id = fromDict['name']
785-
self.address = self.id
785+
self.localAddress = self.id
786786
else:
787787
LOG.error('Door is missing name attribute')
788788

@@ -856,7 +856,7 @@ def update(self, fromDict):
856856

857857
if 'name' in fromDict:
858858
self.id = fromDict['name']
859-
self.address = self.id
859+
self.localAddress = self.id
860860
else:
861861
LOG.error('Window is missing name attribute')
862862

@@ -1473,7 +1473,7 @@ def update(self, fromDict):
14731473

14741474
if 'windowLocation' in fromDict:
14751475
self.id = fromDict['windowLocation']
1476-
self.address = self.id
1476+
self.localAddress = self.id
14771477
else:
14781478
LOG.error('Window is missing windowLocation attribute')
14791479

@@ -1558,7 +1558,7 @@ def update(self, fromDict):
15581558

15591559
if 'name' in fromDict:
15601560
self.id = fromDict['name']
1561-
self.address = self.id
1561+
self.localAddress = self.id
15621562
else:
15631563
LOG.error('Light is missing name attribute')
15641564

@@ -1824,7 +1824,7 @@ def update(self, fromDict):
18241824

18251825
if 'id' in fromDict:
18261826
self.id = fromDict['id']
1827-
self.address = self.id
1827+
self.localAddress = self.id
18281828
else:
18291829
LOG.error('Timer is missing id attribute')
18301830

0 commit comments

Comments
 (0)