Hey there @emontnemery, @jbouwh, @bdraco, mind taking a look at this feedback as it has been labeled with an integration (mqtt) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of `mqtt` can trigger bot actions by commenting:
- `@home-assistant close` Closes the feedback.
- `@home-assistant rename Awesome new title` Renames the feedback.
- `@home-assistant reopen` Reopen the feedback.
- `@home-assistant unassign mqtt` Removes the current integration label and assignees on the feedback, add the integration domain after the command.
- `@home-assistant add-label needs-more-information` Add a label (needs-more-information) to the feedback.
- `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information) on the feedback.
Feedback
The Key options, dimescribed as "List of allowed sensor state value" is followed by: The sensor's
device_class
should be set toenum
.Since https://github.com/home-assistant/core/pull/123248 device_class MUST be set to enum. At least for Discovery.
URL
https://www.home-assistant.io/integrations/sensor.mqtt/
Version
2024.9.2
Additional information
See Issue https://github.com/home-assistant/core/issues/126360