Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.icloud.const Namespace Reference

Variables

string CONF_GPS_ACCURACY_THRESHOLD = "gps_accuracy_threshold"
 
string CONF_MAX_INTERVAL = "max_interval"
 
string CONF_WITH_FAMILY = "with_family"
 
int DEFAULT_GPS_ACCURACY_THRESHOLD = 500
 
int DEFAULT_MAX_INTERVAL = 30
 
bool DEFAULT_WITH_FAMILY = False
 
string DEVICE_BATTERY_LEVEL = "batteryLevel"
 
string DEVICE_BATTERY_STATUS = "batteryStatus"
 
string DEVICE_CLASS = "deviceClass"
 
string DEVICE_DISPLAY_NAME = "deviceDisplayName"
 
string DEVICE_ID = "id"
 
string DEVICE_LOCATION = "location"
 
string DEVICE_LOCATION_HORIZONTAL_ACCURACY = "horizontalAccuracy"
 
string DEVICE_LOCATION_LATITUDE = "latitude"
 
string DEVICE_LOCATION_LONGITUDE = "longitude"
 
string DEVICE_LOST_MODE_CAPABLE = "lostModeCapable"
 
string DEVICE_LOW_POWER_MODE = "lowPowerMode"
 
string DEVICE_NAME = "name"
 
string DEVICE_PERSON_ID = "prsId"
 
string DEVICE_RAW_DEVICE_MODEL = "rawDeviceModel"
 
string DEVICE_STATUS = "deviceStatus"
 
dictionary DEVICE_STATUS_CODES
 
list DEVICE_STATUS_SET
 
string DOMAIN = "icloud"
 
list PLATFORMS = [Platform.DEVICE_TRACKER, Platform.SENSOR]
 
string STORAGE_KEY = DOMAIN
 
int STORAGE_VERSION = 2
 

Detailed Description

iCloud component constants.

Variable Documentation

◆ CONF_GPS_ACCURACY_THRESHOLD

string homeassistant.components.icloud.const.CONF_GPS_ACCURACY_THRESHOLD = "gps_accuracy_threshold"

Definition at line 9 of file const.py.

◆ CONF_MAX_INTERVAL

string homeassistant.components.icloud.const.CONF_MAX_INTERVAL = "max_interval"

Definition at line 8 of file const.py.

◆ CONF_WITH_FAMILY

string homeassistant.components.icloud.const.CONF_WITH_FAMILY = "with_family"

Definition at line 7 of file const.py.

◆ DEFAULT_GPS_ACCURACY_THRESHOLD

int homeassistant.components.icloud.const.DEFAULT_GPS_ACCURACY_THRESHOLD = 500

Definition at line 13 of file const.py.

◆ DEFAULT_MAX_INTERVAL

int homeassistant.components.icloud.const.DEFAULT_MAX_INTERVAL = 30

Definition at line 12 of file const.py.

◆ DEFAULT_WITH_FAMILY

bool homeassistant.components.icloud.const.DEFAULT_WITH_FAMILY = False

Definition at line 11 of file const.py.

◆ DEVICE_BATTERY_LEVEL

string homeassistant.components.icloud.const.DEVICE_BATTERY_LEVEL = "batteryLevel"

Definition at line 22 of file const.py.

◆ DEVICE_BATTERY_STATUS

string homeassistant.components.icloud.const.DEVICE_BATTERY_STATUS = "batteryStatus"

Definition at line 23 of file const.py.

◆ DEVICE_CLASS

string homeassistant.components.icloud.const.DEVICE_CLASS = "deviceClass"

Definition at line 24 of file const.py.

◆ DEVICE_DISPLAY_NAME

string homeassistant.components.icloud.const.DEVICE_DISPLAY_NAME = "deviceDisplayName"

Definition at line 25 of file const.py.

◆ DEVICE_ID

string homeassistant.components.icloud.const.DEVICE_ID = "id"

Definition at line 26 of file const.py.

◆ DEVICE_LOCATION

string homeassistant.components.icloud.const.DEVICE_LOCATION = "location"

Definition at line 27 of file const.py.

◆ DEVICE_LOCATION_HORIZONTAL_ACCURACY

string homeassistant.components.icloud.const.DEVICE_LOCATION_HORIZONTAL_ACCURACY = "horizontalAccuracy"

Definition at line 28 of file const.py.

◆ DEVICE_LOCATION_LATITUDE

string homeassistant.components.icloud.const.DEVICE_LOCATION_LATITUDE = "latitude"

Definition at line 29 of file const.py.

◆ DEVICE_LOCATION_LONGITUDE

string homeassistant.components.icloud.const.DEVICE_LOCATION_LONGITUDE = "longitude"

Definition at line 30 of file const.py.

◆ DEVICE_LOST_MODE_CAPABLE

string homeassistant.components.icloud.const.DEVICE_LOST_MODE_CAPABLE = "lostModeCapable"

Definition at line 31 of file const.py.

◆ DEVICE_LOW_POWER_MODE

string homeassistant.components.icloud.const.DEVICE_LOW_POWER_MODE = "lowPowerMode"

Definition at line 32 of file const.py.

◆ DEVICE_NAME

string homeassistant.components.icloud.const.DEVICE_NAME = "name"

Definition at line 33 of file const.py.

◆ DEVICE_PERSON_ID

string homeassistant.components.icloud.const.DEVICE_PERSON_ID = "prsId"

Definition at line 34 of file const.py.

◆ DEVICE_RAW_DEVICE_MODEL

string homeassistant.components.icloud.const.DEVICE_RAW_DEVICE_MODEL = "rawDeviceModel"

Definition at line 35 of file const.py.

◆ DEVICE_STATUS

string homeassistant.components.icloud.const.DEVICE_STATUS = "deviceStatus"

Definition at line 36 of file const.py.

◆ DEVICE_STATUS_CODES

dictionary homeassistant.components.icloud.const.DEVICE_STATUS_CODES
Initial value:
1 = {
2  "200": "online",
3  "201": "offline",
4  "203": "pending",
5  "204": "unregistered",
6 }

Definition at line 81 of file const.py.

◆ DEVICE_STATUS_SET

list homeassistant.components.icloud.const.DEVICE_STATUS_SET

Definition at line 38 of file const.py.

◆ DOMAIN

string homeassistant.components.icloud.const.DOMAIN = "icloud"

Definition at line 5 of file const.py.

◆ PLATFORMS

list homeassistant.components.icloud.const.PLATFORMS = [Platform.DEVICE_TRACKER, Platform.SENSOR]

Definition at line 19 of file const.py.

◆ STORAGE_KEY

string homeassistant.components.icloud.const.STORAGE_KEY = DOMAIN

Definition at line 16 of file const.py.

◆ STORAGE_VERSION

int homeassistant.components.icloud.const.STORAGE_VERSION = 2

Definition at line 17 of file const.py.