|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Things that are not required to get running, but make the result nicer to live with.
The cover, light, switch and lock platforms accept ESPHome's own device_id: key. It groups an entity, and every companion entity it generates, under its own Home Assistant device instead of everything landing on the one physical ESPHome node. This is unrelated to io_device_id:, the device's radio address: device_id: is purely a Home Assistant grouping.
esphome: devices: - id: patio_awning_device name: "Patio Awning" cover: - platform: home_io_control device_id: patio_awning_device id: patio_awning name: "" io_device_id: "FEEB1E" io_device_type: "awning"
There is no 1W cover entity: 1W support gives you buttons and the oneway_set_position action. ESPHome's time_based cover platform turns those buttons into a position slider, estimating the position from travel time:
cover: - platform: time_based name: "Roof Window" open_action: {then: [button.press: velux_windows_open]} close_action: {then: [button.press: velux_windows_close]} stop_action: {then: [button.press: velux_windows_stop]} open_duration: 30s close_duration: 28s has_built_in_endstop: true
The position is an estimate. A press on the physical remote moves the device without telling Home Assistant, so the estimate drifts until the next full open or close re-synchronises it.