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

Variables

string ASSETS_URL = "https://habitica-assets.s3.amazonaws.com/mobileApp/images/"
 
string ATTR_ARGS = "args"
 
string ATTR_CONFIG_ENTRY = "config_entry"
 
string ATTR_DATA = "data"
 
string ATTR_DIRECTION = "direction"
 
string ATTR_ITEM = "item"
 
 ATTR_PATH = CONF_PATH
 
string ATTR_SKILL = "skill"
 
string ATTR_TARGET = "target"
 
string ATTR_TASK = "task"
 
string CONF_API_USER = "api_user"
 
string DEFAULT_URL = "https://habitica.com"
 
string DEVELOPER_ID = "4c4ca53f-c059-4ffa-966e-9d29dd405daf"
 
string DOMAIN = "habitica"
 
string EVENT_API_CALL_SUCCESS = f"{DOMAIN}_{SERVICE_API_CALL}_success"
 
string FORGOT_PASSWORD_URL = "https://habitica.com/forgot-password"
 
string HABITICANS_URL = "https://habitica.com/static/img/home-main@3x.ffc32b12.png"
 
string HEALER = "healer"
 
string MAGE = "wizard"
 
string MANUFACTURER = "HabitRPG, Inc."
 
string NAME = "Habitica"
 
string ROGUE = "rogue"
 
string SERVICE_ABORT_QUEST = "abort_quest"
 
string SERVICE_ACCEPT_QUEST = "accept_quest"
 
string SERVICE_API_CALL = "api_call"
 
string SERVICE_CANCEL_QUEST = "cancel_quest"
 
string SERVICE_CAST_SKILL = "cast_skill"
 
string SERVICE_LEAVE_QUEST = "leave_quest"
 
string SERVICE_REJECT_QUEST = "reject_quest"
 
string SERVICE_SCORE_HABIT = "score_habit"
 
string SERVICE_SCORE_REWARD = "score_reward"
 
string SERVICE_START_QUEST = "start_quest"
 
string SERVICE_TRANSFORMATION = "transformation"
 
string SIGN_UP_URL = "https://habitica.com/register"
 
string SITE_DATA_URL = "https://habitica.com/user/settings/siteData"
 
string UNIT_TASKS = "tasks"
 
string WARRIOR = "warrior"
 

Detailed Description

Constants for the habitica integration.

Variable Documentation

◆ ASSETS_URL

string homeassistant.components.habitica.const.ASSETS_URL = "https://habitica-assets.s3.amazonaws.com/mobileApp/images/"

Definition at line 8 of file const.py.

◆ ATTR_ARGS

string homeassistant.components.habitica.const.ATTR_ARGS = "args"

Definition at line 19 of file const.py.

◆ ATTR_CONFIG_ENTRY

string homeassistant.components.habitica.const.ATTR_CONFIG_ENTRY = "config_entry"

Definition at line 30 of file const.py.

◆ ATTR_DATA

string homeassistant.components.habitica.const.ATTR_DATA = "data"

Definition at line 23 of file const.py.

◆ ATTR_DIRECTION

string homeassistant.components.habitica.const.ATTR_DIRECTION = "direction"

Definition at line 33 of file const.py.

◆ ATTR_ITEM

string homeassistant.components.habitica.const.ATTR_ITEM = "item"

Definition at line 35 of file const.py.

◆ ATTR_PATH

homeassistant.components.habitica.const.ATTR_PATH = CONF_PATH

Definition at line 18 of file const.py.

◆ ATTR_SKILL

string homeassistant.components.habitica.const.ATTR_SKILL = "skill"

Definition at line 31 of file const.py.

◆ ATTR_TARGET

string homeassistant.components.habitica.const.ATTR_TARGET = "target"

Definition at line 34 of file const.py.

◆ ATTR_TASK

string homeassistant.components.habitica.const.ATTR_TASK = "task"

Definition at line 32 of file const.py.

◆ CONF_API_USER

string homeassistant.components.habitica.const.CONF_API_USER = "api_user"

Definition at line 5 of file const.py.

◆ DEFAULT_URL

string homeassistant.components.habitica.const.DEFAULT_URL = "https://habitica.com"

Definition at line 7 of file const.py.

