We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eaddbf commit 666a38eCopy full SHA for 666a38e
homeassistant/components/teslemetry/button.py
@@ -50,8 +50,8 @@ class TeslemetryButtonEntityDescription(ButtonEntityDescription):
50
key="homelink",
51
func=lambda self: handle_vehicle_command(
52
self.api.trigger_homelink(
53
- lat=self.coordinator.data["drive_state_latitude"],
54
- lon=self.coordinator.data["drive_state_longitude"],
+ lat=self.hass.config.latitude,
+ lon=self.hass.config.longitude,
55
)
56
),
57
0 commit comments