Skip to content

Commit

Permalink
Merge pull request #162 from Teslemetry/hotfix
Browse files Browse the repository at this point in the history
Add hotfixes
  • Loading branch information
Bre77 authored Dec 11, 2024
2 parents 1c948e7 + 79191e4 commit 1923793
Show file tree
Hide file tree
Showing 7 changed files with 982 additions and 10 deletions.
2 changes: 1 addition & 1 deletion custom_components/teslemetry/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def async_get_config_entry_diagnostics(
{
"live": async_redact_data(x.live_coordinator.data, ENERGY_LIVE_REDACT),
"info": async_redact_data(x.info_coordinator.data, ENERGY_INFO_REDACT),
"history": x.history_coordinator.data,
"history": x.history_coordinator.data if x.history_coordinator else None,
}
for x in entry.runtime_data.energysites
]
Expand Down
2 changes: 1 addition & 1 deletion custom_components/teslemetry/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def __init__(
scoped: bool,
) -> None:
"""Initialize the sensor."""
super().__init__(data, "vehicle_state_speed_limit_mode_active", TeslemetryTimestamp.VEHICLE_STATE, Signal.SPEED_LIMIT_MODE)
super().__init__(data, "vehicle_state_speed_limit_mode_active", TeslemetryTimestamp.VEHICLE_STATE) #TelemetryField.SPEED_LIMIT_MODE
self.scoped = scoped

def _async_update_attrs(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/teslemetry/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/Teslemetry/hass-teslemetry/issues",
"loggers": ["tesla_fleet_api", "teslemetry_stream"],
"requirements": ["tesla-fleet-api==0.8.5", "teslemetry-stream==0.5.3"],
"requirements": ["tesla-fleet-api==0.8.5", "teslemetry-stream==0.5.4"],
"version": "2.9.1"
}
Loading

0 comments on commit 1923793

Please sign in to comment.