Skip to content

Commit

Permalink
Correct type hint for _get_initial_state()
Browse files Browse the repository at this point in the history
  • Loading branch information
rerpha authored Jan 13, 2025
1 parent 39a618e commit 13ce61b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lewis/devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def _get_state_handlers(self) -> dict[str, State]:
"_get_state_handlers must be implemented in a StateMachineDevice."
)

def _get_initial_state(self) -> State:
def _get_initial_state(self) -> str:
"""
Implement this method to return the initial state of the internal state machine.
The default implementation raises a ``NotImplementedError``.
Expand Down

0 comments on commit 13ce61b

Please sign in to comment.