Small cosmetic fix. If selfdefined device type contains 'licht','beleuchtung' or 'lampe' then the css class licht will be set.
This is an cosmetic issue, light and ein/aus-schalter behavior is the same.