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

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

#include <tuning_registry.h>

Collaboration diagram for esphome::home_io_control::TuningNumberParam:

Public Attributes

const char * name
 YAML/HA parameter name (must match tuning.py).
float(* get )(const TuningConfig &)
 Read the current value as a float.
void(* set )(TuningConfig &, float)
 Write a new value (narrowed to the field type).
bool applies_to_radio
 True if changes must be re-applied to the radio.

Detailed Description

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

get returns the stored value as a float (for HA slider seeding); set writes the value back, narrowing to the field's underlying integer type. applies_to_radio marks parameters whose change must be pushed to the active radio driver immediately.

Definition at line 32 of file tuning_registry.h.

Member Data Documentation

◆ applies_to_radio

bool esphome::home_io_control::TuningNumberParam::applies_to_radio

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

Definition at line 36 of file tuning_registry.h.

◆ get

float(* esphome::home_io_control::TuningNumberParam::get) (const TuningConfig &)

Read the current value as a float.

Definition at line 34 of file tuning_registry.h.

◆ name

const char* esphome::home_io_control::TuningNumberParam::name

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

Definition at line 33 of file tuning_registry.h.

◆ set

void(* esphome::home_io_control::TuningNumberParam::set) (TuningConfig &, float)

Write a new value (narrowed to the field type).

Definition at line 35 of file tuning_registry.h.


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