async def METHOD_NAME(self):
    self.dps[SWITCH_DPS] = True
    self.dps[MODE_DPS] = "white"
    async with assert_device_properties_set(
        self.subject._device,
        {
            BRIGHTNESS_DPS: 502,
        },
    ):
        await self.subject.async_turn_on(brightness=128)