Refactor homekit_controller to prepare for more typing information (#65329)
This commit is contained in:
parent
a9af29cbe0
commit
0f88790303
28 changed files with 139 additions and 179 deletions
|
@ -197,7 +197,7 @@ async def async_setup_triggers_for_entry(hass: HomeAssistant, config_entry):
|
|||
@callback
|
||||
def async_add_service(service):
|
||||
aid = service.accessory.aid
|
||||
service_type = service.short_type
|
||||
service_type = service.type
|
||||
|
||||
# If not a known service type then we can't handle any stateless events for it
|
||||
if service_type not in TRIGGER_FINDERS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue