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 GitHub
parent 27ad459ae0
commit bcec29763f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
from . import TeslemetryConfigEntry from . import TeslemetryConfigEntry
from .entity import TeslemetryVehiclePollingEntity from .entity import TeslemetryVehicleStreamEntity
from .helpers import handle_command, handle_vehicle_command from .helpers import handle_command, handle_vehicle_command
from .models import TeslemetryVehicleData 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.""" """Base class for Teslemetry buttons."""
api: Vehicle api: Vehicle