2 #ifdef USE_OTA_STATE_CALLBACK
OTAProgressTrigger(OTAComponent *parent)
OTAStartTrigger(OTAComponent *parent)
void add_on_state_callback(std::function< void(ota::OTAState, float, uint8_t)> &&callback)
void trigger(Ts... x)
Inform the parent automation that the event has triggered.
OTAErrorTrigger(OTAComponent *parent)
OTAEndTrigger(OTAComponent *parent)
Implementation of SPI Controller mode.
OTAAbortTrigger(OTAComponent *parent)
OTAStateChangeTrigger(OTAComponent *parent)