|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Functions | |
| device_supports_position_control (value) | |
| device_supports_vent (value) | |
| favorite_button_name (config) | |
| vent_button_name (config) | |
| _inject_companion_ids (config) | |
| to_code (config) | |
Variables | |
| list | DEPENDENCIES = ["home_io_control"] |
| str | CONF_INVERT_POSITION = "invert_position" |
| str | CONF_OPTIMISTIC_STATE = "optimistic_state" |
| str | CONF_FAVORITE_BUTTON_ID = "_favorite_button_id" |
| str | CONF_VENT_BUTTON_ID = "_vent_button_id" |
| IOHomeCover = home_io_control_ns.class_("IOHomeCover", cover.Cover, cg.Component) | |
| IOHomeCoverFavoriteButton | |
| IOHomeCoverVentButton | |
| dict | POSITION_CONTROL_DEVICE_TYPES |
| dict | VENT_DEVICE_TYPES |
| CONFIG_SCHEMA | |
|
protected |
Declare cover companion entity IDs during schema validation for StaticVector sizing. The favorite and ventilation buttons are cover-only and gated on device capability, so their injection stays here. The always-present companion sensor IDs are delegated to the shared helper. See platform_common.companion_id_base() for the StaticVector rationale.
Definition at line 103 of file cover.py.
| home_io_control.cover.device_supports_position_control | ( | value | ) |
| home_io_control.cover.device_supports_vent | ( | value | ) |
| home_io_control.cover.favorite_button_name | ( | config | ) |
| home_io_control.cover.to_code | ( | config | ) |
| home_io_control.cover.vent_button_name | ( | config | ) |
| str home_io_control.cover.CONF_FAVORITE_BUTTON_ID = "_favorite_button_id" |
| str home_io_control.cover.CONF_INVERT_POSITION = "invert_position" |
| str home_io_control.cover.CONF_OPTIMISTIC_STATE = "optimistic_state" |
| str home_io_control.cover.CONF_VENT_BUTTON_ID = "_vent_button_id" |
| home_io_control.cover.CONFIG_SCHEMA |
| list home_io_control.cover.DEPENDENCIES = ["home_io_control"] |
| home_io_control.cover.IOHomeCover = home_io_control_ns.class_("IOHomeCover", cover.Cover, cg.Component) |
| home_io_control.cover.IOHomeCoverFavoriteButton |
| home_io_control.cover.IOHomeCoverVentButton |
| dict home_io_control.cover.POSITION_CONTROL_DEVICE_TYPES |