Skip to content

Commit

Permalink
Run formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 15, 2023
1 parent 744b596 commit e883275
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ def _parse_json(self, data) -> list:

# Check if we already have this hour in dict
known = False
for _i, val in enumerate(region_data): # pylint: disable=unused-variable
for _i, val in enumerate(
region_data
): # pylint: disable=unused-variable
if start_hour == val["HourUTC"]:
known = True
break
Expand Down
3 changes: 0 additions & 3 deletions custom_components/energidataservice/sensor.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""Support for Energi Data Service sensor."""
from __future__ import annotations

from collections import namedtuple
from datetime import datetime
import logging
from collections import namedtuple
from datetime import datetime
Expand Down Expand Up @@ -719,7 +717,6 @@ def _format_list(
"""Format data as list with prices localized."""
formatted_pricelist = []


if tomorrow:
pass

Expand Down

0 comments on commit e883275

Please sign in to comment.