Skip to content

Commit

Permalink
Auto Format
Browse files Browse the repository at this point in the history
  • Loading branch information
elden1337 committed Aug 24, 2024
1 parent ac42ed4 commit 6f7ddd7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions custom_components/peaqev/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
HubOptions
from custom_components.peaqev.peaqservice.util.constants import TYPELITE
from custom_components.peaqev.services import async_prepare_register_services

from .const import DOMAIN, PLATFORMS
from .peaqservice.chargertypes.models.chargertypes_enum import ChargerType
from .peaqservice.hub.hub_factory import HubFactory
Expand Down
3 changes: 2 additions & 1 deletion custom_components/peaqev/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
from custom_components.peaqev.peaqservice.powertools.power_canary.const import \
FUSES_LIST
from custom_components.peaqev.peaqservice.util.constants import (
CAUTIONHOURTYPE_NAMES, TYPELITE, CautionHourType, SPOTPRICE_VALUETYPES)
CAUTIONHOURTYPE_NAMES, SPOTPRICE_VALUETYPES, TYPELITE, CautionHourType)

from .const import DOMAIN # pylint:disable=unused-import
from .peaqservice.chargertypes.models.chargertypes_enum import ChargerType

Expand Down
3 changes: 2 additions & 1 deletion custom_components/peaqev/configflow/config_flow_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from custom_components.peaqev.peaqservice.chargertypes.models.chargertypes_enum import \
CHARGERTYPES
from custom_components.peaqev.peaqservice.util.constants import (
CAUTIONHOURTYPE_NAMES, INSTALLATIONTYPES, CautionHourType, SPOTPRICE_VALUETYPES)
CAUTIONHOURTYPE_NAMES, INSTALLATIONTYPES, SPOTPRICE_VALUETYPES,
CautionHourType)

TYPE_SCHEMA = vol.Schema(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

from peaqevcore.common.spotprice.models.spotprice_type import SpotPriceType

from custom_components.peaqev.peaqservice.util.options_comparer import OptionsComparer
from custom_components.peaqev.peaqservice.util.options_comparer import \
OptionsComparer


@dataclass
Expand Down
1 change: 0 additions & 1 deletion custom_components/peaqev/peaqservice/util/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from peaqevcore.common.enums.cautionhourtype import CautionHourType
from peaqevcore.common.spotprice.models.spotprice_type import SpotPriceType


"""NAMING CONSTANTS"""
CHARGERCONTROLLER = 'Charger controller'
HOURCONTROLLER = 'Hour controller'
Expand Down

0 comments on commit 6f7ddd7

Please sign in to comment.