boneio 1.5.0.dev2__tar.gz → 1.5.0.dev3__tar.gz
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-1.5.0.dev2/boneio.egg-info → boneio-1.5.0.dev3}/PKG-INFO +1 -1
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/cover/cover.py +2 -2
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/irrigation/controller.py +16 -1
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/irrigation.py +3 -3
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/manager.py +34 -1
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/client.py +100 -0
- boneio-1.5.0.dev3/boneio/version.py +2 -0
- boneio-1.5.0.dev2/boneio/webui/frontend-dist/assets/ConfigEditor-DVdxuuOd.js → boneio-1.5.0.dev3/boneio/webui/frontend-dist/assets/ConfigEditor-DaxrGxsh.js +1 -1
- boneio-1.5.0.dev2/boneio/webui/frontend-dist/assets/aiWizardPrompt-Qk4nus2t.js → boneio-1.5.0.dev3/boneio/webui/frontend-dist/assets/aiWizardPrompt-D9Tr5iGZ.js +1 -1
- boneio-1.5.0.dev2/boneio/webui/frontend-dist/assets/index-Bz9etcWZ.js → boneio-1.5.0.dev3/boneio/webui/frontend-dist/assets/index-B5k6qEwR.js +14 -14
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/index.html +1 -1
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/sw.js +1 -1
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/modbus.py +80 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3/boneio.egg-info}/PKG-INFO +1 -1
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio.egg-info/SOURCES.txt +3 -3
- boneio-1.5.0.dev2/boneio/version.py +0 -2
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/LICENSE +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/MANIFEST.in +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/README.md +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.2/input.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.2/output_24_16.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.2/output_32_10.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.2/output_32_5.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.2/output_cover.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.2/output_cover_mix.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.3/input.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.3/output_24_16.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.3/output_32_10.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.3/output_32_5.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.3/output_cover.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.3/output_cover_mix.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.4/input.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.4/output_24_16.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.4/output_32_10.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.4/output_32_5.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.4/output_cover.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.4/output_cover_mix.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.5/input.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.5/output_24_16.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.5/output_32_10.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.5/output_cover.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.5/output_cover_mix.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.6/input.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.6/output_24_16.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.6/output_32_10.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.6/output_cover.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.6/output_cover_mix.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.7/input.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.7/output_24_16.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.7/output_32_10.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.7/output_48_4.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.7/output_cover.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.7/output_cover_mix.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.8/input.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.8/output_24_16.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.8/output_32_10.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.8/output_48_4.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.8/output_cover.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/boards/0.8/output_cover_mix.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/bonecli.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/cover/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/cover/time_based.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/cover/venetian.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/group/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/group/output_group.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/input/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/input/binary_sensor.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/input/detectors.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/input/event.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/input/remote/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/input/remote/base.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/input/remote/esphome.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/irrigation/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/irrigation/water_source.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/output/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/output/basic.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/output/mcp.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/output/pca.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/output/pcf.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/output/remote.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/sensor/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/sensor/virtual_energy.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/template/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/template/alarm_panel.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/template/gate_cover.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/components/template/thermostat.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/const.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/cloud/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/cloud/data/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/cloud/data/docker-compose-cloud.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/cloud/data/docker-compose.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/cloud/data/init-certs-cloud.sh +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/cloud/registration.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/cloud/secrets.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/config/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/config/config_helper.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/config/migrations/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/config/migrations/v1_proxy_port.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/config/migrations/v2_transition.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/config/package-lock.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/config/package.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/config/schema_converter.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/config/yaml_util.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/discovery.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/events/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/events/bus.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/action_conditions.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/canopen.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/covers.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/display.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/inputs.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/modbus.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/outputs.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/remote.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/remote_input_registrar.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/sensors.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/templates/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/templates/alarm.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/templates/gate_cover.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/templates/thermostat.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/templates.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/manager/update.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/messaging/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/messaging/basic.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/messaging/basic_mqtt.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/messaging/composite.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/messaging/local.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/messaging/lox.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/messaging/mqtt.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/messaging/queue.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/remote/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/remote/base.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/remote/can.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/remote/esphome.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/remote/mqtt.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/remote/wled.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/sensor/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/sensor/base.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/sensor/system.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/state/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/state/manager.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/system/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/system/host_data.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/system/monitor.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/utils/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/utils/async_updater.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/utils/conditions.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/utils/filter.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/utils/font_util.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/utils/logger.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/utils/timeperiod.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/core/utils/util.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/24x16/adc.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/24x16/binary_sensor.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/24x16/config.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/24x16/event.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/24x16/mqtt.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/24x16/output24x16A.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/32x10/adc.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/32x10/binary_sensor.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/32x10/config.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/32x10/event.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/32x10/mqtt.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/32x10/output32x10A.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/48x4/adc.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/48x4/binary_sensor.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/48x4/config.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/48x4/event.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/48x4/mqtt.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/48x4/output48x4A.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/can_master.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/can_slave.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover/adc.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover/binary_sensor.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover/config.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover/cover.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover/event.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover/mqtt.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover/outputCover.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover_mix/adc.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover_mix/binary_sensor.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover_mix/config.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover_mix/cover.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover_mix/event.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover_mix/mqtt.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/cover_mix/outputCoverMix.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/adc.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/all_binary_sensor.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/binary_sensor.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/binary_sensor_v_0_7.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/config_24_16.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/event_all.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/event_v_0_7.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/led32x4A.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/output24x16A.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/output24x16A_v0.3.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/output32x10A.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/example_config/different_configs/output32x5A.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/exceptions.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/analog/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/analog/adc.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/can/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/can/bridge.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/can/client.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/can/interface.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/can/node.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/can/node_id.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/can/test_od.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/display/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/display/early_oled.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/display/fonts/danube__.ttf +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/display/oled.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/gpio/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/gpio/expanders/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/gpio/expanders/mcp23017.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/gpio/expanders/pca9685.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/gpio/expanders/pcf8575.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/gpio/input/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/gpio/input/base.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/gpio/input/manager.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/i2c/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/i2c/bus.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/i2c/ina219.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/i2c/ina219_driver.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/i2c/mcp9808.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/i2c/pct2075.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/onewire/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/onewire/bus.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/onewire/dallas.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/onewire/ds2482.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/sensor/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/sensor/temperature/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/sensor/temperature/base.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/sensor/temperature/mcp9808.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/hardware/sensor/temperature/pct2075.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/integration/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/integration/homeassistant.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/integration/interlock.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/integration/lox_template.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/actions.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/MANIFEST.sha256 +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/docker/daemon.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/docker/nodered/caddy/502.html +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/docker/nodered/caddy/init-certs.sh +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/docker/nodered/docker-compose.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/docker/nodered/nginx/default.conf +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/docker/nodered/node-red/settings.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/journald/journald.conf +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/mosquitto/boneio.conf +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/sudoers/boneio +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/systemd/boneio-oled-boot.service +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/systemd/boneio-oled-shutdown.service +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/systemd/boneio.service +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/systemd/set-hostname-once.service +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/usr-local-bin/set-hostname-once.sh +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/usr-sbin/oled_boot_splash.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/usr-sbin/oled_boot_splash.sh +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/usr-sbin/oled_msg.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/assets/usr-sbin/oled_msg.sh +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/bootstrap/boneio-migrate +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/bootstrap/install-helper.sh +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/bootstrap/sudoers-migrate +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/runner.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/versions/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/versions/v1_3_0_baseline.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/versions/v1_3_1_fix_oled_boot.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/versions/v1_3_2_cleanup_can_sudoers.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/versions/v1_4_0_fix_mqtt_sudoers.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/versions/v1_4_3_oled_shutdown.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/versions/v1_4_4_caddy.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/migrations/versions/v1_5_0_fix_oled_fifo_permissions.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/cli.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/coordinator.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/energy_meters/le-03mw.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/energy_meters/le-03mwct.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/energy_meters/orno-or-we-517.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/energy_meters/sdm120.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/energy_meters/sdm630.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/energy_meters/socomec_e03.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/energy_meters/socomec_e23.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/hvac/eht-topventil-plus.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/hvac/fujitsu-ac.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/hvac/ventclear.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/inverters/sofar.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/inverters/thessla.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/other/esp32_relay_x4_modbus.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/other/n4dsc08.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/other/r4dcb08.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/other/wanas415.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/sensors/boneio-edge-temp.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/sensors/cwt.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/sensors/dts1964_3f.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/sensors/dyp-a12-ultrasonic.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/sensors/gdfs.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/sensors/gdfx.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/sensors/liquid-sensor.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/sensors/pt100.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/sensors/sht20.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/devices/sensors/sht30.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/base.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/derived/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/derived/numeric.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/derived/select.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/derived/switch.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/derived/text.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/sensor/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/sensor/binary.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/sensor/numeric.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/sensor/text.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/writeable/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/writeable/binary.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/entities/writeable/numeric.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/modbus/utils.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/models/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/models/actions.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/models/events.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/models/files.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/models/logs.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/models/mqtt.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/models/state.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/runner.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/actions.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/actions_sensor.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/actions_switch.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/condition.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/filters.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/filters_adc.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/id.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/remote_devices.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/remote_inputs.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/remote_outputs.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/schema.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/temp_unit.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/schema/update_interval.yaml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/action_validation.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/app.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/dashboard_cards.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/codicon-ngg6Pgfi.ttf +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/css.worker-CvXBzhp8.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/editor.worker-Cn2oRESe.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/html.worker-BO6WuOEO.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/index-CJECcrbK.css +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/json.worker-BkJRGcCJ.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/monaco-61yH0vfd.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/monaco-Br_kD0ds.css +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/rolldown-runtime-QTnfLwEv.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/ts.worker-B0J26iPs.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/vendor-pmGLHP0_.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/workbox-window.prod.es5-Bd17z0YL.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/assets/yaml.worker-BKRoXlmz.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/boneio-192.png +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/boneio-512.png +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/boneio.svg +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/boneio_fav.svg +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/adc.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/areas.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/binary_sensor.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/boneio.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/can.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/config.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/cover.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/dallas.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/ds2482.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/event.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/ina219.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/irrigation.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/lm75.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/logger.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/lox_udp.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/mcp23017.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/mcp9808.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/modbus.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/modbus_devices.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/mqtt.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/oled.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/output.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/output_group.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/pca9685.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/pcf8575.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/remote_devices.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/remote_inputs.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/remote_outputs.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/sensor.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/template.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/virtual_energy_sensor.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/schema/web.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/frontend-dist/workbox-4918f2f6.js +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/middleware/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/middleware/auth.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/auth.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/caddy.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/can.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/config.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/covers.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/dashboard.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/irrigation.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/migrations.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/outputs.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/remote_devices.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/sensors.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/system.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/templates.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/timezone_sudoers.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/tools.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/routes/update.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/adc.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/areas.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/binary_sensor.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/boneio.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/can.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/config.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/cover.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/dallas.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/ds2482.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/event.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/ina219.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/irrigation.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/lm75.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/logger.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/lox_udp.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/mcp23017.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/mcp9808.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/modbus.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/modbus_devices.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/mqtt.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/oled.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/output.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/output_group.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/pca9685.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/pcf8575.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/remote_devices.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/remote_inputs.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/remote_outputs.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/sensor.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/template.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/virtual_energy_sensor.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/schema/web.schema.json +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/services/__init__.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/services/logs.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/web_server.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio/webui/websocket_manager.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio.egg-info/dependency_links.txt +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio.egg-info/entry_points.txt +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio.egg-info/requires.txt +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/boneio.egg-info/top_level.txt +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/pyproject.toml +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/setup.cfg +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/setup.py +0 -0
- {boneio-1.5.0.dev2 → boneio-1.5.0.dev3}/tests/test_py313_compatibility.py +0 -0
|
@@ -386,8 +386,8 @@ class BaseCover(BaseCoverABC, BasicMqtt):
|
|
|
386
386
|
**json_position,
|
|
387
387
|
)
|
|
388
388
|
self._event_bus.trigger_event(CoverEvent(entity_id=self.id, state=event))
|
|
389
|
-
self._message_bus.send_message(topic=f"{self._send_topic}/state", payload=state)
|
|
390
|
-
self._message_bus.send_message(topic=f"{self._send_topic}/pos", payload=json.dumps(json_position))
|
|
389
|
+
self._message_bus.send_message(topic=f"{self._send_topic}/state", payload=state, retain=True)
|
|
390
|
+
self._message_bus.send_message(topic=f"{self._send_topic}/pos", payload=json.dumps(json_position), retain=True)
|
|
391
391
|
|
|
392
392
|
@property
|
|
393
393
|
def saved_position(self) -> SavedPositionDict:
|
|
@@ -419,6 +419,12 @@ class IrrigationController:
|
|
|
419
419
|
)
|
|
420
420
|
|
|
421
421
|
async def shutdown(self) -> None:
|
|
422
|
+
"""Stop the active irrigation cycle without killing schedule tasks.
|
|
423
|
+
|
|
424
|
+
This method is safe to call from within a schedule task — it does NOT
|
|
425
|
+
cancel schedule loops. Use :meth:`full_stop` to tear down the
|
|
426
|
+
controller completely (including schedule tasks).
|
|
427
|
+
"""
|
|
422
428
|
_LOGGER.debug(
|
|
423
429
|
"Irrigation %s shutdown called (state=%s, active_zone=%s). Caller: %s",
|
|
424
430
|
self.id,
|
|
@@ -426,7 +432,6 @@ class IrrigationController:
|
|
|
426
432
|
self._active_zone_idx,
|
|
427
433
|
"".join(traceback.format_stack(limit=5)),
|
|
428
434
|
)
|
|
429
|
-
self.stop_schedules()
|
|
430
435
|
self._cancel_pause_timer()
|
|
431
436
|
await self._stop_current_zone()
|
|
432
437
|
await self._handle_pump_stop_sequence()
|
|
@@ -437,6 +442,16 @@ class IrrigationController:
|
|
|
437
442
|
self._single_zone_target_idx = None
|
|
438
443
|
await self.publish_all_states()
|
|
439
444
|
|
|
445
|
+
async def full_stop(self) -> None:
|
|
446
|
+
"""Fully stop the controller including schedule tasks.
|
|
447
|
+
|
|
448
|
+
Should only be called by the IrrigationManager when stopping
|
|
449
|
+
or reloading controllers — never from within a schedule task.
|
|
450
|
+
"""
|
|
451
|
+
_LOGGER.info("Irrigation %s full_stop: stopping schedules and active cycle", self.id)
|
|
452
|
+
self.stop_schedules()
|
|
453
|
+
await self.shutdown()
|
|
454
|
+
|
|
440
455
|
async def pause(self) -> None:
|
|
441
456
|
if self._state != ControllerState.RUNNING or self._active_zone_idx is None:
|
|
442
457
|
return
|
|
@@ -226,7 +226,7 @@ class IrrigationManager:
|
|
|
226
226
|
self._subscribed_topics.clear()
|
|
227
227
|
|
|
228
228
|
for ctrl in self._controllers.values():
|
|
229
|
-
await ctrl.
|
|
229
|
+
await ctrl.full_stop()
|
|
230
230
|
|
|
231
231
|
async def reload_irrigation(self) -> None:
|
|
232
232
|
"""Reload irrigation configuration from file.
|
|
@@ -256,7 +256,7 @@ class IrrigationManager:
|
|
|
256
256
|
ctrl = self._controllers[ctrl_id]
|
|
257
257
|
_LOGGER.info("Removing irrigation controller '%s'", ctrl_id)
|
|
258
258
|
ctrl.stop_schedules()
|
|
259
|
-
await ctrl.
|
|
259
|
+
await ctrl.full_stop()
|
|
260
260
|
# Remove HA discovery for this controller
|
|
261
261
|
self._remove_discovery(ctrl)
|
|
262
262
|
del self._controllers[ctrl_id]
|
|
@@ -271,7 +271,7 @@ class IrrigationManager:
|
|
|
271
271
|
if ctrl_id in self._controllers:
|
|
272
272
|
old_ctrl = self._controllers[ctrl_id]
|
|
273
273
|
old_ctrl.stop_schedules()
|
|
274
|
-
await old_ctrl.
|
|
274
|
+
await old_ctrl.full_stop()
|
|
275
275
|
del self._controllers[ctrl_id]
|
|
276
276
|
|
|
277
277
|
# Build new controller
|
|
@@ -1692,7 +1692,9 @@ class Manager:
|
|
|
1692
1692
|
async def reconnect_callback(self) -> None:
|
|
1693
1693
|
"""Function to invoke when connection to MQTT is (re-)established.
|
|
1694
1694
|
|
|
1695
|
-
Sends online status to MQTT
|
|
1695
|
+
Sends online status to MQTT, resends all entity states with retain
|
|
1696
|
+
so that Home Assistant immediately knows device positions after a
|
|
1697
|
+
broker restart, and starts template MQTT subscriptions.
|
|
1696
1698
|
|
|
1697
1699
|
IMPORTANT: This is called on every MQTT reconnect, not just the first
|
|
1698
1700
|
connection. Schedule tasks must NOT be restarted here — they are
|
|
@@ -1708,10 +1710,41 @@ class Manager:
|
|
|
1708
1710
|
# Immediately refresh OLED MQTT status (event-driven, no polling delay)
|
|
1709
1711
|
self.display.notify_mqtt_state_changed()
|
|
1710
1712
|
|
|
1713
|
+
# Resend all entity states with retain so HA has correct state
|
|
1714
|
+
# after a broker restart (retained messages may have been lost).
|
|
1715
|
+
_LOGGER.info("Resending all entity states after MQTT reconnect.")
|
|
1716
|
+
await self._resend_all_states()
|
|
1717
|
+
|
|
1711
1718
|
# Start template entities (subscribe to MQTT command topics)
|
|
1712
1719
|
await self.templates.start()
|
|
1713
1720
|
await self.irrigation.reconnect()
|
|
1714
1721
|
|
|
1722
|
+
async def _resend_all_states(self) -> None:
|
|
1723
|
+
"""Resend current state of all entities via MQTT with retain.
|
|
1724
|
+
|
|
1725
|
+
Called on MQTT reconnect to ensure the broker has up-to-date
|
|
1726
|
+
retained messages after a broker restart. Each entity's
|
|
1727
|
+
``send_state`` / ``async_send_state`` already publishes with
|
|
1728
|
+
``retain=True``, so calling them here refreshes the broker's
|
|
1729
|
+
retained store.
|
|
1730
|
+
"""
|
|
1731
|
+
# Resend output states
|
|
1732
|
+
for output in self.outputs.get_all_outputs().values():
|
|
1733
|
+
try:
|
|
1734
|
+
if output.output_type not in ("cover", "none"):
|
|
1735
|
+
await output.async_send_state()
|
|
1736
|
+
except Exception as e:
|
|
1737
|
+
_LOGGER.debug("Error resending output state %s: %s", output.id, e)
|
|
1738
|
+
|
|
1739
|
+
# Resend cover states (send_state now uses retain=True)
|
|
1740
|
+
self.covers._broadcast_all_states()
|
|
1741
|
+
|
|
1742
|
+
_LOGGER.info(
|
|
1743
|
+
"Resent states: %d outputs, %d covers.",
|
|
1744
|
+
len([o for o in self.outputs.get_all_outputs().values() if o.output_type not in ("cover", "none")]),
|
|
1745
|
+
len(self.covers.get_all_covers()),
|
|
1746
|
+
)
|
|
1747
|
+
|
|
1715
1748
|
async def receive_message(self, topic: str, message: str) -> None:
|
|
1716
1749
|
"""Callback for receiving MQTT messages.
|
|
1717
1750
|
|
|
@@ -578,3 +578,103 @@ class Modbus:
|
|
|
578
578
|
if self._inter_device_delay > 0:
|
|
579
579
|
await asyncio.sleep(self._inter_device_delay)
|
|
580
580
|
return result
|
|
581
|
+
|
|
582
|
+
def write_registers_blocking(self, unit: int | str, address: int, values: list[int]):
|
|
583
|
+
"""Write multiple registers blocking (synchronous) - FC16.
|
|
584
|
+
|
|
585
|
+
Sends a Modbus FC16 (Write Multiple Registers) request to write
|
|
586
|
+
a list of 16-bit values starting at the given register address.
|
|
587
|
+
|
|
588
|
+
Args:
|
|
589
|
+
unit: Device address (1-247).
|
|
590
|
+
address: Starting register address.
|
|
591
|
+
values: List of 16-bit integer values to write.
|
|
592
|
+
|
|
593
|
+
Returns:
|
|
594
|
+
Pymodbus response object on success, None on failure.
|
|
595
|
+
"""
|
|
596
|
+
start_time = time.perf_counter()
|
|
597
|
+
result = None
|
|
598
|
+
try:
|
|
599
|
+
connected = self._pymodbus_connect()
|
|
600
|
+
if not connected:
|
|
601
|
+
_LOGGER.error("Can't connect to Modbus.")
|
|
602
|
+
return None
|
|
603
|
+
|
|
604
|
+
_LOGGER.debug(
|
|
605
|
+
"Writing %d registers starting at %s with values %s to device %s (FC16).",
|
|
606
|
+
len(values),
|
|
607
|
+
address,
|
|
608
|
+
values,
|
|
609
|
+
unit,
|
|
610
|
+
)
|
|
611
|
+
|
|
612
|
+
assert self._client is not None
|
|
613
|
+
result = self._client.write_registers(
|
|
614
|
+
address=address, values=values, device_id=int(unit)
|
|
615
|
+
)
|
|
616
|
+
|
|
617
|
+
if isinstance(result, ExceptionResponse):
|
|
618
|
+
_LOGGER.error("FC16 write operation failed: %s", result)
|
|
619
|
+
result = None
|
|
620
|
+
|
|
621
|
+
except ValueError as exception_error:
|
|
622
|
+
_LOGGER.error("ValueError: Error writing multiple registers: %s", exception_error)
|
|
623
|
+
except (ModbusException, struct.error) as exception_error:
|
|
624
|
+
_LOGGER.error("ModbusException: Error writing multiple registers: %s", exception_error)
|
|
625
|
+
except TimeoutError:
|
|
626
|
+
_LOGGER.error("Timeout writing multiple registers to device %s", unit)
|
|
627
|
+
except asyncio.CancelledError as err:
|
|
628
|
+
_LOGGER.error("Operation cancelled writing multiple registers to device %s: %s", unit, err)
|
|
629
|
+
except Exception as e:
|
|
630
|
+
_LOGGER.error("Unexpected error writing multiple registers: %s - %s", type(e).__name__, e)
|
|
631
|
+
finally:
|
|
632
|
+
end_time = time.perf_counter()
|
|
633
|
+
_LOGGER.debug(
|
|
634
|
+
"FC16 write completed in %.3f seconds.",
|
|
635
|
+
end_time - start_time,
|
|
636
|
+
)
|
|
637
|
+
return result
|
|
638
|
+
|
|
639
|
+
async def write_registers(self, unit: int | str, address: int, values: list[int]):
|
|
640
|
+
"""Write multiple registers async (FC16).
|
|
641
|
+
|
|
642
|
+
Returns None immediately when suspended.
|
|
643
|
+
|
|
644
|
+
Args:
|
|
645
|
+
unit: Device address (1-247).
|
|
646
|
+
address: Starting register address.
|
|
647
|
+
values: List of 16-bit integer values to write.
|
|
648
|
+
"""
|
|
649
|
+
if self._suspended:
|
|
650
|
+
return None
|
|
651
|
+
async with self._lock:
|
|
652
|
+
result = await self._loop.run_in_executor(
|
|
653
|
+
self._executor, self.write_registers_blocking, unit, address, values
|
|
654
|
+
)
|
|
655
|
+
if self._inter_device_delay > 0:
|
|
656
|
+
await asyncio.sleep(self._inter_device_delay)
|
|
657
|
+
return result
|
|
658
|
+
|
|
659
|
+
async def write_registers_direct(self, unit: int | str, address: int, values: list[int]):
|
|
660
|
+
"""Write multiple registers bypassing the suspend check (FC16).
|
|
661
|
+
|
|
662
|
+
Used by Tools API for manual writes while coordinators are
|
|
663
|
+
suspended. Still acquires the UART lock to serialize access.
|
|
664
|
+
|
|
665
|
+
Args:
|
|
666
|
+
unit: Device address (1-247).
|
|
667
|
+
address: Starting register address.
|
|
668
|
+
values: List of 16-bit integer values to write.
|
|
669
|
+
"""
|
|
670
|
+
async with self._lock:
|
|
671
|
+
result = await self._loop.run_in_executor(
|
|
672
|
+
self._executor,
|
|
673
|
+
self.write_registers_blocking,
|
|
674
|
+
unit,
|
|
675
|
+
address,
|
|
676
|
+
values,
|
|
677
|
+
)
|
|
678
|
+
if self._inter_device_delay > 0:
|
|
679
|
+
await asyncio.sleep(self._inter_device_delay)
|
|
680
|
+
return result
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{a as t,c as n,i as r,n as i,o as a,r as o,t as s}from"./monaco-61yH0vfd.js";import{b as c}from"./vendor-pmGLHP0_.js";import{a as l,c as u,i as d,l as f,n as p,o as m,r as h,s as g}from"./index-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{a as t,c as n,i as r,n as i,o as a,r as o,t as s}from"./monaco-61yH0vfd.js";import{b as c}from"./vendor-pmGLHP0_.js";import{a as l,c as u,i as d,l as f,n as p,o as m,r as h,s as g}from"./index-B5k6qEwR.js";var _=e(n(),1);function v(){let[e,t]=(0,_.useState)(`dark`);return(0,_.useEffect)(()=>{t(localStorage.getItem(`theme`)||`dark`);let e=new MutationObserver(e=>{e.forEach(e=>{e.attributeName===`data-theme`&&t(document.documentElement.getAttribute(`data-theme`)||`dark`)})});return e.observe(document.documentElement,{attributes:!0,attributeFilter:[`data-theme`]}),()=>e.disconnect()},[]),e}function y(e){return u({tag:`svg`,attr:{viewBox:`0 0 24 24`},child:[{tag:`path`,attr:{d:`M11.28 9.53 8.81 12l2.47 2.47a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-3-3a.75.75 0 0 1 0-1.06l3-3a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734Z`},child:[]},{tag:`path`,attr:{d:`M3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25V3.75C2 2.784 2.784 2 3.75 2ZM3.5 3.75v16.5c0 .138.112.25.25.25H15v-17H3.75a.25.25 0 0 0-.25.25Zm13 16.75h3.75a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25H16.5Z`},child:[]}]})(e)}var b=c();function x({isOpen:e,onClose:t}){let{t:n}=p(),[r,i]=(0,_.useState)(!1),[a,o]=(0,_.useState)(null),s=async()=>{i(!0);try{let e=await f.get(`/api/check_configuration`);o({status:e.data.status,message:e.data.message})}catch{o({status:`error`,message:n(`config_check.failed`)})}finally{i(!1)}};return e?(0,b.jsx)(`div`,{className:`fixed inset-0 bg-base-300/80 flex items-center justify-center z-50`,children:(0,b.jsxs)(`div`,{className:`bg-base-200 p-8 rounded-lg shadow-lg max-w-2xl w-full mx-4`,children:[(0,b.jsx)(`h2`,{className:`text-2xl font-bold mb-6`,children:n(`config_check.title`)}),r?(0,b.jsxs)(`div`,{className:`flex flex-col items-center gap-4 py-8`,children:[(0,b.jsx)(`div`,{className:`loading loading-spinner loading-lg`}),(0,b.jsx)(`p`,{className:`text-lg`,children:n(`config_check.checking`)})]}):a?(0,b.jsxs)(`div`,{className:`space-y-4`,children:[(0,b.jsx)(`div`,{className:`text-lg font-semibold ${a.status===`success`?`text-success`:`text-error`}`,children:a.status===`success`?n(`config_check.valid`):n(`config_check.error`)}),a.message&&(0,b.jsx)(`pre`,{className:`bg-base-300 p-4 rounded-lg whitespace-pre-wrap`,children:a.message}),(0,b.jsxs)(`div`,{className:`flex justify-end gap-4 mt-6`,children:[(0,b.jsx)(`button`,{className:`btn btn-ghost`,onClick:()=>{o(null),t()},children:n(`common.close`)}),(0,b.jsx)(`button`,{className:`btn btn-primary`,onClick:()=>{o(null),s()},children:n(`config_check.check_again`)})]})]}):(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(`p`,{className:`text-base-content/70`,children:n(`config_check.description`)}),(0,b.jsxs)(`div`,{className:`flex justify-end gap-4`,children:[(0,b.jsx)(`button`,{className:`btn btn-ghost`,onClick:t,children:n(`common.cancel`)}),(0,b.jsx)(`button`,{className:`btn btn-primary`,onClick:s,children:n(`config_check.check_button`)})]})]})]})}):null}function S(e){return new Worker(`/assets/yaml.worker-BKRoXlmz.js`,{name:e?.name})}self.MonacoEnvironment={getWorker(e,t){return t===`yaml`?new S:t===`json`?new s:new i}},a.config({monaco:r});var C;function w(){let[e,n]=(0,_.useState)([]),[r,i]=(0,_.useState)(null),[a,s]=(0,_.useState)(``),[c,u]=(0,_.useState)(!1),[p,S]=(0,_.useState)(`waiting`),[w,T]=(0,_.useState)(!0),[E,D]=(0,_.useState)(!1),O=v(),k=async()=>{try{n((await f.get(`/api/files`)).data.items)}catch(e){console.error(`Error loading directory:`,e)}},A=async e=>{try{let t=`/api/files/${encodeURIComponent(e)}`,n=await f.get(t);i(e),s(n.data.content),localStorage.setItem(`lastOpenedFile`,e)}catch(e){console.error(`Error loading file:`,e)}},j=async()=>{if(r)try{await f.put(`/api/files/${encodeURIComponent(r)}`,{content:a}),console.log(`File saved successfully`)}catch(e){console.error(`Error saving file:`,e)}},M=async e=>{if(!C){let t=(await f.get(`/schema/config.schema.json`)).data;C=await o(e,{enableSchemaRequest:!0,schemas:[{uri:window.location.origin+`/schema/config.schema.json`,fileMatch:[`config.yaml`,`config.yml`],schema:t},...Object.keys(t.properties).map(e=>({uri:window.location.origin+`/schema/${e}.schema.json`,fileMatch:[`${e}.yaml`,`${e}.yml`],schema:t.properties[e]}))],validate:!0})}},N=async(e,t)=>{e.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KeyS,()=>{j()})},P=e=>{n(t=>{let n=t=>t.map(t=>t.path===e?{...t,isOpen:!t.isOpen}:t.children?{...t,children:n(t.children)}:t);return n(t)})},F=(e,t=0)=>e.map(e=>{let n=t==0||e.isOpen;return(0,b.jsxs)(`div`,{children:[(0,b.jsxs)(`button`,{className:`flex items-center gap-2 w-full px-2 py-1 hover:bg-base-300 ${r===e.path?`bg-primary/10`:``}`,style:{paddingLeft:`${t*16+8}px`},onClick:()=>e.type===`file`?A(e.path):P(e.path),children:[e.type===`directory`&&(0,b.jsx)(`span`,{className:`text-xs`,children:n?(0,b.jsx)(h,{}):(0,b.jsx)(d,{})}),(0,b.jsx)(`span`,{className:`text-base-content/70`,children:e.type===`directory`?n?(0,b.jsx)(g,{}):(0,b.jsx)(m,{}):(0,b.jsx)(l,{})}),(0,b.jsx)(`span`,{className:`text-sm truncate`,children:e.name})]}),e.type===`directory`&&n&&e.children&&F(e.children,t+1)]},e.path)}),I=async()=>{try{return await f.get(`/api/files`),!0}catch{return!1}},L=async()=>{for(u(!0),S(`waiting`),await new Promise(e=>setTimeout(e,2e3)),S(`checking`);;){if(await I()){S(`ready`),await new Promise(e=>setTimeout(e,1e3)),u(!1),k();break}await new Promise(e=>setTimeout(e,1e3))}};return(0,_.useEffect)(()=>{(async()=>{await k();let e=localStorage.getItem(`lastOpenedFile`);e&&A(e)})()},[]),(0,b.jsxs)(`div`,{className:`flex h-full bg-base-300`,children:[c?(0,b.jsx)(`div`,{className:`fixed inset-0 bg-base-300/80 flex items-center justify-center z-50`,children:(0,b.jsxs)(`div`,{className:`bg-base-200 p-8 rounded-lg shadow-lg text-center`,children:[(0,b.jsx)(`div`,{className:`loading loading-spinner loading-lg mb-4`}),(0,b.jsxs)(`h2`,{className:`text-xl font-bold mb-4`,children:[p===`waiting`&&`Restarting Service...`,p===`checking`&&`Waiting for Service...`,p===`ready`&&`Service Restarted!`]}),(0,b.jsxs)(`p`,{className:`text-base-content/70`,children:[p===`waiting`&&`Initiating service restart`,p===`checking`&&`Checking if service is back online`,p===`ready`&&`Redirecting...`]})]})}):null,(0,b.jsxs)(`div`,{className:`${w?`w-64`:`w-0`} transition-all duration-300 bg-base-200 border-r border-base-content/10 overflow-hidden`,children:[(0,b.jsx)(`div`,{className:`p-2 text-sm font-semibold text-base-content/70 uppercase`,children:`Explorer`}),(0,b.jsx)(`div`,{className:`overflow-y-auto`,children:F(e)})]}),(0,b.jsxs)(`div`,{className:`flex-1 overflow-hidden flex flex-col h-full max-h-screen`,children:[(0,b.jsxs)(`div`,{className:`flex items-center p-2 border-b border-base-content/10`,children:[(0,b.jsx)(`button`,{onClick:()=>T(!w),className:`btn btn-ghost btn-sm p-1`,title:w?`Hide file tree`:`Show file tree`,children:(0,b.jsx)(y,{className:`h-5 w-5 opacity-70 transition-transform duration-200 ${w?``:`rotate-180`}`})}),r&&(0,b.jsx)(`span`,{className:`ml-2 text-sm opacity-70`,children:r})]}),(0,b.jsx)(`div`,{className:`flex-1 overflow-hidden`,children:(0,b.jsx)(t,{height:`100%`,width:`100%`,defaultLanguage:`yaml`,path:r||`config.yaml`,theme:O===`light`?`vs-light`:`vs-dark`,value:a,onChange:e=>s(e||``),onMount:N,beforeMount:M,options:{minimap:{enabled:!0},scrollBeyondLastLine:!1,fontSize:14,automaticLayout:!0,readOnly:!1,formatOnType:!0,formatOnPaste:!0,quickSuggestions:{other:!0,comments:!1,strings:!0}}})}),(0,b.jsxs)(`div`,{className:`h-12 bg-base-200 border-t border-base-content/10 flex items-center justify-end px-4 gap-4`,children:[(0,b.jsx)(`button`,{onClick:j,disabled:!r,className:`btn btn-primary btn-sm`,children:`Save`}),(0,b.jsx)(`button`,{onClick:()=>D(!0),className:`btn btn-primary btn-sm`,children:`Check Config`}),(0,b.jsx)(`button`,{onClick:async()=>{await j();try{if((await f.post(`/api/restart`)).data.status===`not available`){let e=document.getElementById(`toast`);e&&(e.classList.remove(`hidden`),setTimeout(()=>{e.classList.add(`hidden`)},5e3))}else console.log(`Service restarted successfully`),L()}catch(e){console.error(`Error restarting service:`,e)}},disabled:!r,className:`btn btn-secondary btn-sm`,children:`Save and Restart`})]})]}),(0,b.jsx)(`div`,{id:`toast`,className:`toast toast-end hidden`,children:(0,b.jsx)(`div`,{className:`alert alert-warning`,children:(0,b.jsx)(`span`,{children:`Restart not possible. Application is not running as systemd service. Restart manually.`})})}),(0,b.jsx)(x,{isOpen:E,onClose:()=>D(!1)})]})}export{w as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./index-
|
|
1
|
+
import{t as e}from"./index-B5k6qEwR.js";function t(t){let n=e(t);return[`=== ROLE ===`,`You are a friendly boneIO Black input configuration wizard.`,`Your job is to help the user configure a physical input (button/switch) step by step.`,``,`=== CONVERSATION RULES ===`,`1. Ask ONE question at a time. Keep questions short and clear.`,`2. ONLY use IDs and values from the CONTEXT section below — never invent IDs.`,`3. When the user describes an action in natural language, match it to the closest available output, cover, or remote device from the context.`,`4. After each user answer, confirm what you understood before moving on.`,`5. When the user mentions a "light" or ESPHome light output, ask follow-up questions about:`,` - Action type (TOGGLE, ON, OFF, BRIGHTNESS_UP, BRIGHTNESS_DOWN, SET_BRIGHTNESS)`,` - Transition time (in seconds)`,` - Brightness level (0-255)`,` - Color temperature (if supported)`,`6. When the user mentions a "cover" or "blind" or "roller shutter", ask about:`,` - Cover action (TOGGLE, OPEN, CLOSE, STOP, SMART_TOGGLE, TILT)`,` - Position (0-100) if applicable`,`7. When the user mentions MQTT action, ask for the MQTT topic and message payload.`,`8. Skip questions about features the user says they don't need.`,``,`=== CONVERSATION FLOW ===`,`Follow this order (skip steps the user already answered):`,``,`Step 1: Ask which physical input to configure (e.g. IN_01 to IN_49).`,` Show a few available inputs from the context if helpful.`,` IMPORTANT: Check "configured_inputs" in the context first.`,` If an input is already configured, warn the user and ask if they want to reconfigure it.`,`Step 2: Ask what name to give this input (e.g. "Bedroom Light Switch").`,`Step 3: Ask which area/room it belongs to (show available areas).`,`Step 4: Ask what should happen on SINGLE CLICK.`,` - Which output/cover/remote device should it control?`,` - What action? (TOGGLE, ON, OFF, etc.)`,` - If it's a light with brightness: ask about transition, brightness.`,`Step 5: Ask if the user wants a DOUBLE CLICK action.`,` - If yes, same sub-questions as Step 4.`,` - If no, skip to Step 6.`,`Step 6: Ask if the user wants a LONG PRESS action.`,` - If yes, same sub-questions as Step 4.`,` - If no, skip to Step 7.`,`Step 7: Ask if they want any advanced settings (bounce_time, double_click_duration, etc.).`,` - Most users will say no — that's fine, use defaults.`,`Step 8: Show a summary of the configuration and ask for confirmation.`,`Step 9: Output the final JSON.`,``,`=== OUTPUT FORMAT ===`,`When the user confirms the configuration, output ONLY a valid JSON block.`,`No markdown code fences, no explanations around the JSON.`,`The JSON must have this exact shape:`,`{"version":1,"entity_type":"event","apply_to":"current_form","changes":{...}}`,``,`The "changes" object should contain ALL fields for the configured input:`,`- "name": display name`,`- "boneio_input": the selected input ID (e.g. "IN_01")`,`- "area": room/area ID (if selected)`,`- "actions": object with click type keys, each containing an array of action objects`,``,`Action object fields: action, boneio_output, action_output, boneio_cover, action_cover,`,`remote_device, output_id, cover_id, brightness, color_temp, transition, topic, action_mqtt_msg.`,`Only include fields relevant to the action type.`,``,`=== EXAMPLE FINAL JSON ===`,JSON.stringify({version:1,entity_type:`event`,apply_to:`current_form`,changes:{name:`Bedroom Light`,boneio_input:`IN_01`,area:`bedroom`,actions:{single:[{action:`output`,boneio_output:`out_01`,action_output:`TOGGLE`}],double:[{action:`output`,boneio_output:`out_01`,action_output:`ON`,brightness:255}],long:[{action:`output`,boneio_output:`out_01`,action_output:`OFF`}]}}},null,2),``,`=== CONTEXT (your knowledge about this boneIO device) ===`,JSON.stringify(n,null,2),``,`=== BEGIN ===`,`Start by greeting the user and asking which input (IN_01 to IN_49) they want to configure.`,`If there are no available inputs left, let the user know.`].join(`
|
|
2
2
|
`)}export{t as buildAiWizardPrompt};
|