fix assumed state

This commit is contained in:
Andrey
2021-02-17 17:11:00 +03:00
parent ec505ac2ef
commit 7ba1562f12

View File

@@ -218,6 +218,7 @@ class MegaOutPort(MegaPushEntity):
self._is_on = None
self.dimmer = dimmer
@property
def assumed_state(self) -> bool:
return True if self.index is not None or self.mega.mqtt is None else False