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

Variables

string ATTR_ACTIVITY_LABEL = "activity_label"
 
string ATTR_BUZZER = "buzzer"
 
string ATTR_CALORIES = "calories"
 
string ATTR_DAILY_GOAL = "daily_goal"
 
string ATTR_LED = "led"
 
string ATTR_LIVE_TRACKING = "live_tracking"
 
string ATTR_MINUTES_ACTIVE = "minutes_active"
 
string ATTR_MINUTES_DAY_SLEEP = "minutes_day_sleep"
 
string ATTR_MINUTES_NIGHT_SLEEP = "minutes_night_sleep"
 
string ATTR_MINUTES_REST = "minutes_rest"
 
string ATTR_SLEEP_LABEL = "sleep_label"
 
string ATTR_TRACKER_STATE = "tracker_state"
 
string CLIENT_ID = "625e5349c3c3b41c28a669f1"
 
string DOMAIN = "tractive"
 
 RECONNECT_INTERVAL = timedelta(seconds=10)
 
string SERVER_UNAVAILABLE = f"{DOMAIN}_server_unavailable"
 
dictionary SWITCH_KEY_MAP
 
string TRACKER_HARDWARE_STATUS_UPDATED = f"{DOMAIN}_tracker_hardware_status_updated"
 
string TRACKER_POSITION_UPDATED = f"{DOMAIN}_tracker_position_updated"
 
string TRACKER_SWITCH_STATUS_UPDATED = f"{DOMAIN}_tracker_switch_updated"
 
string TRACKER_WELLNESS_STATUS_UPDATED = f"{DOMAIN}_tracker_wellness_updated"
 

Detailed Description

Constants for the tractive integration.

Variable Documentation

◆ ATTR_ACTIVITY_LABEL

string homeassistant.components.tractive.const.ATTR_ACTIVITY_LABEL = "activity_label"

Definition at line 9 of file const.py.

◆ ATTR_BUZZER

string homeassistant.components.tractive.const.ATTR_BUZZER = "buzzer"

Definition at line 10 of file const.py.

◆ ATTR_CALORIES

string homeassistant.components.tractive.const.ATTR_CALORIES = "calories"

Definition at line 11 of file const.py.

◆ ATTR_DAILY_GOAL

string homeassistant.components.tractive.const.ATTR_DAILY_GOAL = "daily_goal"

Definition at line 12 of file const.py.

◆ ATTR_LED

string homeassistant.components.tractive.const.ATTR_LED = "led"

Definition at line 13 of file const.py.

◆ ATTR_LIVE_TRACKING

string homeassistant.components.tractive.const.ATTR_LIVE_TRACKING = "live_tracking"

Definition at line 14 of file const.py.

◆ ATTR_MINUTES_ACTIVE

string homeassistant.components.tractive.const.ATTR_MINUTES_ACTIVE = "minutes_active"

Definition at line 15 of file const.py.

◆ ATTR_MINUTES_DAY_SLEEP

string homeassistant.components.tractive.const.ATTR_MINUTES_DAY_SLEEP = "minutes_day_sleep"

Definition at line 16 of file const.py.

◆ ATTR_MINUTES_NIGHT_SLEEP

string homeassistant.components.tractive.const.ATTR_MINUTES_NIGHT_SLEEP = "minutes_night_sleep"

Definition at line 17 of file const.py.

◆ ATTR_MINUTES_REST

string homeassistant.components.tractive.const.ATTR_MINUTES_REST = "minutes_rest"

Definition at line 18 of file const.py.

◆ ATTR_SLEEP_LABEL

string homeassistant.components.tractive.const.ATTR_SLEEP_LABEL = "sleep_label"

Definition at line 19 of file const.py.

◆ ATTR_TRACKER_STATE

string homeassistant.components.tractive.const.ATTR_TRACKER_STATE = "tracker_state"

Definition at line 20 of file const.py.

◆ CLIENT_ID

string homeassistant.components.tractive.const.CLIENT_ID = "625e5349c3c3b41c28a669f1"

Definition at line 24 of file const.py.

◆ DOMAIN

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

Definition at line 5 of file const.py.

◆ RECONNECT_INTERVAL

homeassistant.components.tractive.const.RECONNECT_INTERVAL = timedelta(seconds=10)

Definition at line 7 of file const.py.

◆ SERVER_UNAVAILABLE

string homeassistant.components.tractive.const.SERVER_UNAVAILABLE = f"{DOMAIN}_server_unavailable"

Definition at line 31 of file const.py.

◆ SWITCH_KEY_MAP

dictionary homeassistant.components.tractive.const.SWITCH_KEY_MAP
Initial value:
1 = {
2  ATTR_LIVE_TRACKING: "live_tracking",
3  ATTR_BUZZER: "buzzer_control",
4  ATTR_LED: "led_control",
5 }

Definition at line 33 of file const.py.

◆ TRACKER_HARDWARE_STATUS_UPDATED

string homeassistant.components.tractive.const.TRACKER_HARDWARE_STATUS_UPDATED = f"{DOMAIN}_tracker_hardware_status_updated"

Definition at line 26 of file const.py.

◆ TRACKER_POSITION_UPDATED

string homeassistant.components.tractive.const.TRACKER_POSITION_UPDATED = f"{DOMAIN}_tracker_position_updated"

Definition at line 27 of file const.py.

◆ TRACKER_SWITCH_STATUS_UPDATED

string homeassistant.components.tractive.const.TRACKER_SWITCH_STATUS_UPDATED = f"{DOMAIN}_tracker_switch_updated"

Definition at line 28 of file const.py.

◆ TRACKER_WELLNESS_STATUS_UPDATED

string homeassistant.components.tractive.const.TRACKER_WELLNESS_STATUS_UPDATED = f"{DOMAIN}_tracker_wellness_updated"

Definition at line 29 of file const.py.