Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tapsaff.binary_sensor.TapsAffData Class Reference

Public Member Functions

def __init__ (self, location)
 
def is_taps_aff (self)
 
def update (self)
 

Public Attributes

 taps_aff
 

Private Attributes

 _is_taps_aff
 

Detailed Description

Class for handling the data retrieval for pins.

Definition at line 73 of file binary_sensor.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.tapsaff.binary_sensor.TapsAffData.__init__ (   self,
  location 
)
Initialize the data object.

Definition at line 76 of file binary_sensor.py.

Member Function Documentation

◆ is_taps_aff()

def homeassistant.components.tapsaff.binary_sensor.TapsAffData.is_taps_aff (   self)
Return true if taps aff.

Definition at line 83 of file binary_sensor.py.

◆ update()

def homeassistant.components.tapsaff.binary_sensor.TapsAffData.update (   self)
Get the latest data from the Taps Aff API and updates the states.

Definition at line 87 of file binary_sensor.py.

Member Data Documentation

◆ _is_taps_aff

homeassistant.components.tapsaff.binary_sensor.TapsAffData._is_taps_aff
private

Definition at line 79 of file binary_sensor.py.

◆ taps_aff

homeassistant.components.tapsaff.binary_sensor.TapsAffData.taps_aff

Definition at line 80 of file binary_sensor.py.


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