Update light.md (#2089)

This commit is contained in:
Robert Contreras 2024-03-06 02:36:39 -08:00 committed by GitHub
parent 1179d61779
commit 931203972d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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