|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Functions | |
| _validate_water_heater_kind (config) | |
| _inject_companion_ids (config) | |
| _companion_config (companion, config) | |
| to_code (config) | |
Variables | |
| list | DEPENDENCIES = ["home_io_control"] |
| IOHomeWaterHeater = home_io_control_ns.class_("IOHomeWaterHeater", water_heater.WaterHeater, cg.Component) | |
| IOHomeDhwEnergySensor = home_io_control_ns.class_("IOHomeDhwEnergySensor", sensor.Sensor, cg.Component) | |
| IOHomeDhwBinarySensor | |
| IOHomeDhwBoostSwitch = home_io_control_ns.class_("IOHomeDhwBoostSwitch", switch.Switch, cg.Component) | |
| DhwReading = IOHomeDhwBinarySensor.enum("Reading", is_class=True) | |
| str | CONF_HEAT_PUMP_RUNNING = "heat_pump_running" |
| str | CONF_ELECTRIC_BACKUP_RUNNING = "electric_backup_running" |
| str | CONF_BOOST = "boost" |
| tuple | _BINARY_COMPANIONS |
| CONFIG_SCHEMA | |
|
protected |
A companion's config, grouped under the entity's ESPHome sub-device unless it names its own.
Definition at line 132 of file water_heater.py.
|
protected |
Declare the auto-generated companion IDs during validation (ESPHome 2026.x StaticVector sizing). The opt-in companions (sensors and the boost switch) are schemas of their own, whose IDs are declared by their GenerateID.
Definition at line 89 of file water_heater.py.
|
protected |
Require io_device_type, and a kind that is read and commanded as a water heater. The water heater's frames (family-0x00 register reads, the mode write, a target EXECUTE) go only to a device whose kind carries the WATER_HEATER capability, so the kind must be known at codegen time.
Definition at line 68 of file water_heater.py.
| to_code | ( | config | ) |
|
protected |
Definition at line 62 of file water_heater.py.
| str home_io_control.water_heater.CONF_BOOST = "boost" |
Definition at line 59 of file water_heater.py.
| str home_io_control.water_heater.CONF_ELECTRIC_BACKUP_RUNNING = "electric_backup_running" |
Definition at line 58 of file water_heater.py.
| str home_io_control.water_heater.CONF_HEAT_PUMP_RUNNING = "heat_pump_running" |
Definition at line 57 of file water_heater.py.
| home_io_control.water_heater.CONFIG_SCHEMA |
Definition at line 98 of file water_heater.py.
| list home_io_control.water_heater.DEPENDENCIES = ["home_io_control"] |
Definition at line 47 of file water_heater.py.
| home_io_control.water_heater.DhwReading = IOHomeDhwBinarySensor.enum("Reading", is_class=True) |
Definition at line 55 of file water_heater.py.
| home_io_control.water_heater.IOHomeDhwBinarySensor |
Definition at line 51 of file water_heater.py.
| home_io_control.water_heater.IOHomeDhwBoostSwitch = home_io_control_ns.class_("IOHomeDhwBoostSwitch", switch.Switch, cg.Component) |
Definition at line 54 of file water_heater.py.
| home_io_control.water_heater.IOHomeDhwEnergySensor = home_io_control_ns.class_("IOHomeDhwEnergySensor", sensor.Sensor, cg.Component) |
Definition at line 50 of file water_heater.py.
| home_io_control.water_heater.IOHomeWaterHeater = home_io_control_ns.class_("IOHomeWaterHeater", water_heater.WaterHeater, cg.Component) |
Definition at line 49 of file water_heater.py.