Skip to content

Commit

Permalink
Merge pull request #16 from nathanmarlor/develop
Browse files Browse the repository at this point in the history
Fixed bug for Aux values which do not cleanly start at 0
  • Loading branch information
nathanmarlor authored Oct 19, 2022
2 parents c05ae3c + 2c8e103 commit 3b40d4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/foxess_em/average/average_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async def _update_item(self, item: HistorySensor) -> None:
values_dict.append(
{
"datetime": from_date.replace(tzinfo=pytz.UTC),
"value": values_dict[0]["value"],
"value": 0,
}
)
values_dict.append(
Expand Down
2 changes: 1 addition & 1 deletion custom_components/foxess_em/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
NAME = "foxess_em"
DOMAIN = "foxess_em"
DOMAIN_DATA = f"{DOMAIN}_data"
VERSION = "1.0.0"
VERSION = "1.1.0"

ISSUE_URL = "https://github.com/nathanmarlor/foxess_em/issues"

Expand Down

0 comments on commit 3b40d4e

Please sign in to comment.