-
- Downloads
Add Modbus cover (#33642)
* Add Modbus cover * Fix improper commands written for Modbus cover via coil * Make changes per review comments * Fix default hub not defined Since support for multiple hubs was added, the default hub option was not implemented correctly. Now I added necessary logic to make it work. First hub in a list will be used as a default hub. * Move Cover config under Modbus section * Revert setting up a default hub alias * Make hub mandatory for Cover * Add default scan interval * Read scan_interval from discovery info * Fix linter error * Use default scan interval from Cover platform * Handle polling for Modbus cover directly inside entity * Move covers under hub config * Fix for review comment * Call update() from Cover actuator methods * Fix time validation
Showing
- CODEOWNERS 1 addition, 1 deletionCODEOWNERS
- homeassistant/components/modbus/__init__.py 67 additions, 8 deletionshomeassistant/components/modbus/__init__.py
- homeassistant/components/modbus/const.py 10 additions, 0 deletionshomeassistant/components/modbus/const.py
- homeassistant/components/modbus/cover.py 244 additions, 0 deletionshomeassistant/components/modbus/cover.py
- homeassistant/components/modbus/manifest.json 1 addition, 1 deletionhomeassistant/components/modbus/manifest.json
Loading
Please register or sign in to comment