Open MajorTwip opened 4 days ago
Hey there @emontnemery, @jbouwh, @bdraco, mind taking a look at this issue as it has been labeled with an integration (mqtt
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
mqtt documentation mqtt source (message by IssueLinks)
The problem
A MQTT-Discovery without "device_class" but "options" gives following Error. Documentation says "should be set to enum".
''' options list (Optional) List of allowed sensor state value. An empty list is not allowed. The sensor’s device_class should be set to enum. Cannot be used together with state_class or unit_of_measurement. '''
May be modified in Doc.
What version of Home Assistant Core has the issue?
core-2024.9.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
MQTT
Link to integration documentation on our website
https://www.home-assistant.io/integrations/sensor.mqtt/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Will raise a bug on button.plus too.