9#ifdef USE_API_WIZARD_MULTIPLE_INPUTS
19class WizardInputSetRequest;
22static constexpr size_t WIZARD_ENTITY_ID_BUFFER_SIZE = 256;
26extern const uint8_t API_WIZARD_DATA[]
PROGMEM;
28#ifdef USE_API_WIZARD_INPUTS
33#ifdef USE_API_WIZARD_MULTIPLE_INPUTS
47#ifdef USE_API_WIZARD_STANDALONE_INPUTS
57#ifdef USE_API_WIZARD_MULTIPLE_INPUTS
63 for (
const char *p = this->
entity_id_; (p = strchr(p,
',')) !=
nullptr; p++)
72 while (*start !=
'\0') {
73 const char *
end = strchr(start,
',');
75 end = start + strlen(start);
StringRef is a reference to a string owned by something else.
const uint8_t STORE_YAML_DATA[] PROGMEM
The zstd YAML envelope generated by store_yaml, STORE_YAML_DATA_SIZE bytes in flash.
const char * wizard_set_input(const WizardInputSetRequest &msg)
Apply a WizardInputSetRequest: validate it and copy the entity id into the input's buffer.
Where the entity id of an input is kept, found by the key the client uses for it.