boneio 1.6.0.dev15__tar.gz → 1.6.0.dev16__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.6.0.dev15/boneio.egg-info → boneio-1.6.0.dev16}/PKG-INFO +1 -1
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/migrations/__init__.py +13 -1
- boneio-1.6.0.dev16/boneio/core/config/migrations/v7_mqtt_password_secret.py +54 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/yaml_patch.py +76 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/yaml_util.py +202 -5
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/manifest.json +1 -1
- boneio-1.6.0.dev16/boneio/migrations/plans/manifest.sig +1 -0
- boneio-1.6.0.dev16/boneio/version.py +2 -0
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/AccountsView-B5UZiRGW.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/AccountsView-TbSkH9UL.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/BackupSection-8GT7vpuH.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/BackupSection-EvCtwFQL.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/BindingMatrix-CxQl1VOm.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/BindingMatrix-sRRfB8jC.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/DeviceControlSection-akl63I0o.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/DeviceControlSection-CvFyHv7S.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/DiagnosticsView-CG4ax2y-.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/DiagnosticsView-rVS5qDH1.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/EntityGrid-Cv1Uo0zY.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/EntityGrid-Don0ym4o.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/FactoryResetSection-BR2jvi92.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/FactoryResetSection-CWLBpFcy.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/FormInputToggle-aLYpUS-x.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/FormInputToggle-wkyu5nWZ.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/HaDashboardWizard-D_UVKWpT.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/HaDashboardWizard-Cxcr8qUY.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/HostnameSection-DW9-2qpm.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/HostnameSection-1i8lcR91.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/InputsView-CGcgJgga.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/InputsView-djkHXGOO.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/LocationSection-w1b0toMH.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/LocationSection-D2CiUIwU.js +2 -2
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/LoggerForm-CUYH8NgD.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/LoggerForm-Jivd_RXP.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/LongPressWrapper-CzUUPJt9.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/LongPressWrapper-CFu1CzuN.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/MigrationsSection-BzIAgtBk.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/MigrationsSection-DEzC0mN6.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/ModbusView-BajWrYrq.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/ModbusView-CHatoXuR.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/MqttPasswordsSection-x25bWMgI.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/MqttPasswordsSection-DaxpKeP6.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/NodeRedManagement-35JRm9JH.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/NodeRedManagement-KfLTXyHL.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/OutputsView-BU85e0Ar.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/OutputsView-CBLnm1Rx.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/SecurityView-CeQj1X27.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/SecurityView-C12Ye4pF.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/SensorView-Bs7Vou_q.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/SensorView-Cz60X005.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/SystemState-RNXVYdNx.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/SystemState-2u8fEUcf.js +2 -2
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/TemplatesView-DR9E5__-.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/TemplatesView-8ES2KODg.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/TilePicker-C413YRFn.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/TilePicker-ByrlXspI.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/TimezoneSection-CbzWiCHs.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/TimezoneSection-DitamIoS.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/UISettings-r739sHGY.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/UISettings-D8hwUItg.js +4 -4
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/UpdateSafetyNotice-DBFx_ZD1.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/UpdateSafetyNotice-Ch0iC5e1.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/aiConfig-C_B1zOY8.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/aiConfig-B7uJx9nA.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/aiWizardPrompt-X9_lrmYw.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/aiWizardPrompt-abAmCO-3.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/bodies-LCcudJje.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/bodies-CN3Xf7Dt.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/index-UQJ1vWT5.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/index-CLjnGlT9.js +4 -4
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/monaco-CSUyZZpP.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/monaco-CVsEQEbX.js +1 -1
- boneio-1.6.0.dev15/boneio/webui/frontend-dist/assets/monaco-BLbWyoLh.js → boneio-1.6.0.dev16/boneio/webui/frontend-dist/assets/monaco-Dw6H67rn.js +2 -2
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/index.html +1 -1
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/sw.js +1 -1
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/update.py +140 -12
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16/boneio.egg-info}/PKG-INFO +1 -1
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio.egg-info/SOURCES.txt +34 -33
- boneio-1.6.0.dev15/boneio/migrations/plans/manifest.sig +0 -1
- boneio-1.6.0.dev15/boneio/version.py +0 -2
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/LICENSE +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/MANIFEST.in +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/README.md +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.2/input.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.2/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.2/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.2/output_32_5.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.2/output_cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.2/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.3/input.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.3/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.3/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.3/output_32_5.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.3/output_cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.3/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.4/input.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.4/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.4/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.4/output_32_5.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.4/output_cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.4/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.5/input.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.5/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.5/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.5/output_cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.5/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.6/input.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.6/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.6/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.6/output_cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.6/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.7/input.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.7/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.7/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.7/output_48_4.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.7/output_cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.7/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.8/input.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.8/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.8/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.8/output_48_4.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.8/output_cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/0.8/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.0/input.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.0/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.0/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.0/output_48_4.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.0/output_cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.0/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.1/input.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.1/output_24_16.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.1/output_32_10.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.1/output_48_4.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.1/output_cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/boards/1.1/output_cover_mix.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/bonecli.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/cover/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/cover/cover.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/cover/remote.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/cover/time_based.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/cover/venetian.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/group/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/group/output_group.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/input/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/input/binary_sensor.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/input/detectors.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/input/event.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/input/remote/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/input/remote/base.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/input/remote/esphome.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/input/remote/mqtt.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/irrigation/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/irrigation/controller.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/irrigation/water_source.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/output/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/output/basic.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/output/buzzer.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/output/mcp.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/output/pca.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/output/pcf.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/output/remote.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/sensor/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/sensor/virtual_energy.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/template/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/template/alarm_panel.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/template/gate_cover.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/template/thermostat.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/components/virtual_switch.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/const.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/atomic_file.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/auth/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/auth/cli.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/auth/hashing.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/auth/jwt_secret.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/auth/migration.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/auth/models.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/auth/store.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/cloud/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/cloud/data/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/cloud/data/docker-compose.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/cloud/data/init-certs-cloud.sh +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/cloud/registration.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/cloud/secrets.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/config_helper.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/input_bindings.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/migrations/v1_proxy_port.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/migrations/v2_transition.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/migrations/v4_wled_cache.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/migrations/v5_ina_screen.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/migrations/v6_input_keys.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/package-lock.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/package.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/provenance.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/schema_converter.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/secret_masking.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/write_lock.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/config/yaml_compat.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/containers.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/diagnostics/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/diagnostics/collect.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/discovery.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/events/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/events/bus.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/action_conditions.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/canopen.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/covers.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/display.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/inputs.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/irrigation.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/manager.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/modbus.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/outputs.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/remote.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/remote_input_registrar.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/scheduler.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/security_alert.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/sensors.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/sun.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/templates/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/templates/alarm.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/templates/gate_cover.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/templates/thermostat.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/templates.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/update.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/manager/virtual_switches.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/messaging/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/messaging/basic.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/messaging/basic_mqtt.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/messaging/composite.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/messaging/local.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/messaging/lox.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/messaging/mqtt.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/messaging/queue.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/net/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/net/discovery_guard.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/recovery.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/remote/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/remote/base.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/remote/can.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/remote/esphome.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/remote/mqtt.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/remote/wled.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/remote/wled_cache.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/security/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/security/certificate.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/security/framing.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/security/posture.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/sensor/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/sensor/base.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/sensor/sun.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/sensor/system.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/state/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/state/manager.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/system/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/system/host_data.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/system/monitor.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/system_ops.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/async_updater.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/conditions.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/filter.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/font_util.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/logger.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/naming.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/overlay.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/sun.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/timeperiod.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/core/utils/util.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/24x16/adc.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/24x16/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/24x16/config.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/24x16/event.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/24x16/mqtt.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/24x16/output24x16A.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/32x10/adc.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/32x10/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/32x10/config.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/32x10/event.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/32x10/mqtt.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/32x10/output32x10A.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/48x4/adc.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/48x4/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/48x4/config.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/48x4/event.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/48x4/mqtt.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/48x4/output48x4A.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/can_master.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/can_slave.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover/adc.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover/config.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover/cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover/event.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover/mqtt.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover/outputCover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover_mix/adc.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover_mix/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover_mix/config.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover_mix/cover.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover_mix/event.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover_mix/mqtt.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/cover_mix/outputCoverMix.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/adc.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/all_binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/binary_sensor.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/binary_sensor_v_0_7.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/config_24_16.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/event_all.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/event_v_0_7.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/led32x4A.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/output24x16A.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/output24x16A_v0.3.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/output32x10A.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/example_config/different_configs/output32x5A.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/exceptions.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/analog/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/analog/adc.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/can/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/can/bridge.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/can/client.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/can/interface.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/can/node.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/can/node_id.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/can/test_od.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/display/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/display/early_oled.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/display/fonts/danube__.ttf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/display/oled.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/gpio/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/gpio/expanders/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/gpio/expanders/mcp23017.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/gpio/expanders/pca9685.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/gpio/expanders/pcf8575.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/gpio/input/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/gpio/input/base.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/gpio/input/manager.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/i2c/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/i2c/bus.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/i2c/ina219.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/i2c/ina219_driver.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/i2c/ina226.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/i2c/ina226_driver.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/i2c/mcp9808.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/i2c/pct2075.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/onewire/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/onewire/dallas.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/sensor/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/sensor/temperature/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/sensor/temperature/base.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/sensor/temperature/mcp9808.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/hardware/sensor/temperature/pct2075.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/integration/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/integration/homeassistant.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/integration/interlock.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/integration/lox_template.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/actions.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/MANIFEST.sha256 +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/apt/52boneio-periodic +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/apt/52boneio-unattended +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/docker/daemon.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/docker/nodered/caddy/502.html +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/docker/nodered/caddy/init-certs.sh +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/docker/nodered/docker-compose-cloud.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/docker/nodered/docker-compose.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/docker/nodered/node-red/settings.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/helpers/boneio-containers +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/helpers/boneio-helpers-heal +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/helpers/boneio-migrate-v2 +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/helpers/boneio-system +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/issue.d/10-boneio.issue +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/journald/journald.conf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/kernel/postinst-boneio-overlay +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/migrations-recovery.pem +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/migrations.pem +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/modules-load.d/onewire.conf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/mosquitto/boneio.conf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/sshd/10-boneio-hardening.conf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/sudoers/boneio +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/sudoers/boneio-helpers +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/sudoers/boneio-timedatectl +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/boneio-dpkg-recover.service +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/boneio-helpers-heal.service +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/boneio-oled-boot.service +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/boneio-oled-shutdown.service +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/boneio.service +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/dropins/apt-daily-priority.conf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/dropins/avahi-daemon-defer.conf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/dropins/bb-usb-gadgets-defer.conf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/dropins/mosquitto-priority.conf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/dropins/timer-no-persistent.conf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/dropins/user-manager-defer.conf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/linger-marker +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/systemd/set-hostname-once.service +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/usr-local-bin/set-hostname-once.sh +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/usr-sbin/oled_boot_splash.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/usr-sbin/oled_boot_splash.sh +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/usr-sbin/oled_msg.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/usr-sbin/oled_msg.sh +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/assets/wheels/pyyaml-6.0.3-cp313-cp313-linux_armv7l.whl +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/bootstrap/boneio-migrate +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/bootstrap/install-helper.sh +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/bootstrap/sudoers-migrate +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.3.0.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.3.0.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.3.1.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.3.1.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.3.2.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.3.2.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.4.0.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.4.0.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.4.3.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.4.3.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.4.4.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.4.4.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.0.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.0.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.1.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.1.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.10.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.10.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.11.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.11.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.12.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.12.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.13.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.13.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.14.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.14.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.15.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.15.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.16.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.16.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.17.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.17.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.18.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.18.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.2.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.2.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.3.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.3.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.4.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.4.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.5.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.5.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.6.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.6.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.7.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.7.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.8.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.8.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.9.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.5.9.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.0.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.0.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.1.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.1.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.10.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.10.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.11.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.11.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.12.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.12.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.13.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.13.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.14.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.14.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.15.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.15.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.16.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.16.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.17.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.17.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.18.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.18.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.19.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.19.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.2.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.2.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.20.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.20.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.21.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.21.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.22.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.22.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.3.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.3.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.4.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.4.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.5.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.5.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.6.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.6.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.7.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.7.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.8.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.8.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.9.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/plans/1.6.9.sig +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/runner.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_3_0_baseline.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_3_1_fix_oled_boot.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_3_2_cleanup_can_sudoers.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_4_0_fix_mqtt_sudoers.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_4_3_oled_shutdown.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_4_4_caddy.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_0_fix_oled_fifo_permissions.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_10_disable_console_setup.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_11_timer_catchup.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_12_oled_splash_off_critical_path.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_13_mosquitto_priority.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_14_journal_apparent_size.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_15_prune_orphan_journals.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_16_login_linger.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_17_defer_user_manager.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_18_fix_hostname_once.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_1_ufw_lox_udp.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_2_libyaml.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_3_libyaml_retry.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_4_onewire_modules.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_5_overlay_kernel_hook.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_6_boot_service_order.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_7_journald_limits.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_8_apparmor_prune.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_5_9_defer_nonessential.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_0_nodered_admin_auth.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_10_narrow_sudo_rules.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_11_drop_docker_group.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_12_console_shows_ip.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_13_custom_certificate.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_14_certificate_lifetime.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_15_web_port_reaches_caddy.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_16_release_floor_ordering.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_17_service_password.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_18_os_updates.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_19_helper_apt_purge.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_1_mosquitto_passwd_perms.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_20_drop_packagekit.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_21_caddy_pinned.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_22_security_autoupdates.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_2_drop_build_sudo_rule.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_3_firewall_rule_gaps.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_4_ssh_login_hardening.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_5_trust_transition.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_6_retire_legacy_helper.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_7_timedatectl_sudoers.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_8_system_helper.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/migrations/versions/v1_6_9_ntp_servers.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/cli.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/client.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/coordinator.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/energy_meters/dts1964_3f.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/energy_meters/le-03mw.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/energy_meters/le-03mwct.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/energy_meters/orno-or-we-517.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/energy_meters/sdm120.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/energy_meters/sdm630.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/energy_meters/socomec_e03.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/energy_meters/socomec_e23.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/hvac/defro-drx.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/hvac/eht-topventil-plus.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/hvac/fujitsu-ac.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/hvac/thessla.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/hvac/ventclear.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/hvac/wanas415.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/inverters/sofar.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/other/esp32_relay_x4_modbus.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/other/n4dsc08.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/other/r4dcb08.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/sensors/boneio-edge-temp.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/sensors/cwt.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/sensors/dyp-a12-ultrasonic.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/sensors/gdfs.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/sensors/gdfx.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/sensors/liquid-sensor.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/sensors/pt100.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/sensors/qdw90a.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/sensors/sht20.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/devices/sensors/sht30.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/base.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/derived/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/derived/numeric.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/derived/select.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/derived/switch.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/derived/text.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/sensor/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/sensor/binary.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/sensor/numeric.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/sensor/text.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/writeable/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/writeable/binary.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/entities/writeable/numeric.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/mock_coordinator.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/modbus/utils.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/models/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/models/actions.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/models/events.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/models/files.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/models/logs.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/models/mqtt.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/models/state.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/runner.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/actions.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/actions_sensor.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/actions_switch.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/condition.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/filters.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/filters_adc.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/id.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/remote_devices.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/remote_inputs.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/remote_outputs.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/schema.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/temp_unit.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/schema/update_interval.yaml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/action_validation.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/app.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/bind.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/dashboard_cards.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/AppInitContext-BeNfj23N.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/NodeRedView-C_0IlqZ6.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/NumericInput-DGzxoNxg.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/Sparkline-IwpgUXqb.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/ViewToggle-CTm9ZUC_.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/axios-DJBeJS4R.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/basePath-CxHj-SSK.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/clipboard-CCtx29e-.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/codicon-ngg6Pgfi.ttf +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/configCache-BS98BpF9.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/dialog-DUHsilMe.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/editor.worker-O-CH8JUO.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/fa-Bo0hGcDa.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/formatters-Cc0QIRxb.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/gi-BEb-YkSt.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/index-bS3WyOSw.css +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/monaco-Br_kD0ds.css +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/rolldown-runtime-hePW80VL.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/select-DCMFLjZt.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/utils-DOQQTBMN.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/workbox-window.prod.es5-Bd17z0YL.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/assets/yaml.worker-CeS-z5zL.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/boneio-192.png +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/boneio-512.png +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/boneio.svg +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/boneio_fav.svg +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/adc.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/areas.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/binary_sensor.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/boneio.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/can.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/config.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/cover.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/dallas.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/ds2482.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/event.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/ina219.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/ina226.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/irrigation.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/lm75.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/location.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/logger.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/lox_udp.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/mcp23017.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/mcp9808.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/modbus.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/modbus_devices.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/mqtt.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/oled.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/osdp.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/output.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/output_group.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/pca9685.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/pcf8575.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/remote_devices.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/remote_inputs.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/remote_outputs.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/schedule.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/sensor.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/template.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/virtual_energy_sensor.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/virtual_switch.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/schema/web.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/frontend-dist/workbox-7e79c025.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/hvac_svg_templates.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/middleware/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/middleware/auth.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/middleware/csrf.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/middleware/policy.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/modbus_card_templates.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/rate_limit.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/recovery/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/recovery/app.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/recovery/server.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/recovery/static/index.html +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/recovery/static/recovery.css +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/recovery/static/recovery.js +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/accounts.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/auth.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/can.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/config.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/config_actions.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/config_backups.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/config_core.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/config_discovery.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/config_files.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/covers.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/dashboard.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/dev_fake_device.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/diagnostics.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/irrigation.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/migrations.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/modbus.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/mqtt_reference.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/nodered.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/onboarding.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/os_update.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/outputs.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/remote_devices.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/schedule.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/security.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/sensors.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/sun.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/system.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/templates.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/timezone_sudoers.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/routes/tools.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/adc.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/areas.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/binary_sensor.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/boneio.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/can.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/config.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/cover.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/dallas.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/ds2482.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/event.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/ina219.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/ina226.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/irrigation.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/lm75.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/location.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/logger.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/lox_udp.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/mcp23017.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/mcp9808.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/modbus.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/modbus_devices.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/mqtt.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/oled.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/osdp.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/output.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/output_group.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/pca9685.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/pcf8575.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/remote_devices.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/remote_inputs.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/remote_outputs.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/schedule.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/sensor.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/template.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/virtual_energy_sensor.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/virtual_switch.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/schema/web.schema.json +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/security_headers.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/services/__init__.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/services/logs.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/sudo_rate_limiter.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/web_server.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio/webui/websocket_manager.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio.egg-info/dependency_links.txt +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio.egg-info/entry_points.txt +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio.egg-info/requires.txt +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/boneio.egg-info/top_level.txt +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/pyproject.toml +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/setup.cfg +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/setup.py +0 -0
- {boneio-1.6.0.dev15 → boneio-1.6.0.dev16}/tests/test_py313_compatibility.py +0 -0
|
@@ -19,7 +19,7 @@ from boneio.core.atomic_file import write_atomically
|
|
|
19
19
|
_LOGGER = logging.getLogger(__name__)
|
|
20
20
|
|
|
21
21
|
# Current schema version — bump this when adding new migrations
|
|
22
|
-
CURRENT_SCHEMA_VERSION =
|
|
22
|
+
CURRENT_SCHEMA_VERSION = 7
|
|
23
23
|
|
|
24
24
|
# Minimum app version that introduced each schema version.
|
|
25
25
|
# Used by the WebUI to warn before rolling back to an incompatible version.
|
|
@@ -31,6 +31,7 @@ SCHEMA_VERSION_APP_MAP: dict[int, str] = {
|
|
|
31
31
|
4: "1.5.0dev13", # WLED effects/palettes → JSON cache
|
|
32
32
|
5: "1.5.0dev35", # OLED screen name: ina219 → ina
|
|
33
33
|
6: "1.6.0dev15", # gpio_mode, clear_message removed from inputs
|
|
34
|
+
7: "1.6.0dev16", # MQTT password moved to secrets.yaml
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
|
|
@@ -165,6 +166,16 @@ def _has_legacy_fields(doc: dict) -> bool:
|
|
|
165
166
|
):
|
|
166
167
|
return True
|
|
167
168
|
|
|
169
|
+
# v7: a broker password written in the config itself. A value that came
|
|
170
|
+
# through !secret is a SecretStr, so only a plain one counts.
|
|
171
|
+
from boneio.core.config.yaml_util import SecretStr
|
|
172
|
+
|
|
173
|
+
mqtt = doc.get("mqtt")
|
|
174
|
+
if isinstance(mqtt, dict):
|
|
175
|
+
password = mqtt.get("password")
|
|
176
|
+
if password not in (None, "") and not isinstance(password, SecretStr):
|
|
177
|
+
return True
|
|
178
|
+
|
|
168
179
|
return False
|
|
169
180
|
|
|
170
181
|
|
|
@@ -322,4 +333,5 @@ from boneio.core.config.migrations import (
|
|
|
322
333
|
v4_wled_cache, # noqa: E402, F401
|
|
323
334
|
v5_ina_screen, # noqa: E402, F401
|
|
324
335
|
v6_input_keys, # noqa: E402, F401
|
|
336
|
+
v7_mqtt_password_secret, # noqa: E402, F401
|
|
325
337
|
)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"""Migration v7: Keep the broker password in secrets.yaml.
|
|
2
|
+
|
|
3
|
+
Images draw the broker password per device at first boot and write it to
|
|
4
|
+
secrets.yaml, so the shipped mqtt.yaml says ``password: !secret mqtt_password``.
|
|
5
|
+
Controllers installed before that keep the password in mqtt.yaml itself, which
|
|
6
|
+
then travels with every config backup and every copy someone pastes into a
|
|
7
|
+
support thread. This moves it next to the device's other secrets.
|
|
8
|
+
|
|
9
|
+
Before (mqtt.yaml):
|
|
10
|
+
host: localhost
|
|
11
|
+
password: "s3cret"
|
|
12
|
+
After:
|
|
13
|
+
host: localhost
|
|
14
|
+
password: !secret mqtt_password
|
|
15
|
+
and secrets.yaml:
|
|
16
|
+
mqtt_password: "s3cret"
|
|
17
|
+
|
|
18
|
+
A password already given as ``!secret`` is left alone. If secrets.yaml already
|
|
19
|
+
holds a different ``mqtt_password``, the value goes under ``mqtt_password_2``.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
from __future__ import annotations
|
|
23
|
+
|
|
24
|
+
import logging
|
|
25
|
+
|
|
26
|
+
from boneio.core.config.migrations import register_migration
|
|
27
|
+
|
|
28
|
+
_LOGGER = logging.getLogger(__name__)
|
|
29
|
+
|
|
30
|
+
_FIELD = ("mqtt", "password")
|
|
31
|
+
_SECRET_NAME = "mqtt_password"
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def _persist_mqtt_password_secret(config_file: str) -> None:
|
|
35
|
+
from boneio.core.config.yaml_patch import move_to_secret
|
|
36
|
+
|
|
37
|
+
move_to_secret(config_file, _FIELD, _SECRET_NAME)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
@register_migration(
|
|
41
|
+
version=7,
|
|
42
|
+
name="Move the MQTT password to secrets.yaml",
|
|
43
|
+
migrate_file=_persist_mqtt_password_secret,
|
|
44
|
+
)
|
|
45
|
+
def migrate_v7_mqtt_password_secret(doc: dict) -> dict:
|
|
46
|
+
"""Nothing changes in memory: the password is the same, only where it is kept.
|
|
47
|
+
|
|
48
|
+
Args:
|
|
49
|
+
doc: Raw config dictionary.
|
|
50
|
+
|
|
51
|
+
Returns:
|
|
52
|
+
The same dictionary.
|
|
53
|
+
"""
|
|
54
|
+
return doc
|
|
@@ -587,3 +587,79 @@ def set_secret(secrets_file: str | Path, name: str, value: str) -> None:
|
|
|
587
587
|
|
|
588
588
|
write_atomically(file_path, "".join(lines))
|
|
589
589
|
_LOGGER.info("Wrote the secret %s", name)
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
@_locked
|
|
593
|
+
def move_to_secret(
|
|
594
|
+
config_file: str | Path, path: tuple[str, ...], name: str, *, overwrite: bool = False
|
|
595
|
+
) -> str | None:
|
|
596
|
+
"""Move a plain value into secrets.yaml and leave a ``!secret`` in its place.
|
|
597
|
+
|
|
598
|
+
The secrets file is the one beside the file holding the field — that is
|
|
599
|
+
where BoneIOLoader looks for it — and is created, 0600, when missing. A
|
|
600
|
+
name already taken by a different value is not overwritten; the value goes
|
|
601
|
+
under ``<name>_2``, ``<name>_3``… instead.
|
|
602
|
+
|
|
603
|
+
Args:
|
|
604
|
+
config_file: Path to config.yaml.
|
|
605
|
+
path: Field path, outermost first, e.g. ``("mqtt", "password")``.
|
|
606
|
+
name: The secret's preferred name.
|
|
607
|
+
overwrite: Store the value under ``name`` whatever it held — for a
|
|
608
|
+
field that referred to that secret before a save wrote it out.
|
|
609
|
+
|
|
610
|
+
Returns:
|
|
611
|
+
The name the value went under, or None when there was nothing to move:
|
|
612
|
+
the field is missing, empty, or already a reference.
|
|
613
|
+
|
|
614
|
+
Raises:
|
|
615
|
+
YamlPatchError: If secrets.yaml is there but is not a mapping — adding
|
|
616
|
+
a line to a file the loader cannot read would hide the value.
|
|
617
|
+
"""
|
|
618
|
+
import os
|
|
619
|
+
|
|
620
|
+
import yaml
|
|
621
|
+
|
|
622
|
+
file_path, inner = resolve_field(config_file, path)
|
|
623
|
+
if not file_path.is_file():
|
|
624
|
+
return None
|
|
625
|
+
lines = file_path.read_text(encoding="utf-8").splitlines(keepends=True)
|
|
626
|
+
index = _find_section_line(lines, inner)
|
|
627
|
+
if index is None:
|
|
628
|
+
return None
|
|
629
|
+
parsed = _line_key(lines[index])
|
|
630
|
+
if parsed is None or _SECRET_REFERENCE.match(_strip_comment(parsed[2])):
|
|
631
|
+
return None
|
|
632
|
+
try:
|
|
633
|
+
value = yaml.safe_load(parsed[2]) if parsed[2] else None
|
|
634
|
+
except yaml.YAMLError as err:
|
|
635
|
+
raise YamlPatchError(f"{file_path.name}: cannot read {'.'.join(inner)}") from err
|
|
636
|
+
if value is None or value == "" or isinstance(value, (dict, list)):
|
|
637
|
+
return None
|
|
638
|
+
value = str(value)
|
|
639
|
+
|
|
640
|
+
secrets_file = file_path.parent / "secrets.yaml"
|
|
641
|
+
existing: dict = {}
|
|
642
|
+
if secrets_file.is_file():
|
|
643
|
+
try:
|
|
644
|
+
loaded = yaml.safe_load(secrets_file.read_text(encoding="utf-8"))
|
|
645
|
+
except yaml.YAMLError as err:
|
|
646
|
+
raise YamlPatchError(f"{secrets_file} is not valid YAML") from err
|
|
647
|
+
if loaded is not None and not isinstance(loaded, dict):
|
|
648
|
+
raise YamlPatchError(f"{secrets_file} is not a mapping")
|
|
649
|
+
existing = loaded or {}
|
|
650
|
+
else:
|
|
651
|
+
write_atomically(secrets_file, "", mode=0o600)
|
|
652
|
+
|
|
653
|
+
chosen, suffix = name, 1
|
|
654
|
+
while not overwrite and chosen in existing and str(existing[chosen]) != value:
|
|
655
|
+
suffix += 1
|
|
656
|
+
chosen = f"{name}_{suffix}"
|
|
657
|
+
if chosen not in existing or str(existing[chosen]) != value:
|
|
658
|
+
set_secret(secrets_file, chosen, value)
|
|
659
|
+
# It holds a password now, whatever it held before.
|
|
660
|
+
os.chmod(secrets_file, 0o600)
|
|
661
|
+
|
|
662
|
+
lines[index] = f"{' ' * parsed[1]}{inner[-1]}: !secret {chosen}\n"
|
|
663
|
+
write_atomically(file_path, "".join(lines))
|
|
664
|
+
_LOGGER.info("Moved %s in %s to secrets.yaml as %s", ".".join(inner), file_path.name, chosen)
|
|
665
|
+
return chosen
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import contextlib
|
|
2
|
+
import copy
|
|
2
3
|
import fnmatch
|
|
3
4
|
import logging
|
|
4
5
|
import os
|
|
@@ -12,6 +13,7 @@ from typing import Any
|
|
|
12
13
|
|
|
13
14
|
from cerberus import TypeDefinition, Validator
|
|
14
15
|
from cerberus.schema import DefinitionSchema
|
|
16
|
+
import yaml
|
|
15
17
|
from yaml import MarkedYAMLError, YAMLError, dump, load
|
|
16
18
|
|
|
17
19
|
from boneio.const import OUTPUT, VIRTUAL_SWITCH
|
|
@@ -28,6 +30,44 @@ _LOGGER = logging.getLogger(__name__)
|
|
|
28
30
|
|
|
29
31
|
SECRET_YAML = "secrets.yaml"
|
|
30
32
|
_SECRET_VALUES = {}
|
|
33
|
+
#: Names of every secret a YAML load resolved, whatever its type — so the cache
|
|
34
|
+
#: can tell a secret it kept as a reference from one validation turned into a
|
|
35
|
+
#: number and it had to keep by value.
|
|
36
|
+
_SECRET_NAMES_LOADED: set[str] = set()
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class SecretStr(str):
|
|
40
|
+
"""A string that came from ``!secret``, and knows which secret it was.
|
|
41
|
+
|
|
42
|
+
The config cache holds the validated config. It used to hold it with every
|
|
43
|
+
secret already substituted — the passwords sat in ``.cache.pkl``, and
|
|
44
|
+
secrets.yaml was not part of the cache key, so changing a password there did
|
|
45
|
+
nothing until some other edit invalidated the cache. The cache now stores a
|
|
46
|
+
:class:`_SecretRef` in place of each ``SecretStr`` and resolves it against
|
|
47
|
+
secrets.yaml as it is read back. Validation keeps the subclass (it checks
|
|
48
|
+
type, it does not copy), which is what lets the cache find them.
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
secret_name: str
|
|
52
|
+
|
|
53
|
+
def __new__(cls, value: str, name: str) -> "SecretStr":
|
|
54
|
+
obj = super().__new__(cls, value)
|
|
55
|
+
obj.secret_name = name
|
|
56
|
+
return obj
|
|
57
|
+
|
|
58
|
+
def __reduce__(self):
|
|
59
|
+
# Anything else that pickles a config gets the plain value, never a
|
|
60
|
+
# boneIO type that another build may not define.
|
|
61
|
+
return (str, (str(self),))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
class _SecretRef:
|
|
65
|
+
"""What the config cache stores instead of a secret's value."""
|
|
66
|
+
|
|
67
|
+
__slots__ = ("name",)
|
|
68
|
+
|
|
69
|
+
def __init__(self, name: str) -> None:
|
|
70
|
+
self.name = name
|
|
31
71
|
|
|
32
72
|
#: Cerberus checks that the schema is itself a legal cerberus schema every time
|
|
33
73
|
#: a Validator is built, and that - not validating anybody's config - is where a
|
|
@@ -342,6 +382,17 @@ def represent_time_period(dumper, data):
|
|
|
342
382
|
TimePeriodDumper.add_representer(TimePeriod, represent_time_period)
|
|
343
383
|
|
|
344
384
|
|
|
385
|
+
def _represent_secret_str(dumper, data):
|
|
386
|
+
# Written as the plain string it always was: a SecretStr only exists so the
|
|
387
|
+
# config cache can keep secrets out of .cache.pkl, and must not change what
|
|
388
|
+
# a save puts in a YAML file.
|
|
389
|
+
return dumper.represent_scalar("tag:yaml.org,2002:str", str(data))
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
for _dumper in {TimePeriodDumper, FastSafeDumper, yaml.SafeDumper, yaml.Dumper}:
|
|
393
|
+
_dumper.add_representer(SecretStr, _represent_secret_str)
|
|
394
|
+
|
|
395
|
+
|
|
345
396
|
class BoneIOLoader(FastSafeLoader):
|
|
346
397
|
"""Loader which support for include in yaml files."""
|
|
347
398
|
|
|
@@ -365,7 +416,8 @@ class BoneIOLoader(FastSafeLoader):
|
|
|
365
416
|
raise MarkedYAMLError(f"Secret '{node.value}' not defined", node.start_mark)
|
|
366
417
|
val = secrets[node.value]
|
|
367
418
|
_SECRET_VALUES[str(val)] = node.value
|
|
368
|
-
|
|
419
|
+
_SECRET_NAMES_LOADED.add(node.value)
|
|
420
|
+
return SecretStr(val, node.value) if isinstance(val, str) else val
|
|
369
421
|
|
|
370
422
|
def represent_stringify(self, value):
|
|
371
423
|
# Type: ignore[attr-defined] - represent_scalar is inherited from the loader base
|
|
@@ -1432,6 +1484,60 @@ def _compute_config_dir_hash(config_file: str) -> str:
|
|
|
1432
1484
|
return h.hexdigest()
|
|
1433
1485
|
|
|
1434
1486
|
|
|
1487
|
+
def _secret_digest(value: Any) -> str:
|
|
1488
|
+
import hashlib
|
|
1489
|
+
|
|
1490
|
+
return hashlib.sha256(repr(value).encode("utf-8")).hexdigest()
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
def _secrets_to_refs(node: Any, found: set[str]) -> Any:
|
|
1494
|
+
"""A copy of *node* with every :class:`SecretStr` replaced by a reference."""
|
|
1495
|
+
if isinstance(node, SecretStr):
|
|
1496
|
+
found.add(node.secret_name)
|
|
1497
|
+
return _SecretRef(node.secret_name)
|
|
1498
|
+
if isinstance(node, dict):
|
|
1499
|
+
out = copy.copy(node)
|
|
1500
|
+
for key, value in node.items():
|
|
1501
|
+
out[key] = _secrets_to_refs(value, found)
|
|
1502
|
+
return out
|
|
1503
|
+
if isinstance(node, list):
|
|
1504
|
+
return [_secrets_to_refs(item, found) for item in node]
|
|
1505
|
+
if isinstance(node, tuple):
|
|
1506
|
+
return tuple(_secrets_to_refs(item, found) for item in node)
|
|
1507
|
+
return node
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
def _refs_to_secrets(node: Any, secrets: dict) -> Any:
|
|
1511
|
+
"""Resolve the cache's secret references against secrets.yaml, in place.
|
|
1512
|
+
|
|
1513
|
+
Raises:
|
|
1514
|
+
KeyError: A reference names a secret secrets.yaml no longer defines.
|
|
1515
|
+
"""
|
|
1516
|
+
if isinstance(node, _SecretRef):
|
|
1517
|
+
value = secrets[node.name]
|
|
1518
|
+
_SECRET_VALUES[str(value)] = node.name
|
|
1519
|
+
return SecretStr(value, node.name) if isinstance(value, str) else value
|
|
1520
|
+
if isinstance(node, dict):
|
|
1521
|
+
for key in list(node):
|
|
1522
|
+
node[key] = _refs_to_secrets(node[key], secrets)
|
|
1523
|
+
return node
|
|
1524
|
+
if isinstance(node, list):
|
|
1525
|
+
for index, item in enumerate(node):
|
|
1526
|
+
node[index] = _refs_to_secrets(item, secrets)
|
|
1527
|
+
return node
|
|
1528
|
+
if isinstance(node, tuple):
|
|
1529
|
+
return tuple(_refs_to_secrets(item, secrets) for item in node)
|
|
1530
|
+
return node
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
def _load_secrets_for(config_file: str) -> dict:
|
|
1534
|
+
path = os.path.join(os.path.dirname(config_file), SECRET_YAML)
|
|
1535
|
+
if not os.path.isfile(path):
|
|
1536
|
+
return {}
|
|
1537
|
+
secrets = load_yaml_file(path)
|
|
1538
|
+
return secrets if isinstance(secrets, dict) else {}
|
|
1539
|
+
|
|
1540
|
+
|
|
1435
1541
|
def _try_load_cached_config(config_file: str) -> dict | None:
|
|
1436
1542
|
"""Try to load validated config from cache.
|
|
1437
1543
|
|
|
@@ -1499,12 +1605,31 @@ def _try_load_cached_config(config_file: str) -> dict | None:
|
|
|
1499
1605
|
_LOGGER.debug("Schema file changed, cache invalidated")
|
|
1500
1606
|
return None
|
|
1501
1607
|
|
|
1608
|
+
# A secret validation turned into something other than a string is
|
|
1609
|
+
# in the payload by value, so its current value has to match.
|
|
1610
|
+
baked = header.get("baked_secrets", {})
|
|
1611
|
+
secrets = _load_secrets_for(config_file) if baked or header.get("secret_refs") else {}
|
|
1612
|
+
for name, digest in baked.items():
|
|
1613
|
+
# A name the loader saw but secrets.yaml lacks was recorded as
|
|
1614
|
+
# the digest of None; lacking it still is not a change.
|
|
1615
|
+
if _secret_digest(secrets.get(name)) != digest:
|
|
1616
|
+
_LOGGER.debug("Secret %r changed, cache invalidated", name)
|
|
1617
|
+
return None
|
|
1618
|
+
|
|
1502
1619
|
data = pickle.load(f)
|
|
1503
1620
|
|
|
1504
1621
|
if not isinstance(data, dict):
|
|
1505
1622
|
_LOGGER.warning("Config cache %s holds no config, revalidating", cache_path)
|
|
1506
1623
|
return None
|
|
1507
1624
|
|
|
1625
|
+
try:
|
|
1626
|
+
data = _refs_to_secrets(data, secrets)
|
|
1627
|
+
except KeyError as missing:
|
|
1628
|
+
_LOGGER.info(
|
|
1629
|
+
"secrets.yaml no longer defines %s, revalidating config", missing
|
|
1630
|
+
)
|
|
1631
|
+
return None
|
|
1632
|
+
|
|
1508
1633
|
_LOGGER.debug("Loading validated config from cache (skipping Cerberus validation)")
|
|
1509
1634
|
return data
|
|
1510
1635
|
except FileNotFoundError:
|
|
@@ -1536,16 +1661,30 @@ def _save_config_cache(config_file: str, validated_config: dict) -> None:
|
|
|
1536
1661
|
|
|
1537
1662
|
cache_path = _get_config_cache_path(config_file)
|
|
1538
1663
|
try:
|
|
1664
|
+
# No secret's value goes into the payload when it can be avoided:
|
|
1665
|
+
# strings from !secret become references, resolved from secrets.yaml
|
|
1666
|
+
# when the cache is read. A secret validation coerced (a port given as
|
|
1667
|
+
# !secret, say) stays by value, and its digest in the header makes a
|
|
1668
|
+
# change to it invalidate the cache instead of going unnoticed.
|
|
1669
|
+
as_refs: set[str] = set()
|
|
1670
|
+
payload = _secrets_to_refs(validated_config, as_refs)
|
|
1671
|
+
baked: dict[str, str] = {}
|
|
1672
|
+
leftover = _SECRET_NAMES_LOADED - as_refs
|
|
1673
|
+
if leftover:
|
|
1674
|
+
secrets = _load_secrets_for(config_file)
|
|
1675
|
+
baked = {name: _secret_digest(secrets.get(name)) for name in sorted(leftover)}
|
|
1539
1676
|
header = {
|
|
1540
1677
|
"version": __version__,
|
|
1541
1678
|
"config_hash": _compute_config_dir_hash(config_file),
|
|
1542
1679
|
"schema_hash": _compute_file_hash(schema_file),
|
|
1680
|
+
"secret_refs": sorted(as_refs),
|
|
1681
|
+
"baked_secrets": baked,
|
|
1543
1682
|
}
|
|
1544
1683
|
with open(cache_path, "wb") as f:
|
|
1545
1684
|
# Header first, payload second, so the reader can reject a cache
|
|
1546
1685
|
# from another build without unpickling boneIO objects at all.
|
|
1547
1686
|
pickle.dump(header, f, protocol=pickle.HIGHEST_PROTOCOL)
|
|
1548
|
-
pickle.dump(
|
|
1687
|
+
pickle.dump(payload, f, protocol=pickle.HIGHEST_PROTOCOL)
|
|
1549
1688
|
_LOGGER.debug("Saved validated config cache to %s", cache_path)
|
|
1550
1689
|
except (OSError, pickle.PicklingError) as e:
|
|
1551
1690
|
_LOGGER.debug("Could not save config cache: %s", e)
|
|
@@ -1778,9 +1917,16 @@ def _full_config_validation(
|
|
|
1778
1917
|
if not _is_downgraded:
|
|
1779
1918
|
_check_virtual_switch_references(merged_doc)
|
|
1780
1919
|
|
|
1781
|
-
# Save to cache for next startup
|
|
1782
|
-
|
|
1783
|
-
|
|
1920
|
+
# Save to cache for next startup — unless a migration just rewrote the
|
|
1921
|
+
# files. The document in hand was read before that, so it no longer says
|
|
1922
|
+
# what they say (v7 moves a password behind !secret: cached from here, it
|
|
1923
|
+
# would sit in .cache.pkl by value and a later change in secrets.yaml would
|
|
1924
|
+
# not be seen). The next start reads the files as they are now.
|
|
1925
|
+
if migrations_applied:
|
|
1926
|
+
_LOGGER.info("Config migrated; the cache is written on the next start")
|
|
1927
|
+
else:
|
|
1928
|
+
_progress("Saving cache...")
|
|
1929
|
+
_save_config_cache(config_file, merged_doc)
|
|
1784
1930
|
|
|
1785
1931
|
return merged_doc
|
|
1786
1932
|
|
|
@@ -1812,6 +1958,7 @@ def load_config_from_file(
|
|
|
1812
1958
|
|
|
1813
1959
|
# Cache miss — full validation (slow path)
|
|
1814
1960
|
_LOGGER.info("Config cache miss, running full validation...")
|
|
1961
|
+
_SECRET_NAMES_LOADED.clear()
|
|
1815
1962
|
if progress_callback:
|
|
1816
1963
|
progress_callback("Parsing YAML...")
|
|
1817
1964
|
try:
|
|
@@ -1951,6 +2098,52 @@ def strip_default_values(data: Any, schema: dict | None = None, section: str | N
|
|
|
1951
2098
|
return data
|
|
1952
2099
|
|
|
1953
2100
|
|
|
2101
|
+
def _section_secret_refs(config_file: str, section: str, data: Any) -> dict[str, str]:
|
|
2102
|
+
"""Which of a section's fields defer to secrets.yaml, before a save.
|
|
2103
|
+
|
|
2104
|
+
A save dumps the section from the values the panel sent back, and the
|
|
2105
|
+
dumper writes a secret as the plain string it is. Recorded here, each
|
|
2106
|
+
reference is put back afterwards by :func:`_keep_secret_refs`.
|
|
2107
|
+
"""
|
|
2108
|
+
if not isinstance(data, dict):
|
|
2109
|
+
return {}
|
|
2110
|
+
from boneio.core.config.yaml_patch import secret_reference
|
|
2111
|
+
|
|
2112
|
+
refs: dict[str, str] = {}
|
|
2113
|
+
for key in data:
|
|
2114
|
+
try:
|
|
2115
|
+
ref = secret_reference(config_file, (section, str(key)))
|
|
2116
|
+
except OSError:
|
|
2117
|
+
continue
|
|
2118
|
+
if ref is not None:
|
|
2119
|
+
refs[str(key)] = ref
|
|
2120
|
+
return refs
|
|
2121
|
+
|
|
2122
|
+
|
|
2123
|
+
def _keep_secret_refs(config_file: str, section: str, data: Any, refs: dict[str, str]) -> None:
|
|
2124
|
+
"""Move secret values a save wrote out back into secrets.yaml.
|
|
2125
|
+
|
|
2126
|
+
Every field that was ``!secret name`` gets its (possibly new) value stored
|
|
2127
|
+
under that name and the reference back. The broker password goes to
|
|
2128
|
+
secrets.yaml even when it was plain, as migration v7 does on upgrade.
|
|
2129
|
+
"""
|
|
2130
|
+
if not isinstance(data, dict):
|
|
2131
|
+
return
|
|
2132
|
+
from boneio.core.config.yaml_patch import YamlPatchError, move_to_secret
|
|
2133
|
+
|
|
2134
|
+
fields = dict(refs)
|
|
2135
|
+
if section == "mqtt" and "password" not in fields:
|
|
2136
|
+
fields["password"] = "mqtt_password"
|
|
2137
|
+
for key, name in fields.items():
|
|
2138
|
+
value = data.get(key)
|
|
2139
|
+
if not isinstance(value, str) or not value:
|
|
2140
|
+
continue
|
|
2141
|
+
try:
|
|
2142
|
+
move_to_secret(config_file, (section, key), name, overwrite=key in refs)
|
|
2143
|
+
except (OSError, YamlPatchError) as err:
|
|
2144
|
+
_LOGGER.error("%s.%s saved in the config instead of secrets.yaml: %s", section, key, err)
|
|
2145
|
+
|
|
2146
|
+
|
|
1954
2147
|
def update_config_section(config_file: str, section: str, data: dict | list) -> dict:
|
|
1955
2148
|
"""
|
|
1956
2149
|
Update content of a configuration section with intelligent !include handling.
|
|
@@ -1973,6 +2166,8 @@ def update_config_section(config_file: str, section: str, data: dict | list) ->
|
|
|
1973
2166
|
section, data_size,
|
|
1974
2167
|
)
|
|
1975
2168
|
|
|
2169
|
+
secret_refs = _section_secret_refs(config_file, section, data)
|
|
2170
|
+
|
|
1976
2171
|
# Special handling for mcp23017 - convert hex strings to integers
|
|
1977
2172
|
# This ensures YAML writes them as integers which are then read back as hex
|
|
1978
2173
|
if section == "mcp23017" and isinstance(data, list):
|
|
@@ -2145,6 +2340,8 @@ def update_config_section(config_file: str, section: str, data: dict | list) ->
|
|
|
2145
2340
|
|
|
2146
2341
|
_LOGGER.info(f"Successfully added new section '{section}' to config.yaml")
|
|
2147
2342
|
|
|
2343
|
+
_keep_secret_refs(config_file, section, data, secret_refs)
|
|
2344
|
+
|
|
2148
2345
|
t_total = time.perf_counter() - t_start
|
|
2149
2346
|
_LOGGER.info(
|
|
2150
2347
|
"[SAVE] DONE section='%s' total=%.3fs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"plans":{"1.3.0":"645ac6bdda8dc0a73c219aa3684a29df4bdd4032aad97a833b259de489b2ce32","1.3.1":"580381a4f6f40fc1bd4e903e591ad0d5c1db27daaccafc6f79dabf8c3b84259a","1.3.2":"7a69ffaf0c41438be25a656dcdc87783daac0eae79218d023648ef9d708e373f","1.4.0":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.4.3":"a8cfbabff09d21944a822c4a70f23a7ee14960c4054de151c9fbc7cdb29adff5","1.4.4":"19508f66d84f1e16bd24932aaa17d45417912ffd1c20d326b2f003b931ac2f8c","1.5.0":"52d9d118da099abda0e0153cd16892e201681f6e4d3c6e5790284d1ac469a407","1.5.1":"d283cb8c01024338fb614ae2199744d883379f59579423e4eb9234f5c59ebdd8","1.5.10":"889e2f12614e6e67d342571c1c3bab8940659bfbbf43fa30a6847e73decb85d1","1.5.11":"4906e4de2b3a9c2f0b0181817c9dc168cb910ba6941691d4e86b8387802b624a","1.5.12":"c0a0dc085bb33d9718e869ed5effc2c1581deffd7ed0d5adc119b94312181625","1.5.13":"bfe58c8756f9b5f5e55d5acbb6f7cfc469d201004d312c14e022eb7c52369b7d","1.5.14":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.15":"0687a735cb4aaf8f8f74ad6e228ca1b14e045cba8821991c7d19fc9beaeac766","1.5.16":"3544ac754f39d56ecf2b06300b7cca1b6f8723f99885cd11bd690f1a704d3728","1.5.17":"cf1e9e0ff6812cb7092a82dd588392d625decbe3680fe003dfc554f9045809d3","1.5.18":"1fd873effa66b632217d674745722f712a48b36bb79957fefae722757a74bc30","1.5.2":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.3":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.4":"e86174ba5aff6f257f8a3f4721c7942885cd203469a9d8ddc15dbe6c704e0f45","1.5.5":"f93ed2d4342e447eb9900a0150331113918f2a8b3baeeb795c07231d80f0337c","1.5.6":"e3d90e6ceb20d760f1e9fa63224c5a070a16b3ca6e7dc4cc2c594138e929cce8","1.5.7":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.8":"f075b84fb04f4043658a28402d963494dd58481f164c0b371cec94322fe6d131","1.5.9":"ac170fc924019fc2acd69a90a82ba5c2552dce7a2c01a05e5407443e7a9e5af7","1.6.0":"c8286514d1a4f1805e727e13d3c350bb390378c6f31ad6920030412d61ec9b3f","1.6.1":"aa1d3934091853fc21208993930c1bf92e17136428d1d0baaefabfa65d13e7fa","1.6.10":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.6.11":"d136203e08e3b052254403815d4ccedb555b0a297686fe97952d275eb1f322eb","1.6.12":"c328d4e36bd6277e01cef0140993e23970f4dff84425f3eba236cdd9a8954355","1.6.13":"f1f8b091d054a08665f047b5ad91f1f309f729a8aa30a2992d6ffdbd7f9fa7e4","1.6.14":"f1f8b091d054a08665f047b5ad91f1f309f729a8aa30a2992d6ffdbd7f9fa7e4","1.6.15":"8cfaeae24ceefe171d40241549c1f62527ce41821e5fd2904c0df1973596c0c7","1.6.16":"ac92616305848b63d942f9c14938ddd1032fc763ace933e9078ad3ef9f750be2","1.6.17":"d0197d4a4139f4801cbcfcfe8737ef98121270f6b7f1759ff4ab19ae2ccea9e1","1.6.18":"d0197d4a4139f4801cbcfcfe8737ef98121270f6b7f1759ff4ab19ae2ccea9e1","1.6.19":"ac92616305848b63d942f9c14938ddd1032fc763ace933e9078ad3ef9f750be2","1.6.2":"6ef96b5e00a04a929d16f0e4a136bfcc5b8132a466d6907a99b2c8516a8952d5","1.6.20":"28027c836eef19b21b95500760961e181f6078d22cccf8cca62b77bbbb11a0c5","1.6.21":"b0d0777e81edc8532d42bcd3b6d518fecd6078153dfe9f5f859469d2c13b369d","1.6.22":"cd5c9ac1e72631484891b96073a1c850d683b4763f65779ac5b349bfa0b79c9c","1.6.3":"5c10db827bcb92b9322d4aa5751076b825da87c6d18d6953847ba72317cca862","1.6.4":"baf2bb1c2ec7c1bfccfc514ef1cef67907e056e4f7153bb5932ecb835c9cff78","1.6.5":"b6a07b3e575e5db97037118f76d6b93ec45e4d0a0c793acc984d5081fd011e83","1.6.6":"535bb041b99d5ac1bc9028ea88bc2fbf3dbadc80ea8dea236cc219123c194114","1.6.7":"d59af413e270e6f34b1b9a1c8c4acef35328f00e26fad447cfe214545af78d8f","1.6.8":"5dff5df3cb39c71d94d2523eb6e196c84f08528c139d6afebc9bcbffb5d2add4","1.6.9":"8512be4c7907f21d8c11762b0336425b73f0d230ddadb30cf042f72441521f6a"},"release":"1.6.0.
|
|
1
|
+
{"plans":{"1.3.0":"645ac6bdda8dc0a73c219aa3684a29df4bdd4032aad97a833b259de489b2ce32","1.3.1":"580381a4f6f40fc1bd4e903e591ad0d5c1db27daaccafc6f79dabf8c3b84259a","1.3.2":"7a69ffaf0c41438be25a656dcdc87783daac0eae79218d023648ef9d708e373f","1.4.0":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.4.3":"a8cfbabff09d21944a822c4a70f23a7ee14960c4054de151c9fbc7cdb29adff5","1.4.4":"19508f66d84f1e16bd24932aaa17d45417912ffd1c20d326b2f003b931ac2f8c","1.5.0":"52d9d118da099abda0e0153cd16892e201681f6e4d3c6e5790284d1ac469a407","1.5.1":"d283cb8c01024338fb614ae2199744d883379f59579423e4eb9234f5c59ebdd8","1.5.10":"889e2f12614e6e67d342571c1c3bab8940659bfbbf43fa30a6847e73decb85d1","1.5.11":"4906e4de2b3a9c2f0b0181817c9dc168cb910ba6941691d4e86b8387802b624a","1.5.12":"c0a0dc085bb33d9718e869ed5effc2c1581deffd7ed0d5adc119b94312181625","1.5.13":"bfe58c8756f9b5f5e55d5acbb6f7cfc469d201004d312c14e022eb7c52369b7d","1.5.14":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.15":"0687a735cb4aaf8f8f74ad6e228ca1b14e045cba8821991c7d19fc9beaeac766","1.5.16":"3544ac754f39d56ecf2b06300b7cca1b6f8723f99885cd11bd690f1a704d3728","1.5.17":"cf1e9e0ff6812cb7092a82dd588392d625decbe3680fe003dfc554f9045809d3","1.5.18":"1fd873effa66b632217d674745722f712a48b36bb79957fefae722757a74bc30","1.5.2":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.3":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.4":"e86174ba5aff6f257f8a3f4721c7942885cd203469a9d8ddc15dbe6c704e0f45","1.5.5":"f93ed2d4342e447eb9900a0150331113918f2a8b3baeeb795c07231d80f0337c","1.5.6":"e3d90e6ceb20d760f1e9fa63224c5a070a16b3ca6e7dc4cc2c594138e929cce8","1.5.7":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.8":"f075b84fb04f4043658a28402d963494dd58481f164c0b371cec94322fe6d131","1.5.9":"ac170fc924019fc2acd69a90a82ba5c2552dce7a2c01a05e5407443e7a9e5af7","1.6.0":"c8286514d1a4f1805e727e13d3c350bb390378c6f31ad6920030412d61ec9b3f","1.6.1":"aa1d3934091853fc21208993930c1bf92e17136428d1d0baaefabfa65d13e7fa","1.6.10":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.6.11":"d136203e08e3b052254403815d4ccedb555b0a297686fe97952d275eb1f322eb","1.6.12":"c328d4e36bd6277e01cef0140993e23970f4dff84425f3eba236cdd9a8954355","1.6.13":"f1f8b091d054a08665f047b5ad91f1f309f729a8aa30a2992d6ffdbd7f9fa7e4","1.6.14":"f1f8b091d054a08665f047b5ad91f1f309f729a8aa30a2992d6ffdbd7f9fa7e4","1.6.15":"8cfaeae24ceefe171d40241549c1f62527ce41821e5fd2904c0df1973596c0c7","1.6.16":"ac92616305848b63d942f9c14938ddd1032fc763ace933e9078ad3ef9f750be2","1.6.17":"d0197d4a4139f4801cbcfcfe8737ef98121270f6b7f1759ff4ab19ae2ccea9e1","1.6.18":"d0197d4a4139f4801cbcfcfe8737ef98121270f6b7f1759ff4ab19ae2ccea9e1","1.6.19":"ac92616305848b63d942f9c14938ddd1032fc763ace933e9078ad3ef9f750be2","1.6.2":"6ef96b5e00a04a929d16f0e4a136bfcc5b8132a466d6907a99b2c8516a8952d5","1.6.20":"28027c836eef19b21b95500760961e181f6078d22cccf8cca62b77bbbb11a0c5","1.6.21":"b0d0777e81edc8532d42bcd3b6d518fecd6078153dfe9f5f859469d2c13b369d","1.6.22":"cd5c9ac1e72631484891b96073a1c850d683b4763f65779ac5b349bfa0b79c9c","1.6.3":"5c10db827bcb92b9322d4aa5751076b825da87c6d18d6953847ba72317cca862","1.6.4":"baf2bb1c2ec7c1bfccfc514ef1cef67907e056e4f7153bb5932ecb835c9cff78","1.6.5":"b6a07b3e575e5db97037118f76d6b93ec45e4d0a0c793acc984d5081fd011e83","1.6.6":"535bb041b99d5ac1bc9028ea88bc2fbf3dbadc80ea8dea236cc219123c194114","1.6.7":"d59af413e270e6f34b1b9a1c8c4acef35328f00e26fad447cfe214545af78d8f","1.6.8":"5dff5df3cb39c71d94d2523eb6e196c84f08528c139d6afebc9bcbffb5d2add4","1.6.9":"8512be4c7907f21d8c11762b0336425b73f0d230ddadb30cf042f72441521f6a"},"release":"1.6.0.dev16"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
P�IȈ3�I���h�Sg�X����C�p>I,u �gzkt�t9�x0�O�}����d�Z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{an as t,fn as n,on as r,pn as i}from"./fa-Bo0hGcDa.js";import{n as a}from"./axios-DJBeJS4R.js";import{D as o,F as s,I as c,P as l,R as u,_ as d,g as f,p,x as m}from"./index-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{an as t,fn as n,on as r,pn as i}from"./fa-Bo0hGcDa.js";import{n as a}from"./axios-DJBeJS4R.js";import{D as o,F as s,I as c,P as l,R as u,_ as d,g as f,p,x as m}from"./index-CLjnGlT9.js";var h=e(i(),1),g=n();function _(e,t){return e?.response?.data?.detail||t}function v(){let{t:e}=c(),{username:n,isAdmin:i}=u(),[v,y]=(0,h.useState)([]),[b,x]=(0,h.useState)(!0),[S,C]=(0,h.useState)(null),[w,T]=(0,h.useState)(null),[E,D]=(0,h.useState)(``),[O,k]=(0,h.useState)(``),[A,j]=(0,h.useState)(`viewer`),[M,N]=(0,h.useState)(!1),P=O?s(O,E):null,F=P?e(l[P],{min:8}):null,I=(0,h.useCallback)(async()=>{try{let{data:e}=await a.get(`/api/accounts`);y(e.accounts??[]),C(null)}catch(t){C(_(t,e(`accounts.load_failed`)))}finally{x(!1)}},[e]);(0,h.useEffect)(()=>{i&&I()},[i,I]);let L=async t=>{t.preventDefault(),C(null),T(null),N(!0);try{await a.post(`/api/accounts`,{username:E,password:O,role:A}),D(``),k(``),j(`viewer`),T(e(`accounts.created`)),await I()}catch(t){C(_(t,e(`accounts.create_failed`)))}finally{N(!1)}},R=async t=>{if(window.confirm(e(`accounts.confirm_delete`,{username:t.username}))){C(null),T(null);try{await a.delete(`/api/accounts/${encodeURIComponent(t.username)}`),T(e(`accounts.deleted`,{username:t.username})),await I()}catch(t){C(_(t,e(`accounts.delete_failed`)))}}},z=async(t,n)=>{C(null),T(null);try{await a.put(`/api/accounts/${encodeURIComponent(t.username)}/role`,{role:n}),await I()}catch(t){C(_(t,e(`accounts.role_failed`))),await I()}},B=async t=>{let n=window.prompt(e(`accounts.prompt_new_password`,{username:t.username}));if(!n)return;C(null),T(null);let r=s(n,t.username);if(r){C(e(l[r],{min:8}));return}try{await a.put(`/api/accounts/${encodeURIComponent(t.username)}/password`,{password:n}),T(e(`accounts.password_reset`,{username:t.username}))}catch(t){C(_(t,e(`accounts.password_failed`)))}};return i?(0,g.jsxs)(o,{width:`wide`,children:[S&&(0,g.jsx)(p,{variant:`error`,message:S}),w&&(0,g.jsx)(p,{variant:`success`,message:w}),(0,g.jsx)(m,{icon:(0,g.jsx)(r,{}),title:e(`accounts.title`),children:b?(0,g.jsx)(`div`,{className:`flex justify-center py-6`,children:(0,g.jsx)(`span`,{className:`loading loading-spinner loading-md text-primary`})}):(0,g.jsx)(`div`,{className:`stg-inset overflow-x-auto`,children:(0,g.jsxs)(`table`,{className:`table table-sm`,children:[(0,g.jsx)(`thead`,{children:(0,g.jsxs)(`tr`,{children:[(0,g.jsx)(`th`,{children:e(`accounts.username`)}),(0,g.jsx)(`th`,{children:e(`accounts.role`)}),(0,g.jsx)(`th`,{className:`text-right`,children:e(`accounts.actions`)})]})}),(0,g.jsx)(`tbody`,{children:v.map(t=>{let r=t.username.toLowerCase()===(n??``).toLowerCase();return(0,g.jsxs)(`tr`,{children:[(0,g.jsxs)(`td`,{children:[(0,g.jsx)(`span`,{className:`font-medium font-mono`,children:t.username}),r&&(0,g.jsx)(`span`,{className:`ml-2 badge badge-ghost badge-xs`,children:e(`accounts.you`)})]}),(0,g.jsx)(`td`,{children:(0,g.jsxs)(`select`,{className:`select select-xs select-bordered`,value:t.role,disabled:r,onChange:e=>z(t,e.target.value),children:[(0,g.jsx)(`option`,{value:`admin`,children:e(`accounts.role_admin`)}),(0,g.jsx)(`option`,{value:`viewer`,children:e(`accounts.role_viewer`)})]})}),(0,g.jsxs)(`td`,{className:`text-right whitespace-nowrap`,children:[(0,g.jsx)(`button`,{className:`btn btn-ghost btn-xs`,onClick:()=>B(t),children:e(`accounts.reset_password`)}),(0,g.jsx)(`button`,{className:`btn btn-ghost btn-xs text-error ml-1`,disabled:r,onClick:()=>R(t),children:e(`accounts.delete`)})]})]},t.username)})})]})})}),(0,g.jsx)(`form`,{onSubmit:L,children:(0,g.jsx)(m,{icon:(0,g.jsx)(t,{}),title:e(`accounts.add_title`),description:e(`accounts.add_intro`),footer:(0,g.jsx)(f,{children:(0,g.jsxs)(`button`,{type:`submit`,className:`btn btn-primary btn-sm gap-2`,disabled:M||!E||!O||!!F,children:[M&&(0,g.jsx)(`span`,{className:`loading loading-spinner loading-xs`}),e(`accounts.add_button`)]})}),children:(0,g.jsxs)(`div`,{className:`grid grid-cols-1 sm:grid-cols-[1fr_1fr_auto] gap-3`,children:[(0,g.jsx)(d,{label:e(`accounts.username`),children:(0,g.jsx)(`input`,{type:`text`,className:`input input-bordered w-full font-mono`,placeholder:e(`accounts.username`),autoComplete:`off`,required:!0,value:E,onChange:e=>D(e.target.value)})}),(0,g.jsx)(d,{label:e(`accounts.password`),error:F||void 0,children:(0,g.jsx)(`input`,{type:`password`,className:`input input-bordered w-full font-mono ${F?`input-error`:``}`,placeholder:e(`accounts.password`),autoComplete:`new-password`,required:!0,minLength:8,"aria-invalid":F?!0:void 0,"aria-describedby":F?`accounts-password-error`:void 0,value:O,onChange:e=>k(e.target.value)})}),(0,g.jsx)(d,{label:e(`accounts.role`),className:`sm:w-40`,children:(0,g.jsxs)(`select`,{className:`select select-bordered w-full`,value:A,onChange:e=>j(e.target.value),children:[(0,g.jsx)(`option`,{value:`viewer`,children:e(`accounts.role_viewer`)}),(0,g.jsx)(`option`,{value:`admin`,children:e(`accounts.role_admin`)})]})})]})})})]}):(0,g.jsx)(o,{width:`wide`,children:(0,g.jsx)(p,{variant:`warning`,message:e(`accounts.admin_only`)})})}export{v as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{N as t,R as n,U as r,Ut as i,fn as a,in as o,nn as s,pn as c,tn as l}from"./fa-Bo0hGcDa.js";import{a as u,i as d,n as f,o as p,t as m}from"./dialog-DUHsilMe.js";import{n as h}from"./axios-DJBeJS4R.js";import{D as g,I as _,g as v,p as y,x as b}from"./index-UQJ1vWT5.js";var x=e(c(),1),S=a();function C(){let{t:e}=_(),a=(0,x.useRef)(null),[c,C]=(0,x.useState)(!1),[w,T]=(0,x.useState)(!1),[E,D]=(0,x.useState)(null),[O,k]=(0,x.useState)(null),[A,j]=(0,x.useState)([]),[M,N]=(0,x.useState)(!1),[P,F]=(0,x.useState)(null),I=(0,x.useCallback)(async()=>{try{let{data:e}=await h.get(`/api/config/backups`);j(e.backups||[])}catch(e){console.error(`Error fetching available backups:`,e)}},[]);(0,x.useEffect)(()=>{I()},[I]);let L=async()=>{C(!0),k(null);try{let{data:e}=await h.post(`/api/config/create_backup`);e.status===`success`?(await I(),alert(e.message)):k(e.message)}catch(t){k(e(`backup.error`)),console.error(`Error creating backup:`,t)}finally{C(!1)}},R=async(t,n)=>{try{let e=(await h.get(`/api/config/download_backup?backup_path=${encodeURIComponent(t)}`,{responseType:`blob`})).data,r=window.URL.createObjectURL(e),i=document.createElement(`a`);i.href=r,i.download=n,document.body.appendChild(i),i.click(),window.URL.revokeObjectURL(r),document.body.removeChild(i)}catch(t){k(e(`backup.error`)),console.error(`Error downloading backup:`,t)}},z=async(t,n)=>{if(confirm(`${e(`device_management.confirm_delete_backup`)||`Delete backup`} ${n}?`))try{let{data:e}=await h.delete(`/api/config/delete_backup`,{data:{backup_path:t}});e.status===`success`?(await I(),alert(e.message)):k(e.message)}catch(t){k(e(`backup.error`)),console.error(`Error deleting backup:`,t)}},B=async t=>{t.status===`success`?(D(t),confirm(e(`device_management.restore_success_restart`))&&(await h.post(`/api/restart`),setTimeout(()=>window.location.reload(),3e3))):k(t.message||e(`device_management.restore_failed`))},V=async(t,n)=>{T(!0);try{let{data:e}=await h.post(`/api/config/restore_backup`,{backup_path:t,override_serial:n},{timeout:3e4});await B(e)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error restoring config:`,t)}finally{T(!1)}},H=async t=>{T(!0),k(null),D(null);try{let{data:n}=await h.post(`/api/config/inspect_backup_path`,{backup_path:t});n.serial_mismatch?F({backupMeta:n.backup_meta,currentSerial:n.current_serial,onConfirm:e=>{F(null),V(t,e)},onCancel:()=>{F(null),T(!1)}}):confirm(e(`device_management.confirm_restore`))?await V(t,!1):T(!1)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error inspecting backup path:`,t),T(!1)}},U=async()=>{C(!0),k(null);try{let e=await h.get(`/api/config/download`,{responseType:`blob`}),t=e.headers[`content-disposition`],n=`boneio_config.tar.gz`;if(t){let e=t.match(/filename=(.+)/);e&&(n=e[1])}let r=e.data,i=window.URL.createObjectURL(r),a=document.createElement(`a`);a.href=i,a.download=n,document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(i),document.body.removeChild(a)}catch(t){k(e(`backup.error`)),console.error(`Error downloading config:`,t)}finally{C(!1)}},W=async(t,n)=>{T(!0);try{let e=new FormData;e.append(`file`,t),e.append(`override_serial`,n?`true`:`false`);let{data:r}=await h.post(`/api/config/restore`,e,{headers:{"Content-Type":`multipart/form-data`},timeout:3e4});await B(r)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error restoring config:`,t)}finally{T(!1)}};return(0,S.jsxs)(g,{width:`wide`,children:[O&&(0,S.jsx)(y,{variant:`error`,message:O,action:(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-circle`,onClick:()=>k(null),children:`×`})}),(0,S.jsx)(b,{icon:(0,S.jsx)(t,{}),title:e(`device_management.configuration_backup`),description:e(`device_management.backup_description`),footer:(0,S.jsxs)(v,{children:[(0,S.jsx)(`button`,{className:`btn btn-primary btn-sm gap-2`,onClick:U,disabled:c||w,children:c?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(i,{className:`animate-spin`}),e(`device_management.preparing`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(t,{}),e(`device_management.download_config`)]})}),(0,S.jsx)(`button`,{className:`btn btn-outline btn-sm gap-2`,onClick:()=>a.current?.click(),disabled:c||w,children:w?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(i,{className:`animate-spin`}),e(`device_management.restoring`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(o,{}),e(`device_management.restore_config`)]})})]}),children:(0,S.jsxs)(`div`,{className:`space-y-3`,children:[(0,S.jsx)(`input`,{ref:a,type:`file`,accept:`.tar.gz,.tgz`,onChange:async t=>{let n=t.target.files?.[0];if(n){T(!0),k(null),D(null);try{let t=new FormData;t.append(`file`,n);let{data:r}=await h.post(`/api/config/inspect_backup_file`,t,{headers:{"Content-Type":`multipart/form-data`}});r.serial_mismatch?F({backupMeta:r.backup_meta,currentSerial:r.current_serial,onConfirm:e=>{F(null),W(n,e)},onCancel:()=>{F(null),T(!1)}}):confirm(e(`device_management.confirm_restore`))?await W(n,!1):T(!1)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error inspecting backup file:`,t),T(!1)}}a.current&&(a.current.value=``)},style:{display:`none`}}),(0,S.jsx)(y,{variant:`info`,message:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:`block`,children:e(`device_management.backup_info_1`)}),(0,S.jsx)(`span`,{className:`block`,children:e(`device_management.backup_info_2`)}),(0,S.jsx)(`span`,{className:`block font-semibold mt-1`,children:e(`device_management.restore_info`)})]})}),E&&(0,S.jsx)(y,{variant:E.validation_status===`success`?`success`:`warning`,message:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:`block`,children:E.message}),(0,S.jsxs)(`span`,{className:`block text-xs opacity-70 mt-1 break-all`,children:[e(`device_management.backup_created`),`: `,E.backup_path]}),E.validation_status===`warning`&&(0,S.jsx)(`span`,{className:`block text-xs mt-1`,children:E.validation_message})]})})]})}),(0,S.jsx)(b,{icon:(0,S.jsx)(r,{}),title:e(`device_management.config_backups`),collapsible:A.length>0,open:M,onOpenChange:e=>{N(e),e&&I()},summary:A.length,action:(0,S.jsx)(`button`,{className:`btn btn-primary btn-sm gap-2`,onClick:L,disabled:c||w,children:c?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(i,{className:`animate-spin`}),e(`device_management.preparing`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(r,{}),e(`device_management.create_backup`)||`Create Backup`]})}),children:(0,S.jsxs)(`div`,{className:`space-y-3`,children:[(0,S.jsx)(y,{variant:`neutral`,message:e(`device_management.backup_limit_info`)||`Maximum 10 backups are kept. Oldest backups are automatically removed when creating new ones.`}),M&&A.length>0&&(0,S.jsx)(`div`,{className:`stg-inset overflow-x-auto`,children:(0,S.jsxs)(`table`,{className:`table table-sm`,children:[(0,S.jsx)(`thead`,{children:(0,S.jsxs)(`tr`,{children:[(0,S.jsx)(`th`,{children:e(`device_management.version`)}),(0,S.jsx)(`th`,{children:e(`device_management.date`)}),(0,S.jsx)(`th`,{children:e(`device_management.files`)}),(0,S.jsx)(`th`,{className:`text-right`,children:e(`device_management.actions`)})]})}),(0,S.jsx)(`tbody`,{children:A.map(n=>(0,S.jsxs)(`tr`,{children:[(0,S.jsx)(`td`,{className:`font-mono`,children:n.version}),(0,S.jsx)(`td`,{className:`text-xs font-mono`,children:n.timestamp}),(0,S.jsxs)(`td`,{children:[n.file_count,` `,e(`device_management.yaml_files`)]}),(0,S.jsx)(`td`,{children:(0,S.jsxs)(`div`,{className:`flex gap-1 justify-end`,children:[(0,S.jsxs)(`button`,{className:`btn btn-warning btn-xs gap-1.5`,onClick:()=>H(n.path),disabled:w,title:e(`device_management.restore`),children:[(0,S.jsx)(s,{}),e(`device_management.restore`)]}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-square`,onClick:()=>R(n.path,n.filename),title:e(`device_management.download_config`),children:(0,S.jsx)(t,{})}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-square text-error`,onClick:()=>z(n.path,n.filename),title:e(`device_management.delete`)||`Delete`,children:(0,S.jsx)(l,{})})]})})]},n.path))})]})})]})}),P&&(0,S.jsx)(m,{open:!0,onOpenChange:e=>{e||P.onCancel()},children:(0,S.jsxs)(f,{className:`max-w-md`,children:[(0,S.jsx)(u,{children:(0,S.jsxs)(p,{className:`flex items-center gap-2 text-warning`,children:[(0,S.jsx)(n,{}),e(`device_management.serial_mismatch_title`)||`Serial Number Mismatch`]})}),(0,S.jsxs)(`div`,{className:`py-4 text-sm space-y-4`,children:[(0,S.jsx)(`p`,{children:e(`device_management.serial_mismatch_desc`)||`The uploaded configuration backup was created on a device with a different serial number:`}),(0,S.jsxs)(`div`,{className:`bg-base-300 p-3 rounded-lg font-mono text-xs space-y-1`,children:[(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_serial`)||`Backup Serial`,`:`]}),` `,(0,S.jsx)(`span`,{className:`text-warning font-semibold`,children:P.backupMeta?.effective_serial||`Unknown`})]}),P.backupMeta?.hostname&&(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_hostname`)||`Backup Hostname`,`:`]}),` `,(0,S.jsx)(`span`,{children:P.backupMeta.hostname})]}),P.backupMeta?.created_at&&(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_created_at`)||`Created At`,`:`]}),` `,(0,S.jsx)(`span`,{children:new Date(P.backupMeta.created_at).toLocaleString()})]}),(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.current_serial`)||`Current Serial`,`:`]}),` `,(0,S.jsx)(`span`,{className:`text-info font-semibold`,children:P.currentSerial})]})]}),(0,S.jsxs)(`div`,{className:`alert alert-warning text-xs`,children:[(0,S.jsx)(n,{className:`shrink-0`}),(0,S.jsx)(`span`,{children:e(`device_management.serial_override_warning`)||`WARNING: If both controllers are running at the same time on the same MQTT broker with the same serial number, conflicts will occur!`})]})]}),(0,S.jsxs)(d,{className:`flex flex-col sm:flex-row gap-2`,children:[(0,S.jsx)(`button`,{className:`btn btn-warning btn-sm`,onClick:()=>P.onConfirm(!0),children:e(`device_management.keep_old_serial`)||`Keep Old Serial`}),(0,S.jsx)(`button`,{className:`btn btn-outline btn-sm`,onClick:()=>P.onConfirm(!1),children:e(`device_management.use_new_serial`)||`Use New Serial`}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-sm`,onClick:P.onCancel,children:e(`common.cancel`)||`Cancel`})]})]})})]})}export{C as default};
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{N as t,R as n,U as r,Ut as i,fn as a,in as o,nn as s,pn as c,tn as l}from"./fa-Bo0hGcDa.js";import{a as u,i as d,n as f,o as p,t as m}from"./dialog-DUHsilMe.js";import{n as h}from"./axios-DJBeJS4R.js";import{D as g,I as _,g as v,p as y,x as b}from"./index-CLjnGlT9.js";var x=e(c(),1),S=a();function C(){let{t:e}=_(),a=(0,x.useRef)(null),[c,C]=(0,x.useState)(!1),[w,T]=(0,x.useState)(!1),[E,D]=(0,x.useState)(null),[O,k]=(0,x.useState)(null),[A,j]=(0,x.useState)([]),[M,N]=(0,x.useState)(!1),[P,F]=(0,x.useState)(null),I=(0,x.useCallback)(async()=>{try{let{data:e}=await h.get(`/api/config/backups`);j(e.backups||[])}catch(e){console.error(`Error fetching available backups:`,e)}},[]);(0,x.useEffect)(()=>{I()},[I]);let L=async()=>{C(!0),k(null);try{let{data:e}=await h.post(`/api/config/create_backup`);e.status===`success`?(await I(),alert(e.message)):k(e.message)}catch(t){k(e(`backup.error`)),console.error(`Error creating backup:`,t)}finally{C(!1)}},R=async(t,n)=>{try{let e=(await h.get(`/api/config/download_backup?backup_path=${encodeURIComponent(t)}`,{responseType:`blob`})).data,r=window.URL.createObjectURL(e),i=document.createElement(`a`);i.href=r,i.download=n,document.body.appendChild(i),i.click(),window.URL.revokeObjectURL(r),document.body.removeChild(i)}catch(t){k(e(`backup.error`)),console.error(`Error downloading backup:`,t)}},z=async(t,n)=>{if(confirm(`${e(`device_management.confirm_delete_backup`)||`Delete backup`} ${n}?`))try{let{data:e}=await h.delete(`/api/config/delete_backup`,{data:{backup_path:t}});e.status===`success`?(await I(),alert(e.message)):k(e.message)}catch(t){k(e(`backup.error`)),console.error(`Error deleting backup:`,t)}},B=async t=>{t.status===`success`?(D(t),confirm(e(`device_management.restore_success_restart`))&&(await h.post(`/api/restart`),setTimeout(()=>window.location.reload(),3e3))):k(t.message||e(`device_management.restore_failed`))},V=async(t,n)=>{T(!0);try{let{data:e}=await h.post(`/api/config/restore_backup`,{backup_path:t,override_serial:n},{timeout:3e4});await B(e)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error restoring config:`,t)}finally{T(!1)}},H=async t=>{T(!0),k(null),D(null);try{let{data:n}=await h.post(`/api/config/inspect_backup_path`,{backup_path:t});n.serial_mismatch?F({backupMeta:n.backup_meta,currentSerial:n.current_serial,onConfirm:e=>{F(null),V(t,e)},onCancel:()=>{F(null),T(!1)}}):confirm(e(`device_management.confirm_restore`))?await V(t,!1):T(!1)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error inspecting backup path:`,t),T(!1)}},U=async()=>{C(!0),k(null);try{let e=await h.get(`/api/config/download`,{responseType:`blob`}),t=e.headers[`content-disposition`],n=`boneio_config.tar.gz`;if(t){let e=t.match(/filename=(.+)/);e&&(n=e[1])}let r=e.data,i=window.URL.createObjectURL(r),a=document.createElement(`a`);a.href=i,a.download=n,document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(i),document.body.removeChild(a)}catch(t){k(e(`backup.error`)),console.error(`Error downloading config:`,t)}finally{C(!1)}},W=async(t,n)=>{T(!0);try{let e=new FormData;e.append(`file`,t),e.append(`override_serial`,n?`true`:`false`);let{data:r}=await h.post(`/api/config/restore`,e,{headers:{"Content-Type":`multipart/form-data`},timeout:3e4});await B(r)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error restoring config:`,t)}finally{T(!1)}};return(0,S.jsxs)(g,{width:`wide`,children:[O&&(0,S.jsx)(y,{variant:`error`,message:O,action:(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-circle`,onClick:()=>k(null),children:`×`})}),(0,S.jsx)(b,{icon:(0,S.jsx)(t,{}),title:e(`device_management.configuration_backup`),description:e(`device_management.backup_description`),footer:(0,S.jsxs)(v,{children:[(0,S.jsx)(`button`,{className:`btn btn-primary btn-sm gap-2`,onClick:U,disabled:c||w,children:c?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(i,{className:`animate-spin`}),e(`device_management.preparing`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(t,{}),e(`device_management.download_config`)]})}),(0,S.jsx)(`button`,{className:`btn btn-outline btn-sm gap-2`,onClick:()=>a.current?.click(),disabled:c||w,children:w?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(i,{className:`animate-spin`}),e(`device_management.restoring`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(o,{}),e(`device_management.restore_config`)]})})]}),children:(0,S.jsxs)(`div`,{className:`space-y-3`,children:[(0,S.jsx)(`input`,{ref:a,type:`file`,accept:`.tar.gz,.tgz`,onChange:async t=>{let n=t.target.files?.[0];if(n){T(!0),k(null),D(null);try{let t=new FormData;t.append(`file`,n);let{data:r}=await h.post(`/api/config/inspect_backup_file`,t,{headers:{"Content-Type":`multipart/form-data`}});r.serial_mismatch?F({backupMeta:r.backup_meta,currentSerial:r.current_serial,onConfirm:e=>{F(null),W(n,e)},onCancel:()=>{F(null),T(!1)}}):confirm(e(`device_management.confirm_restore`))?await W(n,!1):T(!1)}catch(t){k(e(`device_management.restore_failed`)),console.error(`Error inspecting backup file:`,t),T(!1)}}a.current&&(a.current.value=``)},style:{display:`none`}}),(0,S.jsx)(y,{variant:`info`,message:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:`block`,children:e(`device_management.backup_info_1`)}),(0,S.jsx)(`span`,{className:`block`,children:e(`device_management.backup_info_2`)}),(0,S.jsx)(`span`,{className:`block font-semibold mt-1`,children:e(`device_management.restore_info`)})]})}),E&&(0,S.jsx)(y,{variant:E.validation_status===`success`?`success`:`warning`,message:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:`block`,children:E.message}),(0,S.jsxs)(`span`,{className:`block text-xs opacity-70 mt-1 break-all`,children:[e(`device_management.backup_created`),`: `,E.backup_path]}),E.validation_status===`warning`&&(0,S.jsx)(`span`,{className:`block text-xs mt-1`,children:E.validation_message})]})})]})}),(0,S.jsx)(b,{icon:(0,S.jsx)(r,{}),title:e(`device_management.config_backups`),collapsible:A.length>0,open:M,onOpenChange:e=>{N(e),e&&I()},summary:A.length,action:(0,S.jsx)(`button`,{className:`btn btn-primary btn-sm gap-2`,onClick:L,disabled:c||w,children:c?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(i,{className:`animate-spin`}),e(`device_management.preparing`)]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(r,{}),e(`device_management.create_backup`)||`Create Backup`]})}),children:(0,S.jsxs)(`div`,{className:`space-y-3`,children:[(0,S.jsx)(y,{variant:`neutral`,message:e(`device_management.backup_limit_info`)||`Maximum 10 backups are kept. Oldest backups are automatically removed when creating new ones.`}),M&&A.length>0&&(0,S.jsx)(`div`,{className:`stg-inset overflow-x-auto`,children:(0,S.jsxs)(`table`,{className:`table table-sm`,children:[(0,S.jsx)(`thead`,{children:(0,S.jsxs)(`tr`,{children:[(0,S.jsx)(`th`,{children:e(`device_management.version`)}),(0,S.jsx)(`th`,{children:e(`device_management.date`)}),(0,S.jsx)(`th`,{children:e(`device_management.files`)}),(0,S.jsx)(`th`,{className:`text-right`,children:e(`device_management.actions`)})]})}),(0,S.jsx)(`tbody`,{children:A.map(n=>(0,S.jsxs)(`tr`,{children:[(0,S.jsx)(`td`,{className:`font-mono`,children:n.version}),(0,S.jsx)(`td`,{className:`text-xs font-mono`,children:n.timestamp}),(0,S.jsxs)(`td`,{children:[n.file_count,` `,e(`device_management.yaml_files`)]}),(0,S.jsx)(`td`,{children:(0,S.jsxs)(`div`,{className:`flex gap-1 justify-end`,children:[(0,S.jsxs)(`button`,{className:`btn btn-warning btn-xs gap-1.5`,onClick:()=>H(n.path),disabled:w,title:e(`device_management.restore`),children:[(0,S.jsx)(s,{}),e(`device_management.restore`)]}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-square`,onClick:()=>R(n.path,n.filename),title:e(`device_management.download_config`),children:(0,S.jsx)(t,{})}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-xs btn-square text-error`,onClick:()=>z(n.path,n.filename),title:e(`device_management.delete`)||`Delete`,children:(0,S.jsx)(l,{})})]})})]},n.path))})]})})]})}),P&&(0,S.jsx)(m,{open:!0,onOpenChange:e=>{e||P.onCancel()},children:(0,S.jsxs)(f,{className:`max-w-md`,children:[(0,S.jsx)(u,{children:(0,S.jsxs)(p,{className:`flex items-center gap-2 text-warning`,children:[(0,S.jsx)(n,{}),e(`device_management.serial_mismatch_title`)||`Serial Number Mismatch`]})}),(0,S.jsxs)(`div`,{className:`py-4 text-sm space-y-4`,children:[(0,S.jsx)(`p`,{children:e(`device_management.serial_mismatch_desc`)||`The uploaded configuration backup was created on a device with a different serial number:`}),(0,S.jsxs)(`div`,{className:`bg-base-300 p-3 rounded-lg font-mono text-xs space-y-1`,children:[(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_serial`)||`Backup Serial`,`:`]}),` `,(0,S.jsx)(`span`,{className:`text-warning font-semibold`,children:P.backupMeta?.effective_serial||`Unknown`})]}),P.backupMeta?.hostname&&(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_hostname`)||`Backup Hostname`,`:`]}),` `,(0,S.jsx)(`span`,{children:P.backupMeta.hostname})]}),P.backupMeta?.created_at&&(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.backup_created_at`)||`Created At`,`:`]}),` `,(0,S.jsx)(`span`,{children:new Date(P.backupMeta.created_at).toLocaleString()})]}),(0,S.jsxs)(`div`,{children:[(0,S.jsxs)(`span`,{className:`opacity-60`,children:[e(`device_management.current_serial`)||`Current Serial`,`:`]}),` `,(0,S.jsx)(`span`,{className:`text-info font-semibold`,children:P.currentSerial})]})]}),(0,S.jsxs)(`div`,{className:`alert alert-warning text-xs`,children:[(0,S.jsx)(n,{className:`shrink-0`}),(0,S.jsx)(`span`,{children:e(`device_management.serial_override_warning`)||`WARNING: If both controllers are running at the same time on the same MQTT broker with the same serial number, conflicts will occur!`})]})]}),(0,S.jsxs)(d,{className:`flex flex-col sm:flex-row gap-2`,children:[(0,S.jsx)(`button`,{className:`btn btn-warning btn-sm`,onClick:()=>P.onConfirm(!0),children:e(`device_management.keep_old_serial`)||`Keep Old Serial`}),(0,S.jsx)(`button`,{className:`btn btn-outline btn-sm`,onClick:()=>P.onConfirm(!1),children:e(`device_management.use_new_serial`)||`Use New Serial`}),(0,S.jsx)(`button`,{className:`btn btn-ghost btn-sm`,onClick:P.onCancel,children:e(`common.cancel`)||`Cancel`})]})]})})]})}export{C as default};
|