Public Member Functions | |
| def | __init__ (self, hass) |
| def | run (self) |
Public Attributes | |
| daemon | |
| hass | |
| stopped | |
Interfaces with the lirc daemon to read IR commands. When using lirc in blocking mode, sometimes repeated commands get produced in the next read of a command so we use a thread here to just wait around until a non-empty response is obtained from lirc.
Definition at line 47 of file __init__.py.
| def homeassistant.components.lirc.LircInterface.__init__ | ( | self, | |
| hass | |||
| ) |
Construct a LIRC interface object.
Definition at line 55 of file __init__.py.
| def homeassistant.components.lirc.LircInterface.run | ( | self | ) |
Run the loop of the LIRC interface thread.
Definition at line 62 of file __init__.py.
| homeassistant.components.lirc.LircInterface.daemon |
Definition at line 58 of file __init__.py.
| homeassistant.components.lirc.LircInterface.hass |
Definition at line 60 of file __init__.py.
| homeassistant.components.lirc.LircInterface.stopped |
Definition at line 59 of file __init__.py.