Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
esphome::home_io_control::TuningSelectParam Struct Reference

One select tuning parameter: its wire name plus string accessors over TuningConfig. More...

#include <tuning_registry.h>

Collaboration diagram for esphome::home_io_control::TuningSelectParam:

Public Attributes

const char * name
 YAML/HA parameter name (must match tuning.py).
std::string(* get )(const TuningConfig &)
 Read the current option string.
bool(* set )(TuningConfig &, const std::string &)
 Parse/apply an option; false if unparseable.
bool applies_to_radio
 True if changes must be re-applied to the radio.

Detailed Description

One select tuning parameter: its wire name plus string accessors over TuningConfig.

get returns the current option string (matching the HA dropdown labels). set parses an option string and returns false when the value is unparseable, so the hub can skip the radio re-apply exactly as the original per-parameter logic did.

Definition at line 44 of file tuning_registry.h.

Member Data Documentation

◆ applies_to_radio

bool esphome::home_io_control::TuningSelectParam::applies_to_radio

True if changes must be re-applied to the radio.

Definition at line 48 of file tuning_registry.h.

◆ get

std::string(* esphome::home_io_control::TuningSelectParam::get) (const TuningConfig &)

Read the current option string.

Definition at line 46 of file tuning_registry.h.

◆ name

const char* esphome::home_io_control::TuningSelectParam::name

YAML/HA parameter name (must match tuning.py).

Definition at line 45 of file tuning_registry.h.

◆ set

bool(* esphome::home_io_control::TuningSelectParam::set) (TuningConfig &, const std::string &)

Parse/apply an option; false if unparseable.

Definition at line 47 of file tuning_registry.h.


The documentation for this struct was generated from the following file: