StateUpdate function ( OnOffType arg0 ) { StateUpdate loc0 ; if ( OnOffType . ON . equals ( arg0 ) ) { loc0 = new StateUpdate ( ) . setEffect ( Effect . COLORLOOP ) ; } else { loc0 = new StateUpdate ( ) . setEffect ( Effect . NONE ) ; } return loc0 ; }
transforms the given onofftype into a light state containing the effect value . onofftype #on will result in effect #colorloop . onofftype #off will result in effect #none . concode_field_sep int DIM_STEPSIZE concode_elem_sep String ALERT_MODE_NONE concode_elem_sep double SATURATION_FACTOR concode_elem_sep int COLOR_TEMPERATURE_RANGE concode_elem_sep int MIN_COLOR_TEMPERATURE concode_elem_sep String ALERT_MODE_LONG_SELECT concode_elem_sep int MAX_COLOR_TEMPERATURE concode_elem_sep int HUE_FACTOR concode_elem_sep double BRIGHTNESS_FACTOR concode_elem_sep String ALERT_MODE_SELECT concode_field_sep int toAdjustedBrightness concode_elem_sep StateUpdate toAlertState concode_elem_sep StateUpdate toBrightnessLightState concode_elem_sep HSBType toHSBType concode_elem_sep StringType toAlertStringType concode_elem_sep PercentType toBrightnessPercentType concode_elem_sep StateUpdate toOnOffLightState concode_elem_sep StateUpdate toColorTemperatureLightState concode_elem_sep int toAdjustedColorTemp concode_elem_sep StateUpdate toColorLightState concode_elem_sep int restrictToBounds concode_elem_sep PercentType toColorTemperaturePercentType