smart-home-engine 2.1.0 → 3.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import{m as O}from"./monaco-langs-DKJI_o9J.js";import{t as I}from"./index-DtW7-hC9.js";/*!-----------------------------------------------------------------------------
1
+ import{m as O}from"./monaco-langs-DKJI_o9J.js";import{t as I}from"./index-BZWF5ORr.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
4
  * Released under the MIT license
@@ -175,10 +175,10 @@
175
175
  }
176
176
  })();
177
177
  </script>
178
- <script type="module" crossorigin src="/assets/index-DtW7-hC9.js"></script>
178
+ <script type="module" crossorigin src="/assets/index-BZWF5ORr.js"></script>
179
179
  <link rel="modulepreload" crossorigin href="/assets/monaco-langs-DKJI_o9J.js">
180
180
  <link rel="stylesheet" crossorigin href="/assets/monaco-langs-DyX1CsEw.css">
181
- <link rel="stylesheet" crossorigin href="/assets/index-Bu5o4KXc.css">
181
+ <link rel="stylesheet" crossorigin href="/assets/index-CdLKmsX4.css">
182
182
  </head>
183
183
  <body>
184
184
  <div id="app"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-home-engine",
3
- "version": "2.1.0",
3
+ "version": "3.0.0-beta.0",
4
4
  "description": "Node.js based script runner for use in MQTT based Smart Home environments",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/config.js CHANGED
@@ -77,10 +77,30 @@ const config = require('yargs')
77
77
  type: 'number',
78
78
  })
79
79
  .option('timezone', {
80
- describe: 'IANA timezone for schedules (default: the system timezone)',
80
+ describe: 'IANA timezone for schedules and she.time (default: the system timezone)',
81
81
  default: '',
82
82
  type: 'string',
83
83
  })
84
+ .option('locale', {
85
+ describe: 'locale for the names and words she.time formats, e.g. en-US (default: de-DE)',
86
+ default: '',
87
+ type: 'string',
88
+ })
89
+ .option('holidays', {
90
+ describe: 'public-holiday region for she.time.isHoliday(), e.g. DE-BW or AT (default: none)',
91
+ default: '',
92
+ type: 'string',
93
+ })
94
+ .option('holidays-extra', {
95
+ describe: 'additional holidays for she.time: MM-DD or YYYY-MM-DD, optionally followed by a name',
96
+ type: 'array',
97
+ default: [],
98
+ })
99
+ .option('update-channel', {
100
+ describe: 'which GitHub releases the update check offers: stable (releases) or beta (pre-releases too)',
101
+ default: 'stable',
102
+ type: 'string',
103
+ })
84
104
  .option('variable-prefix', {
85
105
  describe: 'topic prefix for the variable system',
86
106
  default: 'var',