'Update the controller with values from dimmer child.'

def _update_dimmer(self):

    set_req = self.gateway.const.SetReq
    value_type = set_req.V_DIMMER
    if (value_type in self._values):
        self._brightness = round(((255 * int(self._values[value_type])) / 100))
        if (self._brightness == 0):
            self._state = False
        if (set_req.V_LIGHT not in self._values):
            self._state = (self._brightness > 0)
