Fix small homekit type error (#75617)

This commit is contained in:
Marc Mueller 2022-07-22 16:02:10 +02:00 committed by GitHub
parent fd6ffef52f
commit e9697872c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,6 @@ import ipaddress
import logging import logging
import os import os
from typing import Any, cast from typing import Any, cast
from uuid import UUID
from aiohttp import web from aiohttp import web
from pyhap.const import STANDALONE_AID from pyhap.const import STANDALONE_AID
@ -510,7 +509,7 @@ class HomeKit:
self.bridge: HomeBridge | None = None self.bridge: HomeBridge | None = None
def setup(self, async_zeroconf_instance: AsyncZeroconf, uuid: UUID) -> None: def setup(self, async_zeroconf_instance: AsyncZeroconf, uuid: str) -> None:
"""Set up bridge and accessory driver.""" """Set up bridge and accessory driver."""
persist_file = get_persist_fullpath_for_entry_id(self.hass, self._entry_id) persist_file = get_persist_fullpath_for_entry_id(self.hass, self._entry_id)