Skip to content

Commit

Permalink
Merge pull request #41 from jwillemsen/jwi-boostdata2
Browse files Browse the repository at this point in the history
Retrieve and store boost data, data itself not used yet
  • Loading branch information
CJNE authored Jun 3, 2024
2 parents 3371020 + 002a8f3 commit 0d9e833
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pymyenergi/zappi.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__(self, connection: Connection, serialno, data=None) -> None:
async def refresh(self):
"""Refresh device data"""
self.data = await self.fetch_data()
self.boost_data = await self.fetch_boost_data()

async def fetch_boost_data(self):
"""Fetch data from myenergi"""
Expand Down

0 comments on commit 0d9e833

Please sign in to comment.