if (!device.containsSceneConfig(sceneId)) {
getSceneSpec(device, sceneId);
}
if (isDimmScene(sceneId)) {
if (!device.doIgnoreScene(sceneId)) {
handleDimmScene(device, sceneId,
(short) -1, true);
}
} else if (stateMapper.isMappable(sceneId)) {
boolean shouldBeOn = stateMapper