Skip to content

Commit

Permalink
Allow Wago updater to handle auras inside groups
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Sep 25, 2024
1 parent f060e55 commit e8a5754
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CB/Wago.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def parse_storage(self):
for wa in wadata['displays']:
if 'url' in wadata['displays'][wa]:
search = self.urlParser.search(wadata['displays'][wa]['url'])
if (search is not None and search.group(1) and search.group(2) and
'parent' not in wadata['displays'][wa] and 'ignoreWagoUpdate' not in wadata['displays'][wa]):
if (search is not None and search.group(1) and search.group(2) and search.group(1) not in self.list
and 'ignoreWagoUpdate' not in wadata['displays'][wa]):
if 'skipWagoUpdate' in wadata['displays'][wa]:
self.ignored[search.group(1)] = int(wadata['displays'][wa]['skipWagoUpdate'])
self.list[search.group(1)] = int(search.group(2))
Expand Down
2 changes: 1 addition & 1 deletion CB/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import httpx

__version__ = '4.7.2'
__version__ = '4.7.3'
__license__ = 'GPLv3'
__copyright__ = '2019-2024, Paweł Jastrzębski <pawelj@iosphe.re>'
__docformat__ = 'restructuredtext en'
Expand Down

0 comments on commit e8a5754

Please sign in to comment.