bulb = new HueBulb(bridge, deviceConfig.getDeviceNumber());
bulbCache.put(deviceConfig.getDeviceNumber(), bulb);
}
if (command instanceof OnOffType) {
bulb.switchOn(OnOffType.ON.equals(command));
}
if (command instanceof HSBType) {
HSBType hsbCommand = (HSBType) command;
DecimalType hue = hsbCommand.getHue();