brightness: Remove almost duplicated functions.
brightness: Create the dictionary in one step.
brightness: Make the code less convoluted.
brightness: Fix error message.

It's *un*implemented, *not* implemented.
brightness: Use better names for variables.