def turn_on(self, **kwargs):
        """Turn the light on."""
        if kwargs in ATTR_BRIGHTNESS and self.vera_device.is_dimmable:
            self.vera_device.set_brightness(kwargs[ATTR_BRIGHTNESS])
        else:
            self.vera_device.switch_on()

        self._state = STATE_ON
        self.update_ha_state(True)
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/vera.py/VeraLight.turn_on/swapped operands of `in`