File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1422,8 +1422,10 @@ HomeSeerEvent.prototype = {
14221422
14231423 if ( this . off_url == null && value != 0 )
14241424 {
1425- this . log ( this . name + ': Momentary switch reseting to 0' ) ;
1426- this . switchService . getCharacteristic ( Characteristic . On ) . setValue ( 0 ) ;
1425+ setTimeout ( function ( ) {
1426+ this . log ( this . name + ': Momentary switch reseting to 0' ) ;
1427+ this . switchService . getCharacteristic ( Characteristic . On ) . setValue ( 0 ) ;
1428+ } . bind ( this ) , 2000 ) ;
14271429 }
14281430
14291431 } . bind ( this ) ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " homebridge-homeseer-plugin" ,
3- "version" : " 1.0.12 " ,
3+ "version" : " 1.0.13 " ,
44 "description" : " Homeseer Plugin for homebridge: https://github.com/nfarina/homebridge" ,
55 "license" : " ISC" ,
66 "keywords" : [
You can’t perform that action at this time.
0 commit comments