File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,8 @@ export default class Refrigerator extends baseDevice {
214
214
. setProps ( {
215
215
minValue : Characteristic . TargetHeatingCoolingState . COOL ,
216
216
maxValue : Characteristic . TargetHeatingCoolingState . COOL ,
217
- } ) ;
217
+ } )
218
+ . updateValue ( Characteristic . TargetHeatingCoolingState . COOL ) ;
218
219
service . setCharacteristic ( Characteristic . TargetHeatingCoolingState , Characteristic . TargetHeatingCoolingState . COOL ) ;
219
220
220
221
service . getCharacteristic ( Characteristic . TemperatureDisplayUnits ) . setProps ( {
@@ -252,7 +253,8 @@ export default class Refrigerator extends baseDevice {
252
253
253
254
await this . setTemperature ( key , indexValue ) ;
254
255
} )
255
- . setProps ( { minValue : Math . min ( ...values ) , maxValue : Math . max ( ...values ) , minStep : isCelsius ? 1 : 0.1 } ) ;
256
+ . setProps ( { minValue : Math . min ( ...values ) , maxValue : Math . max ( ...values ) , minStep : isCelsius ? 1 : 0.1 } )
257
+ . updateValue ( Math . min ( ...values ) ) ;
256
258
257
259
return service ;
258
260
}
You can’t perform that action at this time.
0 commit comments