mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Initialize AppleTVConfigFlow.identifiers (#134443)
This commit is contained in:
parent
e1bd82ea32
commit
d725cdae13
@ -98,7 +98,6 @@ class AppleTVConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
VERSION = 1
|
VERSION = 1
|
||||||
|
|
||||||
scan_filter: str | None = None
|
scan_filter: str | None = None
|
||||||
all_identifiers: set[str]
|
|
||||||
atv: BaseConfig | None = None
|
atv: BaseConfig | None = None
|
||||||
atv_identifiers: list[str] | None = None
|
atv_identifiers: list[str] | None = None
|
||||||
_host: str # host in zeroconf discovery info, should not be accessed by other flows
|
_host: str # host in zeroconf discovery info, should not be accessed by other flows
|
||||||
@ -118,6 +117,7 @@ class AppleTVConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
"""Initialize a new AppleTVConfigFlow."""
|
"""Initialize a new AppleTVConfigFlow."""
|
||||||
self.credentials: dict[int, str | None] = {} # Protocol -> credentials
|
self.credentials: dict[int, str | None] = {} # Protocol -> credentials
|
||||||
|
self.all_identifiers: set[str] = set()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def device_identifier(self) -> str | None:
|
def device_identifier(self) -> str | None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user