@handcoding Here’s my tests and the corresponding logs:
A1) Only birghtnesss from off to 255
→ Nothing appends
2024-07-28 16:48:07.467 WARNING (MainThread) [homeassistant.components.system_log.external] easeInOutSine easing type with 100 ms delay. remainingTimeInMilliseconds = 39920, and absoluteBrightnessSpan = 255
2024-07-28 16:48:07.470 WARNING (MainThread) [homeassistant.components.system_log.external] startBrightness = 0, endBrightness = 255, and processingDelayInMilliseconds = 35
2024-07-28 16:48:08.605 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 1 brightness. (Linear brightness would have been 8.) Delay is 100 ms. Elapsed time is 1.24 seconds. (endBrightness is 255.)
2024-07-28 16:48:08.836 WARNING (MainThread) [homeassistant.components.system_log.external] Stopped Ashley’s Light Fader because Ampoule Tapo was turned off during the fade.
A2) Only birghtnesss from off to 100%
→ The light gets on but stay at 1% Brightess
2024-07-28 16:49:59.887 WARNING (MainThread) [homeassistant.components.system_log.external] easeInOutSine easing type with 297 ms delay. remainingTimeInMilliseconds = 39934, and absoluteBrightnessSpan = 100
2024-07-28 16:49:59.890 WARNING (MainThread) [homeassistant.components.system_log.external] startBrightness = 0, endBrightness = 100, and processingDelayInMilliseconds = 36
2024-07-28 16:50:02.261 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 1 brightness. (Linear brightness would have been 5.) Delay is 297 ms. Elapsed time is 2.45 seconds. (endBrightness is 100.)
2024-07-28 16:50:02.586 WARNING (MainThread) [homeassistant.components.system_log.external] Stopped Ashley’s Light Fader because Ampoule Tapo was turned off during the fade.
A3) Same after disable and enable the “Cancel the fade if the lamp is turned off during the fade?” Option
→ The light gets on but stay at 1% Brightess (Finaly i made a mistake on last post it doesn’t work)
2024-07-28 16:52:39.777 WARNING (MainThread) [homeassistant.components.system_log.external] easeInOutSine easing type with 297 ms delay. remainingTimeInMilliseconds = 39945, and absoluteBrightnessSpan = 100
2024-07-28 16:52:39.780 WARNING (MainThread) [homeassistant.components.system_log.external] startBrightness = 0, endBrightness = 100, and processingDelayInMilliseconds = 36
2024-07-28 16:52:42.153 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 1 brightness. (Linear brightness would have been 5.) Delay is 297 ms. Elapsed time is 2.44 seconds. (endBrightness is 100.)
2024-07-28 16:52:42.473 WARNING (MainThread) [homeassistant.components.system_log.external] Stopped Ashley’s Light Fader because Ampoule Tapo was turned off during the fade.
A4) Same after disable the “Cancel the fade if the lamp is turned off during the fade?” Option
…
Too much things in the log because it’s working
B1) Now Brightess and Color (Always with the “Cancel the fade if the lamp is turned off during the fade?” option disable)
From off to 255 Brightness
From 2500K to 6500K
→ As you see the color change but not the Brightness
2024-07-28 17:01:11.487 WARNING (MainThread) [homeassistant.components.system_log.external] easeInOutSine easing type with 100 ms delay. remainingTimeInMilliseconds = 19900, absoluteColorTemperatureSpan = 4000, and absoluteBrightnessSpan = 0
2024-07-28 17:01:11.490 WARNING (MainThread) [homeassistant.components.system_log.external] startBrightness = 255, endBrightness = 255, startColorTemperature = 2500, endColorTemperature = 6500, and processingDelayInMilliseconds = 78
2024-07-28 17:01:11.843 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 2502°K. Delay is 100 ms. Elapsed time is 0.46 seconds. (endColorTemperature is 6500.)
2024-07-28 17:01:12.498 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 2509°K. Delay is 100 ms. Elapsed time is 1.12 seconds. (endColorTemperature is 6500.)
2024-07-28 17:01:13.171 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 2538°K. Delay is 100 ms. Elapsed time is 1.8 seconds. (endColorTemperature is 6500.)
2024-07-28 17:01:13.892 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 2591°K. Delay is 100 ms. Elapsed time is 2.52 seconds. (endColorTemperature is 6500.)
2024-07-28 17:01:14.279 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 2670°K. Delay is 100 ms. Elapsed time is 2.9 seconds. (endColorTemperature is 6500.)
[...]
2024-07-28 17:01:29.518 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 6331°K. Delay is 100 ms. Elapsed time is 18.14 seconds. (endColorTemperature is 6500.)
2024-07-28 17:01:30.180 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 6427°K. Delay is 100 ms. Elapsed time is 18.81 seconds. (endColorTemperature is 6500.)
2024-07-28 17:01:30.838 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 6472°K. Delay is 100 ms. Elapsed time is 19.46 seconds. (endColorTemperature is 6500.)
2024-07-28 17:01:31.555 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 6496°K. Delay is 100 ms. Elapsed time is 20.18 seconds. (endColorTemperature is 6500.)
2024-07-28 17:01:32.219 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 6500°K. Elapsed time is 20.85 seconds.
B2) And finally:
From 1 to 255 Brightness
From 2500K to 6500K
→ Stay at 1% Brightness, the color change but the script ends because of brightness error over 10%
2024-07-28 17:08:46.094 WARNING (MainThread) [homeassistant.components.system_log.external] easeInOutSine easing type with 100 ms delay. remainingTimeInMilliseconds = 19954, absoluteColorTemperatureSpan = 4000, and absoluteBrightnessSpan = 252
2024-07-28 17:08:46.097 WARNING (MainThread) [homeassistant.components.system_log.external] startBrightness = 3, endBrightness = 255, startColorTemperature = 2500, endColorTemperature = 6500, and processingDelayInMilliseconds = 31
2024-07-28 17:08:46.432 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 3 brightness and 2501°K. (Linear brightness would have been 6.) Delay is 100 ms. Elapsed time is 0.4 seconds. (endBrightness is 255 and endColorTemperature is 6500.)
2024-07-28 17:08:47.089 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 3 brightness and 2507°K. (Linear brightness would have been 10.) Delay is 100 ms. Elapsed time is 1.06 seconds. (endBrightness is 255 and endColorTemperature is 6500.)
2024-07-28 17:08:47.760 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 5 brightness and 2535°K. (Linear brightness would have been 18.) Delay is 100 ms. Elapsed time is 1.73 seconds. (endBrightness is 255 and endColorTemperature is 6500.)
2024-07-28 17:08:48.129 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 8 brightness and 2584°K. (Linear brightness would have been 26.) Delay is 100 ms. Elapsed time is 2.1 seconds. (endBrightness is 255 and endColorTemperature is 6500.)
2024-07-28 17:08:48.789 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 11 brightness and 2621°K. (Linear brightness would have been 31.) Delay is 100 ms. Elapsed time is 2.76 seconds. (endBrightness is 255 and endColorTemperature is 6500.)
2024-07-28 17:08:49.739 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 16 brightness and 2703°K. (Linear brightness would have been 39.) Delay is 100 ms. Elapsed time is 3.71 seconds. (endBrightness is 255 and endColorTemperature is 6500.)
2024-07-28 17:08:50.090 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 25 brightness and 2851°K. (Linear brightness would have been 51.) Delay is 100 ms. Elapsed time is 4.06 seconds. (endBrightness is 255 and endColorTemperature is 6500.)
2024-07-28 17:08:50.745 WARNING (MainThread) [homeassistant.components.system_log.external] Set Ampoule Tapo to 29 brightness and 2916°K. (Linear brightness would have been 56.) Delay is 100 ms. Elapsed time is 4.71 seconds. (endBrightness is 255 and endColorTemperature is 6500.)
2024-07-28 17:08:50.872 WARNING (MainThread) [homeassistant.components.system_log.external] Stopped Ashley’s Light Fader because Ampoule Tapo was found to be at 1%, a difference of 10 percentage points from the expected brightness of 11%, which is higher than the auto-cancel threshold of 10 percentage points
Hope its helping