mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix button platform parent class in Teslemetry (#148863)
This commit is contained in:
parent
27ad459ae0
commit
bcec29763f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user