'Call to update state.'

def update(self):

    self._state = self.vera_device.is_switched_on()
    if self.vera_device.is_dimmable:
        self._brightness = self.vera_device.get_brightness()
        self._color = self.vera_device.get_color()
