22#include "esphome/components/button/button.h"
23#include "esphome/components/switch/switch.h"
27#ifdef IOHOME_LR1121_FIRMWARE_UPDATE
41 void dump_config()
override {}
46 void press_action()
override { this->parent_->trigger_lr1121_firmware_update(); }
49#ifdef IOHOME_LR1121_BOOTLOADER_UPDATE
74 void setup()
override;
77 void dump_config()
override;
81 [[nodiscard]]
float get_setup_priority()
const override {
return setup_priority::DATA; }
87 void write_state(
bool state)
override;
Mixin for entities bound to the hub itself rather than to one device.
IO-Homecontrol ESPHome component — protocol controller.
IOHomeLr1121BootloaderRewriteSwitch
IOHomeLr1121FirmwareUpdateButton