Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed May 3, 2024
1 parent 78340b5 commit 345d339
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/chargeamps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ async def _update_data(self, charge_point_id, force: bool = False):
charge_point_id,
total_energy,
)
self.hass.data[DOMAIN_DATA]["chargepoint_total_energy"][
charge_point_id
] = round(total_energy, 2)
self.hass.data[DOMAIN_DATA]["chargepoint_total_energy"][charge_point_id] = (
round(total_energy, 2)
)
settings = await self.client.get_chargepoint_settings(charge_point_id)
self.hass.data[DOMAIN_DATA]["chargepoint_settings"][
charge_point_id
Expand Down

0 comments on commit 345d339

Please sign in to comment.