Skip to content

onLightChangeHsv callback issue #12190

@SuGlider

Description

@SuGlider

@lukevink wrote this message in the PR #12094 - @P-R-O-C-H-Y PTAL.

@P-R-O-C-H-Y while HSV shows up, I cant get the onLightChangeHsv callback to log anything on a functioning Zigbee device (ESP32-C6 dev module). The other callbacks work perfectly (onLightChangeRgb and onLightChangeTemp). In home assistant for example, the state of the device changes to HS mode and the hue and saturation changes - but the onLightChangeHsv never fires.

For now, I had to set a converter to disable enhanced hue to make it work correctly from home assistant:

const m = require('zigbee-herdsman-converters/lib/modernExtend');

module.exports = {
fingerprint: [{modelID: 'ZBCloudLamp', manufacturerName: 'Espressif'}],
model: 'ZBCloudLamp',
vendor: 'Espressif',
description: 'CloudLamp',

endpoint: (device) => ({default: 10}),

extend: [
m.light({
color: {modes: ['hs', 'xy'], enhancedHue: false},
colorTemp: {range: [153, 500]},
}),
],

meta: {supportsEnhancedHue: false},
};

Originally posted by @lukevink in #12094 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions