Skip to content

Commit 52f426b

Browse files
authored
Add unit of measurement (home-assistant#2337)
1 parent f45ea82 commit 52f426b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/_components/sensor.random.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ Configuration variables:
2929
- **name** (*Optional*): Name of the sensor to use in the frontend. Defaults to `Random Sensor`.
3030
- **minimum** (*Optional*): Lower limit for the values. Defaults to `0`.
3131
- **maximum** (*Optional*): Upper limit for the values. Defaults to `20`.
32+
- **unit_of_measurement** (*Optional*): Defines the units of measurement of the sensor, if any.
3233

0 commit comments

Comments
 (0)