Easy Brightness Cycling for Smart Lights (tested with LocalTuya, might work on other brands/integrations)

Hey all,

I created a callable automation that cycles between brightness levels for a Tuya light bulb (might work on other brands but I don’t have any to test it on).

Just set the light entity and define your desired brightness levels (e.g. [1, 33, 66, 100]), and the automation will cycle to the next level each time it’s triggered. Once it hits the highest level, it wraps back to the lowest.

You can easily hook it up to a button press, script, scene, or anything else.

Gist here: ZHA - Cycle Tuya light brightness.yaml

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.