diff --git a/tasmota/tasmota_xdrv_driver/xdrv_04_light_utils.ino b/tasmota/tasmota_xdrv_driver/xdrv_04_light_utils.ino index ebe69a08f..1a4412962 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_04_light_utils.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_04_light_utils.ino @@ -33,13 +33,16 @@ typedef struct gamma_table_t { const gamma_table_t ac_dimmer_table[] = { // don't put in PROGMEM for performance reasons { 0, 0 }, + { 1, 64 }, { 5, 144 }, { 10, 205 }, { 50, 500 }, { 90, 795 }, { 95, 866 }, + { 99, 936 }, { 100, 1000 }, { 0xFFFF, 0xFFFF } // fail-safe if out of range + { 0xFFFF, 0xFFFF } // fail-safe if out of range }; const gamma_table_t gamma_table[] = { // don't put in PROGMEM for performance reasons