mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Spelling fixes (#25666)
This commit is contained in:
committed by
Pascal Vizeli
parent
2f7c57b257
commit
a54ade1189
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user