Skip to content

Commit

Permalink
Merge pull request #108 from jbergler/jbergler-patch-1
Browse files Browse the repository at this point in the history
Stop using async_register in service setup
  • Loading branch information
jbergler committed Apr 27, 2024
2 parents 9428a9c + 2547dbd commit 332d3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ttlock/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def register(self) -> None:
),
)

self.hass.services.async_register(
self.hass.services.register(
DOMAIN,
SVC_CLEANUP_PASSCODES,
self.handle_cleanup_passcodes,
Expand Down

0 comments on commit 332d3db

Please sign in to comment.