mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
timeswitch node: time zone support; do not mark as misconfigured when sunrise/sunset not used and lat/lon not given (#757)
* timeswitch node: a) do not mark node as misconfigured if sunrise and sunset are not used and latitude/longitude are not given. b) support for specifying time zone when on and/or off times are not specified as sunrise and/or sunset. * Replaced moment dependency with spacetime * Timezone defaults to UTC for compatibility with previous node version
This commit is contained in:
committed by
GitHub
parent
c368e3bcd4
commit
d69da74843
@@ -3,6 +3,7 @@
|
||||
"version" : "0.0.8",
|
||||
"description" : "A Node-RED node to provide a simple timeswitch to schedule daily on/off events.",
|
||||
"dependencies" : {
|
||||
"spacetime": "^6.12.5",
|
||||
"suncalc": "^1.8.0"
|
||||
},
|
||||
"repository" : {
|
||||
|
||||
Reference in New Issue
Block a user