From 931203972dd1a2f78142218329c0657b3791ddfe Mon Sep 17 00:00:00 2001 From: Robert Contreras Date: Wed, 6 Mar 2024 02:36:39 -0800 Subject: [PATCH] Update light.md (#2089) --- docs/core/entity/light.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/entity/light.md b/docs/core/entity/light.md index 279dd692..64a5fcd2 100644 --- a/docs/core/entity/light.md +++ b/docs/core/entity/light.md @@ -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) ...