Number
number: - platform: ... # [!code highlight] name: 'Display Brightness' id: display_brightness icon: mdi:brightness-6 device_class: '' state_class: measurement unit_of_measurement: '%' min_value: 0.0 max_value: 100.0 step: 1.0Attributes
Section titled “Attributes”Common attributes are documented in Common Component Properties.
| Property | Description | Example |
|---|---|---|
device_class | Home Assistant number classification. | "" |
state_class | Home Assistant state class for number values. | measurement |
unit_of_measurement | Optional value unit shown in user interfaces. | % |
min_value | Lower boundary for allowed values. | 0.0 |
max_value | Upper boundary for allowed values. | 100.0 |
step | Increment/decrement step size. | 1.0 |
Supported Filters
Section titled “Supported Filters”| Filter | Description |
|---|---|
| (none) | Number does not currently support filters. |
Supported Platforms
Section titled “Supported Platforms”| Platform | Notes |
|---|---|
| Shell | Uses command_state for reads and command_set for writes. |
For platform-specific configuration options, use the linked platform pages.
Similar to ESPHome: Number