Skip to content

Commit

Permalink
19.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuselden authored and magnuselden committed Jan 3, 2024
1 parent 4ae835b commit 486ef3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion peaqevcore/models/hub/currentpeak.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def update_history(self, peaks: list) -> None:
if self._locale:
if self._locale.data.query_model.get_currently_obeserved_peak() > min(peaks):
self._value = self._locale.data.query_model.observed_peak
self._value = self._get_peak()
else:
self._value = self._get_peak()

def import_from_service(self, importdto: dict, current:bool = False) -> dict:
"""Import the dict passed from service or on loading hass"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name="peaqevcore",
version="19.6.1",
version="19.6.2",
author="Magnus Eldén",
description="Core types for peaqev car charging",
url="https://github.com/elden1337/peaqev-core",
Expand Down

0 comments on commit 486ef3e

Please sign in to comment.