Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuselden authored and magnuselden committed Aug 9, 2023
2 parents e027ac6 + 3b28e34 commit adcbfb2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

from homeassistant.helpers.event import async_track_time_interval

from custom_components.peaqev.peaqservice.hub.observer.iobserver_coordinator import IObserver
from custom_components.peaqev.peaqservice.hub.observer.iobserver_coordinator import \
IObserver
from custom_components.peaqev.peaqservice.util.extensionmethods import \
async_iscoroutine

Expand All @@ -31,6 +32,7 @@ async def async_broadcast_separator(self, func, command):

import asyncio


class ObserverTest(IObserver):
def __init__(self):
super().__init__()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
from peaqevcore.models.locale.enums.time_periods import TimePeriods

from custom_components.peaqev.peaqservice.powertools.gainloss.const import *
from custom_components.peaqev.peaqservice.powertools.gainloss.igain_loss import IGainLoss
from custom_components.peaqev.peaqservice.powertools.gainloss.igain_loss import \
IGainLoss

_LOGGER = logging.getLogger(__name__)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
from peaqevcore.models.phases import Phases

from custom_components.peaqev.peaqservice.powertools.power_canary.const import (
CRITICAL, CUTOFF_THRESHOLD, DISABLED, OK, WARNING,
WARNING_THRESHOLD)
CRITICAL, CUTOFF_THRESHOLD, DISABLED, OK, WARNING, WARNING_THRESHOLD)
from custom_components.peaqev.peaqservice.powertools.power_canary.power_canary_model import \
PowerCanaryModel
from custom_components.peaqev.peaqservice.powertools.power_canary.smooth_average import \
Expand Down
3 changes: 2 additions & 1 deletion custom_components/peaqev/test/test_power_canary.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

from custom_components.peaqev.peaqservice.powertools.power_canary.const import (
CRITICAL, WARNING)
from custom_components.peaqev.peaqservice.powertools.power_canary.power_canary_test import PowerCanaryTest
from custom_components.peaqev.peaqservice.powertools.power_canary.power_canary_test import \
PowerCanaryTest


@pytest.mark.asyncio
Expand Down

0 comments on commit adcbfb2

Please sign in to comment.