File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ class Hue extends utils.Adapter {
633
633
return ;
634
634
}
635
635
636
- finalLS . ct = Math . max ( 2200 , Math . min ( 6500 , ls . ct ) ) ;
636
+ finalLS . ct = Math . max ( 2000 , Math . min ( 6500 , ls . ct ) ) ;
637
637
finalLS . ct = hueHelper . miredToKelvin ( finalLS . ct ) ;
638
638
639
639
lightState = lightState . ct ( finalLS . ct ) ;
@@ -746,7 +746,7 @@ class Hue extends utils.Adapter {
746
746
lightState = lightState . hue ( finalLS . hue ) ;
747
747
}
748
748
if ( 'ct_inc' in ls && ! ( 'ct' in finalLS ) && 'ct' in alls ) {
749
- alls . ct = 500 - 153 - ( ( alls . ct - 2200 ) / ( 6500 - 2200 ) ) * ( 500 - 153 ) + 153 ;
749
+ alls . ct = 500 - 153 - ( ( alls . ct - 2000 ) / ( 6500 - 2000 ) ) * ( 500 - 153 ) + 153 ;
750
750
751
751
finalLS . ct = ( ( ( ( alls . ct - 153 + ls . ct_inc ) % 348 ) + 348 ) % 348 ) + 153 ;
752
752
if ( ! lampOn && ( ! ( 'bri' in ls ) || ls . bri === 0 ) && this . config . turnOnWithOthers ) {
You can’t perform that action at this time.
0 commit comments