home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
5k stars 7.29k forks source link

Imprecision for the key "options" #34873

Closed MajorTwip closed 1 month ago

MajorTwip commented 1 month ago

Feedback

The Key options, dimescribed as "List of allowed sensor state value" is followed by: The sensor's device_class should be set to enum.

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

home-assistant[bot] commented 1 month ago

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.