Skip to content

Commit

Permalink
Remove unneeded return statement (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Mar 6, 2023
1 parent 30d23ea commit bc44bb0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/spook/services/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def async_register(self) -> None:
self.service,
self.domain,
)
return None
return

LOGGER.debug(
"Registering Spook admin service: %s.%s",
Expand All @@ -126,7 +126,6 @@ def async_register(self) -> None:
service_func=self.async_handle_service,
schema=vol.Schema(self.schema) if self.schema else None,
)
return True

@abstractmethod
async def async_handle_service(self, call: ServiceCall) -> None:
Expand Down

0 comments on commit bc44bb0

Please sign in to comment.