Started work on dimmer implementation
Finished initial dimmer support
Minor code cleanup
Fixed immer state number conflict with on/off
Bugfixes