Fix button platform parent class in Teslemetry (#148863)

This commit is contained in:
Brett Adams 2025-07-16 16:16:36 +10:00 committed by Franck Nijhof
parent 8e0a89dc2f
commit 1644484c92
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952

View File

@ -14,7 +14,7 @@ from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
from . import TeslemetryConfigEntry
from .entity import TeslemetryVehiclePollingEntity
from .entity import TeslemetryVehicleStreamEntity
from .helpers import handle_command, handle_vehicle_command
from .models import TeslemetryVehicleData
@ -74,7 +74,7 @@ async def async_setup_entry(
)
class TeslemetryButtonEntity(TeslemetryVehiclePollingEntity, ButtonEntity):
class TeslemetryButtonEntity(TeslemetryVehicleStreamEntity, ButtonEntity):
"""Base class for Teslemetry buttons."""
api: Vehicle