mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-16 08:04:25 -04:00
Improve
This commit is contained in:
parent
cf481e5f13
commit
984d1b91b7
5 changed files with 23 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
from commands import HonCommand
|
||||
from pyhon.commands import HonCommand
|
||||
|
||||
|
||||
class HonDevice:
|
||||
|
@ -147,3 +147,6 @@ class HonDevice:
|
|||
|
||||
async def load_statistics(self):
|
||||
self._statistics = await self._connector.load_statistics(self)
|
||||
|
||||
async def update(self):
|
||||
await self.load_attributes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue