Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.obihai.connectivity.ObihaiConnection Class Reference

Public Member Functions

None __init__ (self, str host, str username=DEFAULT_USERNAME, str password=DEFAULT_PASSWORD)
 
bool update (self)
 

Public Attributes

 call_direction
 
 host
 
 line_services
 
 password
 
 pyobihai
 
 serial
 
 services
 
 username
 

Detailed Description

Contains a list of Obihai Sensors.

Definition at line 37 of file connectivity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.obihai.connectivity.ObihaiConnection.__init__ (   self,
str  host,
str   username = DEFAULT_USERNAME,
str   password = DEFAULT_PASSWORD 
)
Store configuration.

Definition at line 40 of file connectivity.py.

Member Function Documentation

◆ update()

bool homeassistant.components.obihai.connectivity.ObihaiConnection.update (   self)
Validate connection and retrieve a list of sensors.

Definition at line 58 of file connectivity.py.

Member Data Documentation

◆ call_direction

homeassistant.components.obihai.connectivity.ObihaiConnection.call_direction

Definition at line 70 of file connectivity.py.

◆ host

homeassistant.components.obihai.connectivity.ObihaiConnection.host

Definition at line 48 of file connectivity.py.

◆ line_services

homeassistant.components.obihai.connectivity.ObihaiConnection.line_services

Definition at line 69 of file connectivity.py.

◆ password

homeassistant.components.obihai.connectivity.ObihaiConnection.password

Definition at line 50 of file connectivity.py.

◆ pyobihai

homeassistant.components.obihai.connectivity.ObihaiConnection.pyobihai

Definition at line 62 of file connectivity.py.

◆ serial

homeassistant.components.obihai.connectivity.ObihaiConnection.serial

Definition at line 67 of file connectivity.py.

◆ services

homeassistant.components.obihai.connectivity.ObihaiConnection.services

Definition at line 68 of file connectivity.py.

◆ username

homeassistant.components.obihai.connectivity.ObihaiConnection.username

Definition at line 49 of file connectivity.py.


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