We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e0a89d commit 1644484Copy full SHA for 1644484
homeassistant/components/teslemetry/button.py
@@ -14,7 +14,7 @@
14
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
15
16
from . import TeslemetryConfigEntry
17
-from .entity import TeslemetryVehiclePollingEntity
+from .entity import TeslemetryVehicleStreamEntity
18
from .helpers import handle_command, handle_vehicle_command
19
from .models import TeslemetryVehicleData
20
@@ -74,7 +74,7 @@ async def async_setup_entry(
74
)
75
76
77
-class TeslemetryButtonEntity(TeslemetryVehiclePollingEntity, ButtonEntity):
+class TeslemetryButtonEntity(TeslemetryVehicleStreamEntity, ButtonEntity):
78
"""Base class for Teslemetry buttons."""
79
80
api: Vehicle
0 commit comments