Bump growattServer library (#50588)

This commit is contained in:
muppet3000 2021-05-14 08:50:41 +01:00 committed by GitHub
parent 4c68518b18
commit 207ee39d00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 6 deletions

View file

@ -738,9 +738,7 @@ class GrowattData:
self.device_id, self.plant_id
)
mix_detail = self.api.mix_detail(
self.device_id, self.plant_id, date=datetime.datetime.now()
)
mix_detail = self.api.mix_detail(self.device_id, self.plant_id)
# Get the chart data and work out the time of the last entry, use this as the last time data was published to the Growatt Server
mix_chart_entries = mix_detail["chartData"]
sorted_keys = sorted(mix_chart_entries)