Commit Graph

6 Commits

Author SHA1 Message Date
Pablo Acosta-Serafini d69da74843
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
2021-02-26 14:38:28 +00:00
Dave Conway-Jones 316a2fd272 Re-lint a load of nodes 2017-01-29 17:45:44 +00:00
Dave Conway-Jones a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Dave Conway-Jones b33571b240 correct output for timeswitch
(simple typo)
Also tidied up info etc…
push to close #176
2016-02-15 11:12:29 +00:00
Dave Conway-Jones 08ddfac83c fix ternary assignment in timeswitch. 2015-11-03 19:21:12 +00:00
Dave Conway-Jones 805287cad9 Initial push of timeswitch node 2015-11-02 17:24:27 +00:00