def create_device_id(node: OZWNode, node_instance: int=1):
    'Generate unique device_id from a OZWNode.'
    ozw_instance = node.parent.id
    dev_id = f'{ozw_instance}.{node.node_id}.{node_instance}'
    return dev_id
Generate unique device_id from a OZWNode.
def create_device_id(node: OZWNode, node_instance: int=1):
    
    ozw_instance = node.parent.id
    dev_id = f'{ozw_instance}.{node.node_id}.{node_instance}'
    return dev_id