'Set up the MySensors device.'

def __init__(self, gateway, node_id, child_id, name, value_type):

    self.gateway = gateway
    self.node_id = node_id
    self.child_id = child_id
    self._name = name
    self.value_type = value_type
    child = gateway.sensors[node_id].children[child_id]
    self.child_type = child.type
    self._values = {}
