boneIO 1.3.0.dev16__py3-none-any.whl → 1.3.0.dev17__py3-none-any.whl
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.
- boneio/bonecli.py +4 -1
- boneio/core/config/yaml_util.py +266 -225
- boneio/core/manager/display.py +11 -1
- boneio/core/manager/manager.py +3 -0
- boneio/core/manager/remote.py +191 -237
- boneio/core/manager/sensors.py +282 -230
- boneio/core/messaging/__init__.py +9 -1
- boneio/core/messaging/composite.py +85 -0
- boneio/core/messaging/lox.py +221 -0
- boneio/core/messaging/loxone.py +181 -0
- boneio/core/messaging/mqtt.py +3 -0
- boneio/core/remote/__init__.py +1 -1
- boneio/core/remote/base.py +3 -3
- boneio/core/system/host_data.py +17 -0
- boneio/integration/homeassistant.py +9 -0
- boneio/integration/lox_template.py +243 -0
- boneio/models/events.py +17 -1
- boneio/runner.py +89 -64
- boneio/schema/remote_devices.yaml +8 -8
- boneio/schema/schema.yaml +39 -0
- boneio/version.py +1 -1
- boneio/webui/frontend-dist/assets/{ConfigEditor-BA-Cp1Kt.js → ConfigEditor-QHQCOrq6.js} +1 -1
- boneio/webui/frontend-dist/assets/{index-CCPsr7-u.css → index-BvmO3gdL.css} +1 -1
- boneio/webui/frontend-dist/assets/index-Dzdilk6s.js +44 -0
- boneio/webui/frontend-dist/assets/useTranslation-DjBDGbAU.js +13 -0
- boneio/webui/frontend-dist/index.html +3 -3
- boneio/webui/frontend-dist/schema/config.schema.json +80 -0
- boneio/webui/frontend-dist/schema/lox_udp.schema.json +64 -0
- boneio/webui/frontend-dist/schema/mqtt.schema.json +22 -0
- boneio/webui/frontend-dist/sw.js +1 -1
- boneio/webui/routes/config.py +319 -262
- boneio/webui/schema/config.schema.json +80 -0
- boneio/webui/schema/lox_udp.schema.json +64 -0
- boneio/webui/schema/mqtt.schema.json +22 -0
- {boneio-1.3.0.dev16.dist-info → boneio-1.3.0.dev17.dist-info}/METADATA +1 -1
- {boneio-1.3.0.dev16.dist-info → boneio-1.3.0.dev17.dist-info}/RECORD +40 -34
- boneio/webui/frontend-dist/assets/index-BPw0PLPj.js +0 -39
- boneio/webui/frontend-dist/assets/useTranslation-Cdm82kxW.js +0 -13
- {boneio-1.3.0.dev16.dist-info → boneio-1.3.0.dev17.dist-info}/WHEEL +0 -0
- {boneio-1.3.0.dev16.dist-info → boneio-1.3.0.dev17.dist-info}/entry_points.txt +0 -0
- {boneio-1.3.0.dev16.dist-info → boneio-1.3.0.dev17.dist-info}/licenses/LICENSE +0 -0
- {boneio-1.3.0.dev16.dist-info → boneio-1.3.0.dev17.dist-info}/top_level.txt +0 -0
boneio/bonecli.py
CHANGED
|
@@ -240,13 +240,16 @@ def run(
|
|
|
240
240
|
|
|
241
241
|
try:
|
|
242
242
|
_t1 = _time.monotonic()
|
|
243
|
-
_config = load_config_from_file(
|
|
243
|
+
_config = load_config_from_file(
|
|
244
|
+
config_file=config, progress_callback=draw_status,
|
|
245
|
+
)
|
|
244
246
|
_LOGGER.debug("[STARTUP TIMING] load_config_from_file: %.2fs", _time.monotonic() - _t1)
|
|
245
247
|
if not _config:
|
|
246
248
|
_LOGGER.error("Config not loaded. Exiting.")
|
|
247
249
|
draw_config_error("Config file is empty or missing")
|
|
248
250
|
return 1
|
|
249
251
|
configure_logger(log_config=_config.get("logger") or {}, debug=debug)
|
|
252
|
+
draw_status("Importing modules...")
|
|
250
253
|
# Granular timing of runner sub-imports to find the bottleneck
|
|
251
254
|
_t_a = _time.monotonic()
|
|
252
255
|
from boneio.const import ACTION
|