Commit 0f2fe92 1 parent de63531 commit 0f2fe92 Copy full SHA for 0f2fe92
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 @@ -82,7 +82,7 @@ SunPositionAccessory.prototype.updatePosition = function() {
82
82
var times = suncalc . getTimes ( now , this . location . lat , this . location . long ) ;
83
83
84
84
// Arbitrary lux values for times.
85
- var lux = 0 ;
85
+ var lux = 0.0001 ;
86
86
if ( now >= times . sunrise && now <= times . sunriseEnd ) {
87
87
lux = 400 ;
88
88
} else if ( now > times . sunriseEnd && now <= times . goldenHourEnd ) {
@@ -96,7 +96,7 @@ SunPositionAccessory.prototype.updatePosition = function() {
96
96
} else if ( now >= times . nightEnd && now < times . sunrise ) {
97
97
lux = 40 ;
98
98
} else if ( now > times . goldenHourEnd && now < times . goldenHour ) {
99
- lux = 120000 ;
99
+ lux = 100000 ;
100
100
}
101
101
102
102
this . service . setCharacteristic ( Characteristic . CurrentAmbientLightLevel , lux ) ;
You can’t perform that action at this time.
0 commit comments