We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a2b6b9 commit 4eb18edCopy full SHA for 4eb18ed
custom_components/foxess_api/fox_ess_cloud_api.py
@@ -181,7 +181,7 @@ async def update_report_data(self):
181
value_sum = 0.0
182
for value in dataset["values"]:
183
value_sum += float(value)
184
- self.allData["report"][variable] = value_sum
+ self.allData["report"][variable] = round(value_sum, 3)
185
except KeyError:
186
LOGGER.warning("Could not parse dataset data. If this error persists, check API for changes. "
187
"(Current version is %s)", API_VERSION)
0 commit comments