Skip to content

Commit

Permalink
Fix creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Jan 31, 2024
1 parent fd76c43 commit 4eac044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/teslemetry/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ async def async_setup_entry(
data = hass.data[DOMAIN][entry.entry_id]

async_add_entities(
TeslemetryBinarySensorEntity(vehicle.state_coordinator, description)
TeslemetryBinarySensorEntity(vehicle, description)
for vehicle in data.vehicles
for description in DESCRIPTIONS
)
Expand Down

0 comments on commit 4eac044

Please sign in to comment.