fix errors

This commit is contained in:
Andrey
2021-02-28 21:15:48 +03:00
parent a2f412b89e
commit 137eb8b6ba
4 changed files with 14 additions and 7 deletions

View File

@@ -67,6 +67,10 @@ class MegaBinarySensor(BinarySensorEntity, MegaPushEntity):
super().__init__(*args, **kwargs)
self._is_on = None
self._attrs = None
self._click_task = None
async def _click(self):
await self.customize.get
@property
def state_attributes(self):