We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f146c commit 5511cb0Copy full SHA for 5511cb0
custom_components/precoscombustiveis/config_flow.py
@@ -36,7 +36,7 @@ async def async_step_user(self, user_input=None):
36
await self.async_set_unique_id(user_input[FIELD_ID].lower())
37
self._abort_if_unique_id_configured()
38
39
- if self._test_gas_station(user_input[FIELD_ID]):
+ if await self._test_gas_station(user_input[FIELD_ID]):
40
_LOGGER.debug("Config is valid!")
41
return self.async_create_entry(
42
title="DGEG " + user_input[FIELD_ID],
0 commit comments