Spelling fixes (#25666)
This commit is contained in:
parent
2f7c57b257
commit
a54ade1189
38 changed files with 52 additions and 52 deletions
|
@ -50,7 +50,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
|||
)
|
||||
await line.get_passages()
|
||||
if line.passages is None:
|
||||
_LOGGER.warning("No data recieved from De Lijn")
|
||||
_LOGGER.warning("No data received from De Lijn")
|
||||
return
|
||||
sensors.append(DeLijnPublicTransportSensor(line, name))
|
||||
|
||||
|
@ -71,7 +71,7 @@ class DeLijnPublicTransportSensor(Entity):
|
|||
"""Get the latest data from the De Lijn API."""
|
||||
await self.line.get_passages()
|
||||
if self.line.passages is None:
|
||||
_LOGGER.warning("No data recieved from De Lijn")
|
||||
_LOGGER.warning("No data received from De Lijn")
|
||||
return
|
||||
try:
|
||||
first = self.line.passages[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue