Allow retry during Config Flow in Advantage Air (#114083)

This commit is contained in:
Brett Adams
2024-03-24 08:40:42 +10:00
committed by GitHub
parent 4ac439ef88
commit f079c1c236

View File

@@ -45,7 +45,7 @@ class AdvantageAirConfigFlow(ConfigFlow, domain=DOMAIN):
port=port,
session=async_get_clientsession(self.hass),
retry=ADVANTAGE_AIR_RETRY,
).async_get(1)
).async_get()
except ApiError:
errors["base"] = "cannot_connect"
else: