Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches

Field validators and option tables for the home_io_control: hub block. More...

Go to the source code of this file.

Namespaces

namespace  home_io_control
namespace  home_io_control.hub_validators

Functions

 home_io_control.hub_validators.validate_radio_transport (config)
 home_io_control.hub_validators.validate_fem (config)
 home_io_control.hub_validators.heating_profile_has_window (device_type, subtype)
 home_io_control.hub_validators._resolve_named_or_raw_token (token, options, max_value=0xFF)
 home_io_control.hub_validators._resolve_device_type_token (token)
 home_io_control.hub_validators.validate_device_type (value)
 home_io_control.hub_validators.validate_manufacturer (value)
 home_io_control.hub_validators.device_type_expression (value)
 home_io_control.hub_validators.validate_node_id (value)
 home_io_control.hub_validators.validate_system_key (value)
 home_io_control.hub_validators.validate_device_id (value)
 home_io_control.hub_validators.inherit_esphome_device (companion_config, parent_config)
 home_io_control.hub_validators.validate_linked_remote_entry (value)
 home_io_control.hub_validators._validate_min_interval (value, minimum_ms, key)
 home_io_control.hub_validators.validate_status_poll_interval (value)
 home_io_control.hub_validators.validate_rain_sensor_poll_interval (value)

Variables

 home_io_control.hub_validators._LOGGER = logging.getLogger(__name__)
dict home_io_control.hub_validators.PA_PIN_OPTIONS
dict home_io_control.hub_validators.RADIO_TYPE_OPTIONS
 home_io_control.hub_validators.SPI_RADIO_TYPES = frozenset({"sx1276", "sx1262", "lr1121"})
dict home_io_control.hub_validators.TCXO_VOLTAGE_OPTIONS
 home_io_control.hub_validators.FemProfile = home_io_control_ns.enum("FemProfile", is_class=True)
dict home_io_control.hub_validators.FEM_PROFILES
dict home_io_control.hub_validators.FEM_REQUIRED_PINS
dict home_io_control.hub_validators.FEM_TX_POWER_MAX_QUIET
int home_io_control.hub_validators.DEVICE_TYPE_MAX = 0x3FF
dict home_io_control.hub_validators.DEVICE_TYPE_OPTIONS
dict home_io_control.hub_validators.HEATING_WINDOW_PROFILES
dict home_io_control.hub_validators.RENAMED_DEVICE_TYPES
dict home_io_control.hub_validators.MANUFACTURER_OPTIONS
dict home_io_control.hub_validators.ONEWAY_WIRE_PROFILE_MANUFACTURERS

Detailed Description

Field validators and option tables for the home_io_control: hub block.

Radio type, PA pin, TCXO voltage and FEM profile tables (validate_radio_transport checks that an SPI radio has its chip-select pin, validate_fem a profile's required pins and TX-power ceiling), the device-type and manufacturer tables, and the validators for node IDs, system keys, device IDs, linked remotes and status-poll intervals that the hub schema and the platform modules share.

DEVICE_TYPE_OPTIONS, MANUFACTURER_OPTIONS, PA_PIN_OPTIONS, TCXO_VOLTAGE_OPTIONS and FEM_TX_POWER_MAX_QUIET mirror C++ tables; the tests/sync/ host tests and make yaml-emitter-sync read them from this file by name.

Definition in file hub_validators.py.