FHEM & reconnecting client fixes

This commit is contained in:
Martin Bauer
2019-07-07 17:30:45 +02:00
parent 06f96cb2dc
commit e6f5504181
8 changed files with 34 additions and 13 deletions

View File

@@ -64,6 +64,9 @@ class FhemBinarySensor(BinarySensorDevice):
def is_on(self):
return self._state
def refresh(self):
pass
async def line_received(self, line):
if self._type == 'motion' and line.startswith('motion'):
self._available = True