Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
platform_lr1121_firmware_update_button.h File Reference

Hub-level button that triggers the LR1121 transceiver-firmware flash sequence. More...

#include "esphome/components/button/button.h"
#include "hub_core.h"
Include dependency graph for platform_lr1121_firmware_update_button.h:

Go to the source code of this file.

Detailed Description

Hub-level button that triggers the LR1121 transceiver-firmware flash sequence.

Like IOHomeAcceptForeignPairingSwitch, this entity is hub-level, not device-bound — it has no io_device_id and isn't declared through a separate platform entry. It is created dynamically from the presence of home_io_control.lr1121_firmware_update: (see __init__.py's _create_lr1121_firmware_update()), bound directly to the hub instance being built. See hub_lr1121_firmware_update.cpp for what a press actually does — every rejection path is a cached-verdict log, not a fresh bootloader entry. Once a press does proceed, ADR 0020's invariant applies: every exit after a bootloader excursion reboots the ESP32.

Definition in file platform_lr1121_firmware_update_button.h.