The code connects to the smart bulb, creates a light show by changing the smart bulb's colour to random colors for a short duration and then resetting it to white.
- install to Smart bulb automation
python -m tinytuya
- follow instruction on https://pypi.org/project/tinytuya/