Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.arest.binary_sensor.ArestData Class Reference

Public Member Functions

def __init__ (self, resource, pin)
 
None update (self)
 

Public Attributes

 data
 

Private Attributes

 _pin
 
 _resource
 

Detailed Description

Class for handling the data retrieval for pins.

Definition at line 96 of file binary_sensor.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.arest.binary_sensor.ArestData.__init__ (   self,
  resource,
  pin 
)
Initialize the aREST data object.

Definition at line 99 of file binary_sensor.py.

Member Function Documentation

◆ update()

None homeassistant.components.arest.binary_sensor.ArestData.update (   self)
Get the latest data from aREST device.

Definition at line 106 of file binary_sensor.py.

Member Data Documentation

◆ _pin

homeassistant.components.arest.binary_sensor.ArestData._pin
private

Definition at line 102 of file binary_sensor.py.

◆ _resource

homeassistant.components.arest.binary_sensor.ArestData._resource
private

Definition at line 101 of file binary_sensor.py.

◆ data

homeassistant.components.arest.binary_sensor.ArestData.data

Definition at line 103 of file binary_sensor.py.


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