Mochad controller.
Definition at line 66 of file __init__.py.
◆ __init__()
| def homeassistant.components.mochad.MochadCtrl.__init__ |
( |
|
self, |
|
|
|
host, |
|
|
|
port |
|
) |
| |
Initialize a PyMochad controller.
Definition at line 69 of file __init__.py.
◆ disconnect()
| def homeassistant.components.mochad.MochadCtrl.disconnect |
( |
|
self | ) |
|
Close the connection to the mochad socket.
Definition at line 87 of file __init__.py.
◆ host()
| def homeassistant.components.mochad.MochadCtrl.host |
( |
|
self | ) |
|
Return the server where mochad is running.
Definition at line 78 of file __init__.py.
◆ port()
| def homeassistant.components.mochad.MochadCtrl.port |
( |
|
self | ) |
|
Return the port mochad is running on.
Definition at line 83 of file __init__.py.
◆ _host
| homeassistant.components.mochad.MochadCtrl._host |
|
private |
◆ _port
| homeassistant.components.mochad.MochadCtrl._port |
|
private |
◆ ctrl
| homeassistant.components.mochad.MochadCtrl.ctrl |
The documentation for this class was generated from the following file: