zigate/__init__.py
def bind_transport_to_device(device, protocol_refs):
    """
    Bind device and protocol / transport once they are ready
    Update the device status @ start
    """
    transport = protocol_refs.result()[0]
    protocol = protocol_refs.result()[1]
    
    protocol.device = device
    device.send_to_transport = transport.write

    Bind device and protocol / transport once they are ready
    Update the device status @ start
    
Bind device and protocol / transport once they are ready
Update the device status @ start
Bind device and protocol / transport once they are ready Update the device status @ start
def bind_transport_to_device(device, protocol_refs):
    transport = protocol_refs.result()[0]
    protocol = protocol_refs.result()[1]
    protocol.device = device
    device.send_to_transport = transport.write
def bind_transport_to_device ( device , protocol_refs ) : transport = protocol_refs . result ( ) [ 0 ] protocol = protocol_refs . result ( ) [ 1 ] protocol . device = device device . send_to_transport = transport . write
Bind device and protocol / transport once they are ready
Update the device status @ start
Bind device and protocol / transport once they are ready Update the device status @ start
"""
    Bind device and protocol / transport once they are ready
    Update the device status @ start
    """
device
protocol_refs