Skip to content

Commit

Permalink
FIX: Subscribers of Actuator will be notified AFTER it was altered
Browse files Browse the repository at this point in the history
  • Loading branch information
s-kostyuk committed May 1, 2018
1 parent fc76d65 commit f04b80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpl/integrations/abs_actuator.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def _state(self, new_value: 'AbsActuator.States') -> None:
:param new_value: new state value to be set
:return: None
"""
self._apply_update()
self._really_internal_state_value = new_value
self._apply_update()

@property
def commands(self) -> Iterable[str]:
Expand Down

0 comments on commit f04b80d

Please sign in to comment.