alandtse / tesla

Tesla custom integration for Home Assistant. This requires a refresh token be generated by third-party apps to login.
Apache License 2.0
601 stars 99 forks source link

fix: fix keyerror for seatmap #997

Closed dandelionclock closed 5 months ago

dandelionclock commented 5 months ago

Fixes the KeyError mentioned in 996. Not entirely sure if it'll fix the battery sensor issue.

dandelionclock commented 5 months ago

Just realized the comment for heated steering function says heated seats so I fixed it.Sent from my iPhoneOn Jun 12, 2024, at 00:32, Alan Tse @.***> wrote: @alandtse commented on this pull request.

In custom_components/tesla_custom/select.py:

@@ -271,7 +296,7 @@ def init( car: TeslaCar, coordinator: TeslaDataUpdateCoordinator, ):

  • """Initialize heated seat entity."""
  • """Initialize heated stearing wheel entity."""

steering

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

alandtse commented 5 months ago

Correct, but you misspelled steering wheel.