◆ DEVELOPER_ID

string homeassistant.components.habitica.const.DEVELOPER_ID = "4c4ca53f-c059-4ffa-966e-9d29dd405daf"

Definition at line 54 of file const.py.

◆ DOMAIN

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

Definition at line 14 of file const.py.

◆ EVENT_API_CALL_SUCCESS

string homeassistant.components.habitica.const.EVENT_API_CALL_SUCCESS = f"{DOMAIN}_{SERVICE_API_CALL}_success"

Definition at line 22 of file const.py.

◆ FORGOT_PASSWORD_URL

string homeassistant.components.habitica.const.FORGOT_PASSWORD_URL = "https://habitica.com/forgot-password"

Definition at line 10 of file const.py.

◆ HABITICANS_URL

string homeassistant.components.habitica.const.HABITICANS_URL = "https://habitica.com/static/img/home-main@3x.ffc32b12.png"

Definition at line 12 of file const.py.

◆ HEALER

string homeassistant.components.habitica.const.HEALER = "healer"

Definition at line 51 of file const.py.

◆ MAGE

string homeassistant.components.habitica.const.MAGE = "wizard"

Definition at line 52 of file const.py.

◆ MANUFACTURER

string homeassistant.components.habitica.const.MANUFACTURER = "HabitRPG, Inc."

Definition at line 25 of file const.py.

◆ NAME

string homeassistant.components.habitica.const.NAME = "Habitica"

Definition at line 26 of file const.py.

◆ ROGUE

string homeassistant.components.habitica.const.ROGUE = "rogue"

Definition at line 50 of file const.py.

◆ SERVICE_ABORT_QUEST

string homeassistant.components.habitica.const.SERVICE_ABORT_QUEST = "abort_quest"

Definition at line 40 of file const.py.

◆ SERVICE_ACCEPT_QUEST

string homeassistant.components.habitica.const.SERVICE_ACCEPT_QUEST = "accept_quest"

Definition at line 38 of file const.py.

◆ SERVICE_API_CALL

string homeassistant.components.habitica.const.SERVICE_API_CALL = "api_call"

Definition at line 17 of file const.py.

◆ SERVICE_CANCEL_QUEST

string homeassistant.components.habitica.const.SERVICE_CANCEL_QUEST = "cancel_quest"

Definition at line 39 of file const.py.

◆ SERVICE_CAST_SKILL

string homeassistant.components.habitica.const.SERVICE_CAST_SKILL = "cast_skill"

Definition at line 36 of file const.py.

◆ SERVICE_LEAVE_QUEST

string homeassistant.components.habitica.const.SERVICE_LEAVE_QUEST = "leave_quest"

Definition at line 42 of file const.py.

◆ SERVICE_REJECT_QUEST

string homeassistant.components.habitica.const.SERVICE_REJECT_QUEST = "reject_quest"

Definition at line 41 of file const.py.

◆ SERVICE_SCORE_HABIT

string homeassistant.components.habitica.const.SERVICE_SCORE_HABIT = "score_habit"

Definition at line 43 of file const.py.

◆ SERVICE_SCORE_REWARD

string homeassistant.components.habitica.const.SERVICE_SCORE_REWARD = "score_reward"

Definition at line 44 of file const.py.

◆ SERVICE_START_QUEST

string homeassistant.components.habitica.const.SERVICE_START_QUEST = "start_quest"

Definition at line 37 of file const.py.

◆ SERVICE_TRANSFORMATION

string homeassistant.components.habitica.const.SERVICE_TRANSFORMATION = "transformation"

Definition at line 46 of file const.py.

◆ SIGN_UP_URL

string homeassistant.components.habitica.const.SIGN_UP_URL = "https://habitica.com/register"

Definition at line 11 of file const.py.

◆ SITE_DATA_URL

string homeassistant.components.habitica.const.SITE_DATA_URL = "https://habitica.com/user/settings/siteData"

Definition at line 9 of file const.py.

◆ UNIT_TASKS

string homeassistant.components.habitica.const.UNIT_TASKS = "tasks"

Definition at line 28 of file const.py.

◆ WARRIOR

string homeassistant.components.habitica.const.WARRIOR = "warrior"

Definition at line 49 of file const.py.