diff --git a/custom_components/teslemetry/binary_sensor.py b/custom_components/teslemetry/binary_sensor.py index 5566545..d9e4644 100644 --- a/custom_components/teslemetry/binary_sensor.py +++ b/custom_components/teslemetry/binary_sensor.py @@ -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 )