Fixed ColorItem persistence / Philips Hue On/Off switch fix, solves #1059

Since ColorItem is an extended DimmerType it could not been queried successful. Changing the "TypeCheck-sequence" fixes it.