FHEM & reconnecting client fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user