-
- Downloads
Add mochad component (#3970)
This commit adds a new component for communicating with mochad[1] a socket interface for the CM15A and CM19A USB X10 controllers. This commit leverages the pymochad library to interface with a mochad socket either on a local or remote machine. Mochad is added as as a generic platform because it supports multiple different classes of device, however in this patch only the switch device implemented as a starting point. Future patches will include other devices types. (although that's dependent on someone gaining access to those) [1] https://sourceforge.net/projects/mochad/
Showing
- .coveragerc 3 additions, 0 deletions.coveragerc
- homeassistant/components/mochad.py 85 additions, 0 deletionshomeassistant/components/mochad.py
- homeassistant/components/switch/mochad.py 81 additions, 0 deletionshomeassistant/components/switch/mochad.py
- homeassistant/helpers/config_validation.py 9 additions, 0 deletionshomeassistant/helpers/config_validation.py
- requirements_all.txt 3 additions, 0 deletionsrequirements_all.txt
- tests/components/switch/test_mochad.py 79 additions, 0 deletionstests/components/switch/test_mochad.py
- tests/helpers/test_config_validation.py 12 additions, 0 deletionstests/helpers/test_config_validation.py
Loading
Please register or sign in to comment