mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +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
|
||||
try:
|
||||
api = get_api(hass, data)
|
||||
await api.get_data()
|
||||
await api.get_data("all")
|
||||
except glances_api.exceptions.GlancesApiConnectionError as err:
|
||||
raise CannotConnect from err
|
||||
|
||||
|
Reference in New Issue
Block a user