Skip to content

Commit

Permalink
Fix current version
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Jan 6, 2025
1 parent 9e6aaf0 commit db7a632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/teslemetry/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def _async_data_from_stream(self, data) -> None:
if Signal.SOFTWARE_UPDATE_INSTALLATION_PERCENT_COMPLETE in data:
self._install_percentage = data[Signal.SOFTWARE_UPDATE_INSTALLATION_PERCENT_COMPLETE]
if Signal.VERSION in data:
self._installed_version = data[Signal.SOFTWARE_UPDATE_VERSION].split(" ")[0]
self._installed_version = data[Signal.VERSION].split(" ")[0]
if Signal.SOFTWARE_UPDATE_VERSION in data:
self._attr_latest_version = data[Signal.SOFTWARE_UPDATE_VERSION]

Expand Down

0 comments on commit db7a632

Please sign in to comment.