From d5adb9af0278d0588544a024cf435554cebc9b76 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Thu, 16 Jun 2022 14:39:58 +0200 Subject: [PATCH] Document number device class (#23116) --- source/_integrations/number.markdown | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/_integrations/number.markdown b/source/_integrations/number.markdown index 7e2c23975c3..79e5c426f8f 100644 --- a/source/_integrations/number.markdown +++ b/source/_integrations/number.markdown @@ -18,7 +18,14 @@ Number entities cannot be implemented manually, but can be provided by other integrations. If you are looking for a way to create a number entity, please take a look at the [Number helper](/integrations/input_number). -### Services +## Device Class + +The type of data a number represents impacts how it is displayed in the frontend. This is controlled by the number's device class designation. Built-in numbers and many created from an integration will have this designation predefined. Those can be modified in the [customize section](/docs/configuration/customizing-devices/). When manually creating a new number the device class may be optionally assigned. A full list of available number device classes is below: + +- **None**: Generic number. This is the default and doesn't need to be set. +- **temperature**: Temperature in °C or °F + +## Services The Number entities registers the following services: