boneio 1.2.0.dev26__tar.gz → 1.3.0.dev1__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.2.0.dev26/boneio.egg-info → boneio-1.3.0.dev1}/PKG-INFO +2 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/input/detectors.py +52 -6
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/input/event.py +14 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/const.py +1 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/config/config_helper.py +11 -0
- boneio-1.3.0.dev1/boneio/core/manager/canopen.py +552 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/inputs.py +1 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/manager.py +30 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/modbus.py +1 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/remote.py +15 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/remote/__init__.py +2 -0
- boneio-1.3.0.dev1/boneio/core/remote/can.py +163 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/utils/filter.py +1 -0
- boneio-1.3.0.dev1/boneio/example_config/can_master.yaml +74 -0
- boneio-1.3.0.dev1/boneio/example_config/can_slave.yaml +47 -0
- boneio-1.3.0.dev1/boneio/hardware/can/__init__.py +9 -0
- boneio-1.3.0.dev1/boneio/hardware/can/bridge.py +159 -0
- boneio-1.3.0.dev1/boneio/hardware/can/client.py +339 -0
- boneio-1.3.0.dev1/boneio/hardware/can/interface.py +204 -0
- boneio-1.3.0.dev1/boneio/hardware/can/node.py +225 -0
- boneio-1.3.0.dev1/boneio/hardware/can/node_id.py +136 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/integration/homeassistant.py +29 -4
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/coordinator.py +112 -5
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/energy_meters/socomec_e03.json +6 -6
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/energy_meters/socomec_e23.json +11 -11
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/inverters/sofar.json +14 -14
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/inverters/thessla.json +13 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/other/n4dsc08.json +24 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/other/r4dcb08.json +8 -8
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/other/wanas415.json +27 -0
- boneio-1.3.0.dev1/boneio/modbus/devices/sensors/boneio-edge-temp.json +108 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/sensors/cwt.json +2 -2
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/sensors/dyp-a12-ultrasonic.json +1 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/sensors/liquid-sensor.json +1 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/sensors/pt100.json +1 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/sensors/sht20.json +2 -2
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/sensors/sht30.json +2 -2
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/base.py +36 -2
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/derived/select.py +1 -2
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/derived/switch.py +1 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/derived/text.py +1 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/sensor/binary.py +1 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/sensor/text.py +1 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/writeable/binary.py +1 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/writeable/numeric.py +2 -2
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/models/state.py +1 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/runner.py +16 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/schema/schema.yaml +111 -0
- boneio-1.3.0.dev1/boneio/version.py +2 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/app.py +2 -0
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/cssMode-KLoubj51.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/cssMode-DYzYCxj1.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/freemarker2-DUvdRAYI.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/freemarker2-Bemoup4X.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/handlebars-w3iJ3WCN.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/handlebars-3t5vS37H.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/html-7kX1f2JO.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/html-Cq68Vj92.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/htmlMode-Cji8b4pr.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/htmlMode-zRg51dux.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/index-BcpeX3MS.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/index-CedvLek6.js +202 -200
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/index-B2dz9R2t.css → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/index-yfVmKD9N.css +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/javascript-5QUU2o3K.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/javascript-BeqHop1l.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/jsonMode-DhrBEWLj.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/jsonMode-B_TKboJF.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/liquid-CS5Rfv1C.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/liquid-BK7PsOyv.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/mdx-BW6o3qaL.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/mdx-Ckb8-VUx.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/python-tefh07mR.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/python-CO1-gBqF.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/razor-DXqbSeer.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/razor-Dx6x9ypa.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/tsMode-B3u-2iDP.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/tsMode-Deid1skj.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/typescript-ADnbxDdf.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/typescript-JSH4I7cf.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/xml-CXGnZvL3.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/xml-BX_Opm8D.js +1 -1
- boneio-1.2.0.dev26/boneio/webui/frontend-dist/assets/yaml-RF9zJa4U.js → boneio-1.3.0.dev1/boneio/webui/frontend-dist/assets/yaml-BRsnPpO3.js +1 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/index.html +2 -2
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/boneio.schema.json +22 -0
- boneio-1.3.0.dev1/boneio/webui/frontend-dist/schema/can.schema.json +132 -0
- {boneio-1.2.0.dev26/boneio/webui → boneio-1.3.0.dev1/boneio/webui/frontend-dist}/schema/config.schema.json +166 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/event.schema.json +10 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/modbus_devices.schema.json +8 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/sw.js +1 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/__init__.py +2 -0
- boneio-1.3.0.dev1/boneio/webui/routes/can.py +377 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/config.py +45 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/modbus.py +169 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/boneio.schema.json +22 -0
- boneio-1.3.0.dev1/boneio/webui/schema/can.schema.json +132 -0
- {boneio-1.2.0.dev26/boneio/webui/frontend-dist → boneio-1.3.0.dev1/boneio/webui}/schema/config.schema.json +166 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/event.schema.json +10 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/modbus_devices.schema.json +8 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1/boneio.egg-info}/PKG-INFO +2 -1
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio.egg-info/SOURCES.txt +30 -17
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio.egg-info/requires.txt +1 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/pyproject.toml +2 -1
- boneio-1.2.0.dev26/boneio/modbus/devices/sensors/boneio-edge-temp.json +0 -50
- boneio-1.2.0.dev26/boneio/version.py +0 -2
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/LICENSE +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/MANIFEST.in +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/README.md +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.2/input.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.2/output_24_16.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.2/output_32_10.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.2/output_32_5.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.2/output_cover.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.2/output_cover_mix.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.3/input.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.3/output_24_16.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.3/output_32_10.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.3/output_32_5.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.3/output_cover.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.3/output_cover_mix.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.4/input.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.4/output_24_16.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.4/output_32_10.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.4/output_32_5.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.4/output_cover.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.4/output_cover_mix.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.5/input.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.5/output_24_16.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.5/output_32_10.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.5/output_cover.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.5/output_cover_mix.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.6/input.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.6/output_24_16.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.6/output_32_10.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.6/output_cover.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.6/output_cover_mix.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.7/input.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.7/output_24_16.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.7/output_32_10.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.7/output_cover.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.7/output_cover_mix.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.8/input.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.8/output_24_16.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.8/output_32_10.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.8/output_cover.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/boards/0.8/output_cover_mix.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/bonecli.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/cover/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/cover/cover.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/cover/time_based.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/cover/venetian.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/group/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/group/output_group.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/input/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/input/binary_sensor.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/output/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/output/basic.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/output/mcp.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/output/pca.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/output/pcf.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/sensor/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/sensor/virtual_energy.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/template/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/template/alarm_panel.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/template/gate_cover.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/components/template/thermostat.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/cloud/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/cloud/data/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/cloud/data/docker-compose-cloud.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/cloud/data/docker-compose.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/cloud/data/init-certs-cloud.sh +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/cloud/registration.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/cloud/secrets.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/config/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/config/migrations/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/config/migrations/v1_proxy_port.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/config/migrations/v2_transition.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/config/package-lock.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/config/package.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/config/schema_converter.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/config/yaml_util.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/discovery.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/events/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/events/bus.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/covers.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/display.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/outputs.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/sensors.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/templates/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/templates/alarm.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/templates/gate_cover.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/templates/thermostat.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/templates.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/manager/update.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/messaging/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/messaging/basic.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/messaging/basic_mqtt.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/messaging/local.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/messaging/mqtt.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/messaging/queue.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/remote/base.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/remote/esphome.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/remote/mqtt.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/remote/wled.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/sensor/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/sensor/base.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/sensor/system.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/state/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/state/manager.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/system/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/system/host_data.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/system/monitor.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/utils/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/utils/async_updater.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/utils/font_util.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/utils/logger.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/utils/timeperiod.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/core/utils/util.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/24x16/adc.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/24x16/binary_sensor.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/24x16/config.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/24x16/event.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/24x16/mqtt.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/24x16/output24x16A.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/32x10/adc.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/32x10/binary_sensor.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/32x10/config.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/32x10/event.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/32x10/mqtt.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/32x10/output32x10A.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover/adc.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover/binary_sensor.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover/config.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover/cover.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover/event.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover/mqtt.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover/outputCover.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover_mix/adc.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover_mix/binary_sensor.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover_mix/config.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover_mix/cover.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover_mix/event.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover_mix/mqtt.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/cover_mix/outputCoverMix.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/adc.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/all_binary_sensor.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/binary_sensor.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/binary_sensor_v_0_7.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/config_24_16.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/event_all.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/event_v_0_7.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/led32x4A.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/output24x16A.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/output24x16A_v0.3.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/output32x10A.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/example_config/different_configs/output32x5A.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/exceptions.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/analog/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/analog/adc.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/display/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/display/fonts/danube__.ttf +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/display/oled.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/gpio/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/gpio/expanders/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/gpio/expanders/mcp23017.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/gpio/expanders/pca9685.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/gpio/expanders/pcf8575.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/gpio/input/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/gpio/input/base.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/gpio/input/manager.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/i2c/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/i2c/bus.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/i2c/ina219.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/i2c/ina219_driver.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/i2c/mcp9808.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/i2c/pct2075.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/onewire/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/onewire/bus.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/onewire/dallas.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/onewire/ds2482.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/sensor/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/sensor/temperature/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/sensor/temperature/base.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/sensor/temperature/mcp9808.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/hardware/sensor/temperature/pct2075.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/integration/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/integration/interlock.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/cli.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/client.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/energy_meters/le-03mw.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/energy_meters/le-03mwct.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/energy_meters/orno-or-we-517.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/energy_meters/sdm120.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/energy_meters/sdm630.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/hvac/fujitsu-ac.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/hvac/ventclear.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/sensors/dts1964_3f.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/sensors/gdfs.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/devices/sensors/gdfx.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/derived/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/derived/numeric.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/sensor/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/sensor/numeric.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/entities/writeable/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/modbus/utils.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/models/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/models/actions.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/models/events.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/models/files.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/models/logs.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/models/mqtt.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/schema/actions.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/schema/actions_sensor.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/schema/actions_switch.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/schema/filters.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/schema/filters_adc.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/schema/id.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/schema/remote_devices.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/schema/temp_unit.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/schema/update_interval.yaml +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/abap-CRCWOmpq.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/apex-DnsZk_dE.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/azcli-1IWB1ccx.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/bat-DPkNLes8.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/bicep-Corcdgou.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/cameligo-CGrWLZr3.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/clojure-D9WOWImG.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/codicon-DCmgc-ay.ttf +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/coffee-B7EJu28W.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/cpp-SEyurbux.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/csharp-BoL64M5l.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/csp-C46ZqvIl.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/css-DQU6DXDx.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/cypher-D84EuPTj.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/dart-D8lhlL1r.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/dockerfile-DLk6rpji.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/ecl-BO6FnfXk.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/editor.worker-B4pQIWZD.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/elixir-BRjLKONM.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/flow9-Cac8vKd7.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/fsharp-fd1GTHhf.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/go-O9LJTZXk.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/graphql-LQdxqEYJ.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/hcl-DxDQ3s82.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/ini-BvajGCUy.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/java-SYsfObOQ.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/json.worker-aFakAbRR.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/julia-DQXNmw_w.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/kotlin-qQ0MG-9I.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/less-GGFNNJHn.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/lexon-Canl7DCW.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/lua-D28Ae8-K.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/m3-DPitgjJI.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/markdown-B811l8j2.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/mips-CdjsipkG.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/msdax-CYqgjx_P.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/mysql-BHd6q0vd.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/objective-c-B1aVtJYH.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/pascal-BhNW15KB.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/pascaligo-5jv8CcQD.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/perl-DlYyT36c.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/pgsql-Dy0bjov7.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/php-120yhfDK.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/pla-CjnFlu4u.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/postiats-CQpG440k.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/powerquery-DdJtto1Z.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/powershell-Bu_VLpJB.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/protobuf-IBS6jZEB.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/pug-kFxLfcjb.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/qsharp-q7JyzKFN.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/r-BIFz-_sK.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/redis-CHOsPHWR.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/redshift-CBifECDb.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/restructuredtext-CghPJEOS.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/ruby-CYWGW-b1.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/rust-DMDD0SHb.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/sb-BYAiYHFx.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/scala-Bqvq8jcR.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/scheme-Dhb-2j9p.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/scss-CTwUZ5N7.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/shell-CsDZo4DB.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/solidity-CME5AdoB.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/sophia-RYC1BQQz.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/sparql-KEyrF7De.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/sql-BdTr02Mf.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/st-C7iG7M4S.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/swift-D7IUmUK8.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/systemverilog-DgMryOEJ.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/tcl-PloMZuKG.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/twig-BfRIq3la.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/typespec-CzxlYoT_.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/vb-BwAE3J76.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/wgsl-B_1kOXbF.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/workbox-window.prod.es5-BIl4cyR9.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/assets/yaml.worker-DBeHcBRc.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/boneio-192.png +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/boneio-512.png +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/boneio.svg +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/boneio_fav.svg +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/adc.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/areas.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/binary_sensor.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/cover.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/dallas.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/ds2482.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/ina219.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/lm75.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/logger.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/mcp23017.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/mcp9808.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/modbus.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/mqtt.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/oled.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/output.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/output_group.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/pca9685.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/pcf8575.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/remote_devices.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/sensor.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/template.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/virtual_energy_sensor.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/schema/web.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/frontend-dist/workbox-226dbdbf.js +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/middleware/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/middleware/auth.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/auth.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/caddy.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/covers.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/outputs.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/remote_devices.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/sensors.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/system.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/templates.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/tools.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/routes/update.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/adc.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/areas.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/binary_sensor.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/cover.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/dallas.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/ds2482.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/ina219.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/lm75.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/logger.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/mcp23017.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/mcp9808.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/modbus.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/mqtt.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/oled.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/output.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/output_group.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/pca9685.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/pcf8575.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/remote_devices.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/sensor.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/template.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/virtual_energy_sensor.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/schema/web.schema.json +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/services/__init__.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/services/logs.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/web_server.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio/webui/websocket_manager.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio.egg-info/dependency_links.txt +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio.egg-info/entry_points.txt +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/boneio.egg-info/top_level.txt +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/setup.cfg +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/setup.py +0 -0
- {boneio-1.2.0.dev26 → boneio-1.3.0.dev1}/tests/test_py313_compatibility.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: boneio
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0.dev1
|
|
4
4
|
Summary: Python App for BoneIO
|
|
5
5
|
Author-email: Paweł Szafer <pszafer@gmail.com>
|
|
6
6
|
License: GNU General Public License v3.0
|
|
@@ -35,6 +35,7 @@ Requires-Dist: requests==2.32.5
|
|
|
35
35
|
Requires-Dist: packaging==25.0
|
|
36
36
|
Requires-Dist: aioesphomeapi>=29.0.0
|
|
37
37
|
Requires-Dist: zeroconf>=0.148.0
|
|
38
|
+
Requires-Dist: canopen-asyncio>=2.3.0
|
|
38
39
|
Dynamic: license-file
|
|
39
40
|
|
|
40
41
|
Example usage:
|
|
@@ -31,6 +31,7 @@ class ClickState:
|
|
|
31
31
|
"""State for tracking multi-click detection."""
|
|
32
32
|
click_count: int = 0
|
|
33
33
|
last_press_ts: float | None = None
|
|
34
|
+
last_press_loop_ts: float | None = None # Event loop time of last press (for duration calc)
|
|
34
35
|
last_release_ts: float | None = None
|
|
35
36
|
finalizer: asyncio.TimerHandle | None = None
|
|
36
37
|
finalizer_scheduled_loop_ts: float | None = None
|
|
@@ -77,6 +78,7 @@ class MultiClickDetector:
|
|
|
77
78
|
enable_triple_click: bool = False,
|
|
78
79
|
name: str = "unknown",
|
|
79
80
|
pin: str = "unknown",
|
|
81
|
+
max_long_press_seconds: float = 120.0,
|
|
80
82
|
):
|
|
81
83
|
"""Initialize multiclick detector.
|
|
82
84
|
|
|
@@ -92,6 +94,7 @@ class MultiClickDetector:
|
|
|
92
94
|
enable_triple_click: Enable triple click detection (default: False)
|
|
93
95
|
name: Name of the input
|
|
94
96
|
pin: Pin name for logging
|
|
97
|
+
max_long_press_seconds: Safety timeout for long press in seconds (default: 120s)
|
|
95
98
|
"""
|
|
96
99
|
self._loop = loop
|
|
97
100
|
self._callback = callback
|
|
@@ -104,6 +107,7 @@ class MultiClickDetector:
|
|
|
104
107
|
self._enable_triple_click = enable_triple_click
|
|
105
108
|
self._name = name
|
|
106
109
|
self._pin = pin
|
|
110
|
+
self._max_long_press_seconds = max_long_press_seconds
|
|
107
111
|
self._state = ClickState()
|
|
108
112
|
|
|
109
113
|
# Pre-compute which click types should be delayed in exclusive mode
|
|
@@ -357,14 +361,14 @@ class MultiClickDetector:
|
|
|
357
361
|
|
|
358
362
|
def _detect_long_press(self) -> None:
|
|
359
363
|
"""Detect and report a long press and start periodic updates."""
|
|
360
|
-
if not self._state.
|
|
364
|
+
if not self._state.last_press_loop_ts:
|
|
361
365
|
return
|
|
362
366
|
|
|
363
367
|
# Reset executed actions for new long press
|
|
364
368
|
self._state.executed_long_actions = set()
|
|
365
369
|
self._state.last_repeat_times = {}
|
|
366
370
|
|
|
367
|
-
duration = self._loop.time() - self._state.
|
|
371
|
+
duration = self._loop.time() - self._state.last_press_loop_ts
|
|
368
372
|
|
|
369
373
|
_LOGGER.info("Detected LONG press on %s (%s)", self._name, self._pin)
|
|
370
374
|
|
|
@@ -383,11 +387,24 @@ class MultiClickDetector:
|
|
|
383
387
|
|
|
384
388
|
def _send_periodic_long_event(self) -> None:
|
|
385
389
|
"""Send periodic 'long' event with updated duration."""
|
|
386
|
-
if not self._state.
|
|
390
|
+
if not self._state.last_press_loop_ts or self._state.last_release_ts:
|
|
387
391
|
# Button released or invalid state
|
|
388
392
|
return
|
|
389
393
|
|
|
390
|
-
duration = self._loop.time() - self._state.
|
|
394
|
+
duration = self._loop.time() - self._state.last_press_loop_ts
|
|
395
|
+
|
|
396
|
+
# Safety timeout: stop periodic events if duration exceeds max
|
|
397
|
+
if duration > self._max_long_press_seconds:
|
|
398
|
+
_LOGGER.warning(
|
|
399
|
+
"Safety timeout: long press on %s (%s) exceeded %.0fs (duration=%.1fs). "
|
|
400
|
+
"Possible missed RELEASE event. Forcing stop.",
|
|
401
|
+
self._name,
|
|
402
|
+
self._pin,
|
|
403
|
+
self._max_long_press_seconds,
|
|
404
|
+
duration,
|
|
405
|
+
)
|
|
406
|
+
self._force_stop_long_press()
|
|
407
|
+
return
|
|
391
408
|
|
|
392
409
|
_LOGGER.debug(
|
|
393
410
|
"Periodic long event on %s (%s), duration=%.3fs",
|
|
@@ -404,6 +421,34 @@ class MultiClickDetector:
|
|
|
404
421
|
0.2,
|
|
405
422
|
self._send_periodic_long_event
|
|
406
423
|
)
|
|
424
|
+
|
|
425
|
+
def _force_stop_long_press(self) -> None:
|
|
426
|
+
"""Force stop a long press due to safety timeout (missed RELEASE).
|
|
427
|
+
|
|
428
|
+
Cleans up all long-press related state as if a RELEASE event occurred.
|
|
429
|
+
"""
|
|
430
|
+
if self._state.long_hold_periodic_timer:
|
|
431
|
+
self._state.long_hold_periodic_timer.cancel()
|
|
432
|
+
self._state.long_hold_periodic_timer = None
|
|
433
|
+
|
|
434
|
+
if self._state.long_press_timer:
|
|
435
|
+
self._state.long_press_timer.cancel()
|
|
436
|
+
self._state.long_press_timer = None
|
|
437
|
+
self._state.long_press_scheduled_loop_ts = None
|
|
438
|
+
|
|
439
|
+
# Simulate release: use last_press_ts (kernel time) as base to stay
|
|
440
|
+
# consistent with debounce comparisons that use kernel timestamps
|
|
441
|
+
self._state.last_release_ts = self._state.last_press_ts or 0.0
|
|
442
|
+
|
|
443
|
+
# Reset long press action tracking
|
|
444
|
+
self._state.executed_long_actions = set()
|
|
445
|
+
self._state.last_repeat_times = {}
|
|
446
|
+
|
|
447
|
+
_LOGGER.info(
|
|
448
|
+
"Forced long press stop on %s (%s) - state cleaned up",
|
|
449
|
+
self._name,
|
|
450
|
+
self._pin,
|
|
451
|
+
)
|
|
407
452
|
|
|
408
453
|
def handle_event(self, event: gpiod.EdgeEvent) -> None:
|
|
409
454
|
"""Process a GPIO edge event and update click state.
|
|
@@ -435,6 +480,7 @@ class MultiClickDetector:
|
|
|
435
480
|
|
|
436
481
|
_LOGGER.debug("PRESSED: %s (%s)", self._name, self._pin)
|
|
437
482
|
self._state.last_press_ts = timestamp_s
|
|
483
|
+
self._state.last_press_loop_ts = self._loop.time() # Store loop time for duration calc
|
|
438
484
|
self._state.last_release_ts = None # Reset release timestamp for new press
|
|
439
485
|
|
|
440
486
|
# Cancel any pending finalizer for a multi-click sequence
|
|
@@ -510,8 +556,8 @@ class MultiClickDetector:
|
|
|
510
556
|
# Note: The callback creates an async task, so we need to delay
|
|
511
557
|
# the reset of executed_actions to allow the async handler to
|
|
512
558
|
# read the current state before it's cleared
|
|
513
|
-
if self._state.
|
|
514
|
-
duration =
|
|
559
|
+
if self._state.last_press_loop_ts:
|
|
560
|
+
duration = self._loop.time() - self._state.last_press_loop_ts
|
|
515
561
|
_LOGGER.debug(
|
|
516
562
|
"Sending final long event on release for %s, duration=%.3fs, executed_actions=%s",
|
|
517
563
|
self._name,
|
|
@@ -89,6 +89,12 @@ class GpioEventButton(GpioBaseClass):
|
|
|
89
89
|
# Get enable_triple_click setting (default: False)
|
|
90
90
|
enable_triple_click = kwargs.get('enable_triple_click', False)
|
|
91
91
|
|
|
92
|
+
# Safety timeout for long press (default: 120s)
|
|
93
|
+
max_long_press_seconds = _to_milliseconds(
|
|
94
|
+
kwargs.get('max_long_press_duration'),
|
|
95
|
+
120 * 1000 # 120s default
|
|
96
|
+
) / 1000.0
|
|
97
|
+
|
|
92
98
|
# Create multiclick detector
|
|
93
99
|
self._detector = MultiClickDetector(
|
|
94
100
|
loop=self._loop,
|
|
@@ -102,6 +108,7 @@ class GpioEventButton(GpioBaseClass):
|
|
|
102
108
|
enable_triple_click=enable_triple_click,
|
|
103
109
|
name=self._name,
|
|
104
110
|
pin=self._pin,
|
|
111
|
+
max_long_press_seconds=max_long_press_seconds,
|
|
105
112
|
)
|
|
106
113
|
|
|
107
114
|
# Register with GPIO manager
|
|
@@ -148,6 +155,7 @@ class GpioEventButton(GpioBaseClass):
|
|
|
148
155
|
mqtt_sequences: dict | None = None,
|
|
149
156
|
enable_triple_click: bool | None = None,
|
|
150
157
|
long_press_mqtt_mode: str | None = None,
|
|
158
|
+
max_long_press_duration: int | float | None = None,
|
|
151
159
|
) -> None:
|
|
152
160
|
"""Update timing parameters for click detection.
|
|
153
161
|
|
|
@@ -163,6 +171,7 @@ class GpioEventButton(GpioBaseClass):
|
|
|
163
171
|
mqtt_sequences: MQTT sequences dict to determine enabled sequences
|
|
164
172
|
enable_triple_click: Enable triple click detection
|
|
165
173
|
long_press_mqtt_mode: 'single' or 'periodic' for MQTT long press events
|
|
174
|
+
max_long_press_duration: Safety timeout for long press in ms (default: 120000ms)
|
|
166
175
|
"""
|
|
167
176
|
from boneio.const import CLICK_SEQUENCES
|
|
168
177
|
|
|
@@ -217,6 +226,11 @@ class GpioEventButton(GpioBaseClass):
|
|
|
217
226
|
break
|
|
218
227
|
_LOGGER.debug("Updated enabled_sequences to %s for %s", enabled_sequences, self._name)
|
|
219
228
|
|
|
229
|
+
if max_long_press_duration is not None:
|
|
230
|
+
value_ms = _to_milliseconds(max_long_press_duration, 120 * 1000)
|
|
231
|
+
self._detector._max_long_press_seconds = value_ms / 1000.0
|
|
232
|
+
_LOGGER.debug("Updated max_long_press_duration to %dms for %s", value_ms, self._name)
|
|
233
|
+
|
|
220
234
|
if long_press_mqtt_mode is not None:
|
|
221
235
|
self._long_press_mqtt_mode = long_press_mqtt_mode
|
|
222
236
|
_LOGGER.debug("Updated long_press_mqtt_mode to %s for %s", long_press_mqtt_mode, self._name)
|
|
@@ -50,6 +50,7 @@ class ConfigHelper:
|
|
|
50
50
|
update_channel: str = "stable",
|
|
51
51
|
cloud_registration: bool = False,
|
|
52
52
|
pwa_name: str | None = None,
|
|
53
|
+
ha_child_devices: bool = False,
|
|
53
54
|
):
|
|
54
55
|
self._name = name
|
|
55
56
|
|
|
@@ -81,6 +82,7 @@ class ConfigHelper:
|
|
|
81
82
|
self._receive_boneio_autodiscovery = receive_boneio_autodiscovery
|
|
82
83
|
self._update_channel = update_channel
|
|
83
84
|
self._cloud_registration = cloud_registration
|
|
85
|
+
self._ha_child_devices = ha_child_devices
|
|
84
86
|
self._device_type = device_type
|
|
85
87
|
self._web_port = web_port
|
|
86
88
|
self._proxy_port = proxy_port
|
|
@@ -225,6 +227,15 @@ class ConfigHelper:
|
|
|
225
227
|
"""Check if cloud registration (PWA) is enabled."""
|
|
226
228
|
return self._cloud_registration
|
|
227
229
|
|
|
230
|
+
@property
|
|
231
|
+
def ha_child_devices(self) -> bool:
|
|
232
|
+
"""Check if experimental HA child devices mode is enabled.
|
|
233
|
+
|
|
234
|
+
When enabled, each output/input/cover becomes its own child device
|
|
235
|
+
in Home Assistant instead of being grouped under one main device.
|
|
236
|
+
"""
|
|
237
|
+
return self._ha_child_devices
|
|
238
|
+
|
|
228
239
|
@property
|
|
229
240
|
def device_type(self) -> str:
|
|
230
241
|
return self._device_type
|