Skip to content

Commit

Permalink
Fix threading issue. (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
twrecked authored May 3, 2024
1 parent 0dfb2a3 commit 185a0df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
0.6.4: fix thread issue
0.6.3: restore switch state
0.6.2: restore wrongly removed options
0.6.1: code tidy
Expand Down
2 changes: 1 addition & 1 deletion custom_components/momentary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import logging

__version__ = '0.6.3'
__version__ = '0.6.4'

_LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/momentary/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"dependencies": [],
"codeowners": ["@sherrell"],
"requirements": [],
"version": "0.6.3",
"version": "0.6.4",
"iot_class": "local_push"
}
2 changes: 1 addition & 1 deletion custom_components/momentary/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def _start_activity(self, new_state):

# Make sure system gets updated.
self._update_attributes()
self.async_schedule_update_ha_state()
self.schedule_update_ha_state()

def turn_on(self, **kwargs):
self._start_activity(True)
Expand Down

0 comments on commit 185a0df

Please sign in to comment.