Skip to content

Commit 5511cb0

Browse files
add awaiter
1 parent 46f146c commit 5511cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/precoscombustiveis/config_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def async_step_user(self, user_input=None):
3636
await self.async_set_unique_id(user_input[FIELD_ID].lower())
3737
self._abort_if_unique_id_configured()
3838

39-
if self._test_gas_station(user_input[FIELD_ID]):
39+
if await self._test_gas_station(user_input[FIELD_ID]):
4040
_LOGGER.debug("Config is valid!")
4141
return self.async_create_entry(
4242
title="DGEG " + user_input[FIELD_ID],

0 commit comments

Comments
 (0)