homebridge-delay-switch
Advanced tools
Comparing version 3.2.2 to 3.2.3
12
index.js
@@ -32,15 +32,15 @@ var Service, Characteristic; | ||
case 's': | ||
this.delay = this.delay * 1000; | ||
this.delayTime = this.delay * 1000; | ||
break; | ||
case 'm': | ||
this.delay = this.delay * 60 * 1000; | ||
this.delayTime = this.delay * 60 * 1000; | ||
break; | ||
case 'h': | ||
this.delay = this.delay * 60 * 60 * 1000; | ||
this.delayTime = this.delay * 60 * 60 * 1000; | ||
break; | ||
case 'd': | ||
this.delay = this.delay * 24 * 60 * 60 * 1000; | ||
this.delayTime = this.delay * 24 * 60 * 60 * 1000; | ||
break; | ||
default: | ||
this.delay = this.delay; | ||
this.delayTime = this.delay; | ||
break; | ||
@@ -154,3 +154,3 @@ } | ||
}.bind(this), this.delay); | ||
}.bind(this), this.delayTime); | ||
} | ||
@@ -157,0 +157,0 @@ } |
{ | ||
"name": "homebridge-delay-switch", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "Delay switches for Homebridge", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99542