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 5511cb0 commit aae7c28Copy full SHA for aae7c28
custom_components/precoscombustiveis/dgeg.py
@@ -70,7 +70,7 @@ async def getStation(self, id: str) -> Station:
70
71
async def testStation(self, id: str) -> bool:
72
"""Test if stationId exists."""
73
- station = self.getStation(id)
+ station = await self.getStation(id)
74
_LOGGER.debug("station.name %s", station.name)
75
_LOGGER.debug("station.name %s", station.fuels)
76
_LOGGER.debug("result %s", (not station.name and not station.fuels))
0 commit comments