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
|
@ -252,7 +252,7 @@ async def async_setup_entry(
|
|||
|
||||
@callback
|
||||
def async_add_service(service):
|
||||
if service.short_type != ServicesTypes.HUMIDIFIER_DEHUMIDIFIER:
|
||||
if service.type != ServicesTypes.HUMIDIFIER_DEHUMIDIFIER:
|
||||
return False
|
||||
|
||||
info = {"aid": service.accessory.aid, "iid": service.iid}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue