Skip to content

Commit

Permalink
Nuki:
Browse files Browse the repository at this point in the history
- Small fix for getting state 4 and 7
  • Loading branch information
psilo909 committed Dec 26, 2023
1 parent d0d2441 commit 6261165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuki/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ def update_item(self, item, caller=None, source=None, dest=None):
if response is not None:
if response['success']:
# self._get_nuki_status()
self.logger.info(
self.logger.error(
"Plugin '{0}': update item: {1}".format(self.get_shortname(), item.property.path))
# immediatly update lock state via list, to e.g. the status information that lock is locking
self._get_nuki_status_via_list()
self._get_nuki_status_via_list()
else:
self.logger.error("Plugin '{}': no response.".format(self.get_shortname()))

Expand Down

0 comments on commit 6261165

Please sign in to comment.