Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lirc.LircInterface Class Reference
Inheritance diagram for homeassistant.components.lirc.LircInterface:
[legend]
Collaboration diagram for homeassistant.components.lirc.LircInterface:
[legend]

Public Member Functions

def __init__ (self, hass)
 
def run (self)
 

Public Attributes

 daemon
 
 hass
 
 stopped
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.lirc.LircInterface.__init__ (   self,
  hass 
)
Construct a LIRC interface object.

Definition at line 55 of file __init__.py.

Member Function Documentation

◆ run()

def homeassistant.components.lirc.LircInterface.run (   self)
Run the loop of the LIRC interface thread.

Definition at line 62 of file __init__.py.

Member Data Documentation

◆ daemon

homeassistant.components.lirc.LircInterface.daemon

Definition at line 58 of file __init__.py.

◆ hass

homeassistant.components.lirc.LircInterface.hass

Definition at line 60 of file __init__.py.

◆ stopped

homeassistant.components.lirc.LircInterface.stopped

Definition at line 59 of file __init__.py.


The documentation for this class was generated from the following file: