'Update the controller with the latest value from a sensor.'

def _update_main(self):

    node = self.gateway.sensors[self.node_id]
    child = node.children[self.child_id]
    for (value_type, value) in child.values.items():
        _LOGGER.debug('%s:    value_type    %s,    value    =    %s', self._name, value_type, value)
        self._values[value_type] = value
