Add number device class support (#2457)

This commit is contained in:
Franck Nijhof 2022-11-17 20:01:32 +01:00 committed by GitHub
parent 50938aab5f
commit 55c12a1366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ Configuration variables:
See https://developers.home-assistant.io/docs/core/entity/number/#properties
for a list of available options. Requires Home Assistant Core 2021.12 or newer.
Defaults to ``"auto"``.
- **device_class** (*Optional*, string): The device class for the number.
See https://developers.home-assistant.io/docs/core/entity/number/#available-device-classes
for a list of available options.
Automations: