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

def update(self):

    set_req = self.gateway.const.SetReq
    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)
        if (value_type == set_req.V_HVAC_FLOW_STATE):
            self._values[value_type] = DICT_MYS_TO_HA[value]
        else:
            self._values[value_type] = value
