diff --git a/src/converters/fromZigbee.ts b/src/converters/fromZigbee.ts index 91f5fbdd696d9..cf7e0fd707690 100644 --- a/src/converters/fromZigbee.ts +++ b/src/converters/fromZigbee.ts @@ -1424,6 +1424,22 @@ const converters1 = { return payload; }, } satisfies Fz.Converter, + command_move_to_hue_and_saturation: { + cluster: 'lightingColorCtrl', + type: 'commandMoveToHueAndSaturation', + convert: (model, msg, publish, options, meta) => { + if (hasAlreadyProcessedMessage(msg, model)) return; + const payload = { + action: postfixWithEndpointName(`move_to_hue_and_saturation`, msg, model, meta), + action_hue: msg.data.hue, + action_saturation: msg.data.saturation, + action_transition_time: msg.data.transtime, + }; + + addActionGroup(payload, msg, model); + return payload; + }, + } satisfies Fz.Converter, command_step_hue: { cluster: 'lightingColorCtrl', type: ['commandStepHue'], diff --git a/src/devices/sunricher.ts b/src/devices/sunricher.ts index bdf3ecac8207a..ff320fc4329ec 100644 --- a/src/devices/sunricher.ts +++ b/src/devices/sunricher.ts @@ -320,7 +320,7 @@ const definitions: Definition[] = [ description: 'Zigbee handheld remote RGBCCT 3 channels', fromZigbee: [fz.battery, fz.command_move_to_color, fz.command_move_to_color_temp, fz.command_move_hue, fz.command_step, fz.command_recall, fz.command_on, fz.command_off, fz.command_toggle, fz.command_stop, - fz.command_move, fz.command_color_loop_set, fz.command_ehanced_move_to_hue_and_saturation], + fz.command_move, fz.command_color_loop_set, fz.command_ehanced_move_to_hue_and_saturation, fz.command_move_to_hue_and_saturation], exposes: [e.battery(), e.action([ 'color_move', 'color_temperature_move', 'hue_move', 'brightness_step_up', 'brightness_step_down', 'recall_*', 'on', 'off', 'toggle', 'brightness_stop', 'brightness_move_up', 'brightness_move_down',