|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Table-driven registry of runtime tuning parameters. More...
Go to the source code of this file.
Classes | |
| struct | esphome::home_io_control::TuningNumberParam |
| One numeric tuning parameter: its wire name plus accessors over TuningConfig. More... | |
| struct | esphome::home_io_control::TuningSelectParam |
| One select tuning parameter: its wire name plus string accessors over TuningConfig. More... | |
Namespaces | |
| namespace | esphome |
| namespace | esphome::home_io_control |
Functions | |
| const TuningNumberParam * | esphome::home_io_control::find_tuning_number (const std::string &name) |
| Look up a numeric tuning parameter by name; returns nullptr if unknown. | |
| const TuningSelectParam * | esphome::home_io_control::find_tuning_select (const std::string &name) |
| Look up a select tuning parameter by name; returns nullptr if unknown. | |
Table iteration | |
Range accessors over the full parameter tables, for enumeration and tests. | |
| const TuningNumberParam * | esphome::home_io_control::tuning_number_params_begin () |
| const TuningNumberParam * | esphome::home_io_control::tuning_number_params_end () |
| const TuningSelectParam * | esphome::home_io_control::tuning_select_params_begin () |
| const TuningSelectParam * | esphome::home_io_control::tuning_select_params_end () |
Table-driven registry of runtime tuning parameters.
The hub exposes each tuning parameter through Home Assistant number/select entities. Rather than hand-syncing four string-dispatch functions in the hub, this registry enumerates every parameter once, as a table row pairing the parameter's wire name with getter/setter function pointers over TuningConfig. The hub's update/get methods become thin table lookups.
Definition in file tuning_registry.h.