Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NumberDeviceClass.DURATION to documentation of entity number #2349

Open
kiryph opened this issue Oct 2, 2024 · 1 comment
Open

Add NumberDeviceClass.DURATION to documentation of entity number #2349

kiryph opened this issue Oct 2, 2024 · 1 comment

Comments

@kiryph
Copy link

kiryph commented Oct 2, 2024

Merged PR home-assistant/core#96932 added NumberDeviceClass.DURATION to the entity number (similarly as it exists for the entity sensor).

Afaik, but it missed to update the developer documentation for the entity number

https://developers.home-assistant.io/docs/core/entity/number#available-device-classes

It exists in sensor:

https://developers.home-assistant.io/docs/core/entity/sensor#available-device-classes

@make-all
Copy link

It also isn't mentioned in https://www.home-assistant.io/integrations/number/

I always thought this was omitted because it is non-trivial to accept input if the duration is formatted in human readable format, was the change above kept, or is it backed out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants