Skip to content

Commit

Permalink
2.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuselden authored and magnuselden committed Oct 30, 2023
1 parent 74ec628 commit b017a0f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/peaqhvac/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"requirements": [
"peaqevcore==19.5.11"
],
"version": "2.0.8"
"version": "2.0.9"
}

1 change: 0 additions & 1 deletion custom_components/peaqhvac/service/hub/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def __init__(self, hass: HomeAssistant, hub_options: ConfigModel):
self.hvac = HvacFactory.create(self.state_machine, self.options, self)
self.spotprice = SpotPriceFactory.create(hub=self, observer=self.observer, system=PeaqSystem.PeaqHvac, test=False, is_active=True)
self.prognosis = WeatherPrognosis(self)
#self.offset = OffsetCoordinator(self)
self.offset = OffsetFactory.create(self)
self.options.hub = self

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class OffsetFactory:

@staticmethod
def create(hub: Hub) -> OffsetCoordinator:
if hub.sensors.peaqev_facade:
if hub.peaqev_discovered:
return OffsetCoordinatorPeaqEv(hub, None)
return OffsetCoordinatorStandAlone(hub, Hoursselection())

0 comments on commit b017a0f

Please sign in to comment.