mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Update config_flow.py
This commit is contained in:
@@ -47,7 +47,7 @@ async def validate_input(hass: core.HomeAssistant, data):
|
|||||||
raise WrongVersion
|
raise WrongVersion
|
||||||
try:
|
try:
|
||||||
api = get_api(hass, data)
|
api = get_api(hass, data)
|
||||||
await api.get_data()
|
await api.get_data("all")
|
||||||
except glances_api.exceptions.GlancesApiConnectionError as err:
|
except glances_api.exceptions.GlancesApiConnectionError as err:
|
||||||
raise CannotConnect from err
|
raise CannotConnect from err
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user