Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.nx584.binary_sensor.NX584Watcher Class Reference
Inheritance diagram for homeassistant.components.nx584.binary_sensor.NX584Watcher:
[legend]
Collaboration diagram for homeassistant.components.nx584.binary_sensor.NX584Watcher:
[legend]

Public Member Functions

def __init__ (self, client, zone_sensors)
 
def run (self)
 

Public Attributes

 daemon
 

Private Member Functions

def _process_events (self, events)
 
def _process_zone_event (self, event)
 
def _run (self)
 

Private Attributes

 _client
 
 _zone_sensors
 

Detailed Description

Event listener thread to process NX584 events.

Definition at line 123 of file binary_sensor.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.nx584.binary_sensor.NX584Watcher.__init__ (   self,
  client,
  zone_sensors 
)
Initialize NX584 watcher thread.

Definition at line 126 of file binary_sensor.py.

Member Function Documentation

◆ _process_events()

def homeassistant.components.nx584.binary_sensor.NX584Watcher._process_events (   self,
  events 
)
private

Definition at line 140 of file binary_sensor.py.

◆ _process_zone_event()

def homeassistant.components.nx584.binary_sensor.NX584Watcher._process_zone_event (   self,
  event 
)
private

Definition at line 133 of file binary_sensor.py.

◆ _run()

def homeassistant.components.nx584.binary_sensor.NX584Watcher._run (   self)
private
Throw away any existing events so we don't replay history.

Definition at line 145 of file binary_sensor.py.

◆ run()

def homeassistant.components.nx584.binary_sensor.NX584Watcher.run (   self)
Run the watcher.

Definition at line 152 of file binary_sensor.py.

Member Data Documentation

◆ _client

homeassistant.components.nx584.binary_sensor.NX584Watcher._client
private

Definition at line 130 of file binary_sensor.py.

◆ _zone_sensors

homeassistant.components.nx584.binary_sensor.NX584Watcher._zone_sensors
private

Definition at line 131 of file binary_sensor.py.

◆ daemon

homeassistant.components.nx584.binary_sensor.NX584Watcher.daemon

Definition at line 129 of file binary_sensor.py.


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