mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
fix AndroidTV logging when disconnected (#132919)
This commit is contained in:
parent
c08ffcff9b
commit
ede9c3ecd2
@ -135,15 +135,16 @@ async def async_connect_androidtv(
|
|||||||
)
|
)
|
||||||
|
|
||||||
aftv = await async_androidtv_setup(
|
aftv = await async_androidtv_setup(
|
||||||
config[CONF_HOST],
|
host=config[CONF_HOST],
|
||||||
config[CONF_PORT],
|
port=config[CONF_PORT],
|
||||||
adbkey,
|
adbkey=adbkey,
|
||||||
config.get(CONF_ADB_SERVER_IP),
|
adb_server_ip=config.get(CONF_ADB_SERVER_IP),
|
||||||
config.get(CONF_ADB_SERVER_PORT, DEFAULT_ADB_SERVER_PORT),
|
adb_server_port=config.get(CONF_ADB_SERVER_PORT, DEFAULT_ADB_SERVER_PORT),
|
||||||
state_detection_rules,
|
state_detection_rules=state_detection_rules,
|
||||||
config[CONF_DEVICE_CLASS],
|
device_class=config[CONF_DEVICE_CLASS],
|
||||||
timeout,
|
auth_timeout_s=timeout,
|
||||||
signer,
|
signer=signer,
|
||||||
|
log_errors=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
if not aftv.available:
|
if not aftv.available:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user