|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
ESPHome binary switch platform schema and code generation. More...
Go to the source code of this file.
Namespaces | |
| namespace | home_io_control |
| namespace | home_io_control.switch |
Functions | |
| home_io_control.switch._inject_companion_ids (config) | |
| home_io_control.switch.to_code (config) | |
Variables | |
| list | home_io_control.switch.DEPENDENCIES = ["home_io_control"] |
| home_io_control.switch.IOHomeSwitch = home_io_control_ns.class_("IOHomeSwitch", switch.Switch, cg.Component) | |
| home_io_control.switch.CONFIG_SCHEMA | |
ESPHome binary switch platform schema and code generation.
Defines the experimental on/off switch integration and wires it to the shared hub. Shared device-binding logic lives in platform_common.py; only switch-specific entity construction/registration stays here. The hub-level "Accept Foreign Pairing (Key Extraction)" switch is unrelated to this platform — it has no device to bind to, so it is not exposed through switch: at all; see accept_foreign_pairing in __init__.py.
Definition in file switch.py.