Skip to content

Commit

Permalink
bug fix of merging by_day data and improve robustness
Browse files Browse the repository at this point in the history
Signed-off-by: CubicPill <CubicPill@users.noreply.github.com>
  • Loading branch information
CubicPill committed May 20, 2023
1 parent 307b78d commit 4d71e7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/china_southern_power_grid_stat/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,7 @@ async def _async_update_account_data(self, account: CSGElectricityAccount):
self._async_update_last_year_stats(account),
self._async_update_this_month_stats_and_ladder(account),
self._async_update_last_month_stats(account),
return_exceptions=True,
)
self._update_latest_day(account)
_LOGGER.debug(
Expand Down

0 comments on commit 4d71e7b

Please sign in to comment.