...
 
Commits (3)
......@@ -222,7 +222,9 @@ class FUD14(DimmerStyle):
class FSR14(BusObject):
_explicitly_configured_command_address = {}
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._explicitly_configured_command_address = {}
async def find_direct_command_address(self, channel):
"""Find RPS telegram details (as an AddressExpression with left or
......
......@@ -116,6 +116,10 @@ class RS485SerialInterface(BusInterface, asyncio.Protocol):
self.log.debug("Echo detected on the line, enabling suppression")
else:
self.log.debug("No echo detected on the line")
# In some Python versions, the wait_for'd await_bufferlevel
# is not cancelled in time. Avoiding the race condition
# until that's further investigated or obsolete.
await asyncio.sleep(0.3)
except Exception as e:
if conn_made:
self.conn_made.set_exception(e)
......
......@@ -3,7 +3,7 @@ import setuptools
setuptools.setup(
name="eltakobus",
version="0.0.2",
version="0.0.3",
author="chrysn",
author_email="chrysn@fsfe.org",
description="Library for participating in the Eltako Series 14 RS485 bus",
......