Complete helpers.service type hints (#40193)
* Complete helpers.service type hints * Update homeassistant/helpers/service.py Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * Handle None entity.supported_features
This commit is contained in:
1 parent
5dcaeebdac
commit
167490b71c
2 files changed
+32
-15
No files matched your search
@@ -546,7 +546,7 @@ class EntityPlatform:
|
||||
|
||||
async def handle_service(call: ServiceCall) -> None:
|
||||
"""Handle the service."""
|
||||
await service.entity_service_call( # type: ignore
|
||||
await service.entity_service_call(
|
||||
self.hass,
|
||||
[
|
||||
plf
|
||||
|
||||
Reference in new issue
Block a user