MQTT Discovery: Light objects should report supported_color_modes
#3894
Labels
bug
Something isn't working
supported_color_modes
#3894
Checklist
Deploy method
Manually built (git clone - npm run build - npm install
Z-Wave JS UI version
9.18.1
ZwaveJS version
13.3.0
Describe the bug
Light objects are advertised for MQTT AutoDiscovery using an out-of-date method.
The documentation at https://developers.home-assistant.io/docs/core/entity/light/ says that all lights should report
supported_color_modes
, including those which only supportColorMode.BRIGHTNESS
orColorMode.ONOFF
.To Reproduce
Use a Z-Wave light/dimmer device, and see the contents of its discovery topic.
Expected behavior
I expected to see
or
in the device configuration object.
Additional context
No response
The text was updated successfully, but these errors were encountered: