Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.rachio.device Namespace Reference

Classes

class  RachioBaseStation
 
class  RachioIro
 
class  RachioPerson
 

Functions

bool is_invalid_auth_code (int http_status_code)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_DEVICES = "devices"
 
string ATTR_DURATION = "duration"
 
 PAUSE_SERVICE_SCHEMA
 
string PERMISSION_ERROR = "7"
 
 RESUME_SERVICE_SCHEMA = vol.Schema({vol.Optional(ATTR_DEVICES): cv.string})
 
 STOP_SERVICE_SCHEMA = vol.Schema({vol.Optional(ATTR_DEVICES): cv.string})
 

Detailed Description

Adapter to wrap the rachiopy api for home assistant.

Function Documentation

◆ is_invalid_auth_code()

bool homeassistant.components.rachio.device.is_invalid_auth_code ( int  http_status_code)
HTTP status codes that mean invalid auth.

Definition at line 381 of file device.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.rachio.device._LOGGER = logging.getLogger(__name__)
private

Definition at line 43 of file device.py.

◆ ATTR_DEVICES

string homeassistant.components.rachio.device.ATTR_DEVICES = "devices"

Definition at line 45 of file device.py.

◆ ATTR_DURATION

string homeassistant.components.rachio.device.ATTR_DURATION = "duration"

Definition at line 46 of file device.py.

◆ PAUSE_SERVICE_SCHEMA

homeassistant.components.rachio.device.PAUSE_SERVICE_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Optional(ATTR_DEVICES): cv.string,
4  vol.Optional(ATTR_DURATION, default=60): cv.positive_int,
5  }
6 )

Definition at line 49 of file device.py.

◆ PERMISSION_ERROR

string homeassistant.components.rachio.device.PERMISSION_ERROR = "7"

Definition at line 47 of file device.py.

◆ RESUME_SERVICE_SCHEMA

homeassistant.components.rachio.device.RESUME_SERVICE_SCHEMA = vol.Schema({vol.Optional(ATTR_DEVICES): cv.string})

Definition at line 56 of file device.py.

◆ STOP_SERVICE_SCHEMA

homeassistant.components.rachio.device.STOP_SERVICE_SCHEMA = vol.Schema({vol.Optional(ATTR_DEVICES): cv.string})

Definition at line 58 of file device.py.