mirror of
https://github.com/esphome/esphome.git
synced 2026-08-23 06:36:23 +00:00
17 lines
439 B
YAML
17 lines
439 B
YAML
# Deep sleep combined with mcumgr OTA while MCUboot image rollback is enabled
|
|
# (the default on nRF52). Entering system-off deep sleep runs the safe
|
|
# shutdown hooks, where safe_mode confirms the running image so MCUboot does
|
|
# not revert a fresh OTA update on the next wake.
|
|
packages:
|
|
deep_sleep: !include common.yaml
|
|
|
|
deep_sleep:
|
|
run_duration: 10s
|
|
|
|
zephyr_ble_server:
|
|
|
|
ota:
|
|
- platform: zephyr_mcumgr
|
|
transport:
|
|
ble: true
|