Skip to content

Commit 8fb04d7

Browse files
authored
Change function name in tesla_wall_connector (home-assistant#110467)
1 parent 5ab0bd5 commit 8fb04d7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

homeassistant/components/tesla_wall_connector/binary_sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class WallConnectorBinarySensorDescription(
5050
async def async_setup_entry(
5151
hass: HomeAssistant,
5252
config_entry: ConfigEntry,
53-
async_add_devices: AddEntitiesCallback,
53+
async_add_entities: AddEntitiesCallback,
5454
) -> None:
5555
"""Create the Wall Connector sensor devices."""
5656
wall_connector_data = hass.data[DOMAIN][config_entry.entry_id]
@@ -60,7 +60,7 @@ async def async_setup_entry(
6060
for description in WALL_CONNECTOR_SENSORS
6161
]
6262

63-
async_add_devices(all_entities)
63+
async_add_entities(all_entities)
6464

6565

6666
class WallConnectorBinarySensorEntity(WallConnectorEntity, BinarySensorEntity):

homeassistant/components/tesla_wall_connector/sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class WallConnectorSensorDescription(
172172
async def async_setup_entry(
173173
hass: HomeAssistant,
174174
config_entry: ConfigEntry,
175-
async_add_devices: AddEntitiesCallback,
175+
async_add_entities: AddEntitiesCallback,
176176
) -> None:
177177
"""Create the Wall Connector sensor devices."""
178178
wall_connector_data = hass.data[DOMAIN][config_entry.entry_id]
@@ -182,7 +182,7 @@ async def async_setup_entry(
182182
for description in WALL_CONNECTOR_SENSORS
183183
]
184184

185-
async_add_devices(all_entities)
185+
async_add_entities(all_entities)
186186

187187

188188
class WallConnectorSensorEntity(WallConnectorEntity, SensorEntity):

0 commit comments

Comments
 (0)