|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
ESPHome cover platform schema and code generation. More...
Go to the source code of this file.
Namespaces | |
| namespace | home_io_control |
| namespace | home_io_control.cover |
Functions | |
| home_io_control.cover._declared_features (config) | |
| home_io_control.cover._default_device_class (config) | |
| home_io_control.cover._require_travel_speed_kind (config) | |
| home_io_control.cover.silent_switch_name (config) | |
| home_io_control.cover.travel_speed_select_name (config) | |
| home_io_control.cover.rain_sensor_name (config) | |
| home_io_control.cover.sun_level_sensor_name (config) | |
| home_io_control.cover.battery_level_sensor_name (config) | |
| home_io_control.cover.battery_low_sensor_name (config) | |
| home_io_control.cover.battery_sensor_name (config) | |
| home_io_control.cover._inject_companion_ids (config) | |
| home_io_control.cover._silent_replacement (config) | |
| home_io_control.cover.to_code (config) | |
| home_io_control.cover._create_reading_sensor (config, parent, cls, id_key, name, **schema_kwargs) | |
| home_io_control.cover._create_battery_sensors (config, parent) | |
ESPHome cover platform schema and code generation.
Bridges the YAML cover: platform declaration to the runtime IOHomeCover entity. Shared device-binding logic lives in platform_common.py; cover-specific extras — the invert_position option, the named-position companion buttons (favorite, ventilation), the silent and travel_speed keys with their switch and select, the opt-in rain_sensor_poll_interval key with its rain binary sensor, the opt-in sun_level_poll_interval and battery_level_poll_interval keys with their sensors, the opt-in status_refresh_interval key, and the opt-in battery key with its two battery sensors — stay here.
Definition in file cover.py.