Skip to content

Commit aae7c28

Browse files
add awaiter
1 parent 5511cb0 commit aae7c28

File tree

1 file changed

+1
-1
lines changed
  • custom_components/precoscombustiveis

1 file changed

+1
-1
lines changed

custom_components/precoscombustiveis/dgeg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def getStation(self, id: str) -> Station:
7070

7171
async def testStation(self, id: str) -> bool:
7272
"""Test if stationId exists."""
73-
station = self.getStation(id)
73+
station = await self.getStation(id)
7474
_LOGGER.debug("station.name %s", station.name)
7575
_LOGGER.debug("station.name %s", station.fuels)
7676
_LOGGER.debug("result %s", (not station.name and not station.fuels))

0 commit comments

Comments
 (0)