Maybe you all already know about it, but running
light.sh in terminal shows a nice light control, embeddable in any kual app for Kindle PW
(I've tried to spot the script position to give a glance at the inner code but wasn't able to find it)
UPDATE: the command inside light.sh that launches light controls is:
xtestlab126 -l