Update light.md (#2002)

This commit is contained in:
Markus Adrario 2023-12-07 12:20:06 +01:00 committed by GitHub
parent f56f4855d5
commit 90dfcc6e68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,8 +127,7 @@ BRIGHTNESS_SCALE = (1, 1023)
To scale the brightness to the device range:
```python
from homeassistant.util.color import value_to_brightness
from homeassistant.util.color import percentage_to_ranged_value
BRIGHTNESS_SCALE = (1, 1023)
...