feat: add typed listeners for streamable fields 260-269 - #42
Merged
Conversation
Adds listen_GpsAccuracyMeters, listen_LifetimeEnergyChargedKwh, listen_BrickSocMinPercent, listen_NominalFullPackEnergyKwh, listen_GradeEstimatePercent, listen_MaxSpeedToReachDestinationMph, listen_SoftwareUpdateAvailable, listen_SoftwareUpdateInProgress, listen_RemoteStartActive, and listen_SemiCruiseSpeedLimitMph, matching upstream teslamotors/fleet-telemetry#546 (first available firmware 2026.32). Claude-Session: https://claude.ai/code/session_01MHXTGKr4FcJ18HT4nrfN14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
tesla-protocol, so they need their ownSignalentries andlisten_<Field>methods.Signalentries inconst.py, alphabetical by constant name like the rest of the enum.listen_*methods to the end ofTeslemetryStreamVehicleinvehicle.py, matching where the last few additions (listen_RearDefrostEnabled,listen_ChargeRateMilePerHour) landed rather than re-sorting the whole class.GpsAccuracyMeters,LifetimeEnergyChargedKwh,BrickSocMinPercent,NominalFullPackEnergyKwh,GradeEstimatePercent,MaxSpeedToReachDestinationMph, andSemiCruiseSpeedLimitMphasfloat(mirroringCurrentLimitMph,LifetimeEnergyUsed,TonneauOpenPercent);SoftwareUpdateAvailable,SoftwareUpdateInProgress, andRemoteStartActiveasbool(mirroringSpeedLimitMode,RemoteStartEnabled).RemoteStartActiveis distinct from the existingRemoteStartEnabled(keyless driving toggle);SemiCruiseSpeedLimitMphis Semi-truck only and distinct fromCruiseSetSpeed.