zigbee2mqtt-frontend
zigbee2mqtt-frontend copied to clipboard
[Bug]: Using the HS color picker results in sending an XY color value to the device nonetheless
What happened?
Related Issue: https://github.com/Koenkk/zigbee-herdsman-converters/pull/7349
How to Reproduce: I) Use an external definition of the form:
const definition = {
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZB210_3zfp8mki'}],
model: 'TS0505B',
vendor: 'TuYa',
description: 'Zigbee RGB+CCT Light',
extend: [light({color: {modes: ["hs"], applyRedFix: true, enhancedHue: false}})],
};
II) Choose the device in the Z2M web UI
III) Choose the "Extends" tab in the web UI
IV) Choose any color from the "Color (HS)" color picker
V) The color will be sent to the light in the Color (X/Y) format regardeless
Received MQTT message on 'zigbee2mqtt/L01/set' with data '{"color":{"hex":"#ff0004"}}'
As proven in the referenced issue - this is strictly a Z2M fronted problem. Using the HA frontend or the HA "Light Service" in automations results in sane behavior.
What browsers are you seeing the problem on?
Firefox
Relevant stacktrace
No response
Did you download state.json.zip?
I will not attach state.json.zip