Skip to content

Commit

Permalink
Merge pull request #756 from Triple-S/patch-1
Browse files Browse the repository at this point in the history
fix: Workaround to overcome limiations in InfluxDB
  • Loading branch information
fuatakgun authored Nov 20, 2023
2 parents b5e835a + e62b89f commit 0640bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/kia_uvo/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def state(self):
def state_attributes(self):
m = {}
for day in self.vehicle.daily_stats:
key = day.date.date()
key = day.date.strftime("%Y-%m-%d")
value = {
"total_consumed": day.total_consumed,
"engine_consumption": day.engine_consumption,
Expand Down

0 comments on commit 0640bbd

Please sign in to comment.