2021-02-17 08:04:11 +00:00
{
2021-07-22 06:37:33 +00:00
"config" : {
2023-01-24 06:59:32 +00:00
"abort" : {
"already_configured" : "[%key:common::config_flow::abort::already_configured_account%]"
} ,
2021-07-22 06:37:33 +00:00
"error" : {
"invalid_credentials" : "[%key:common::config_flow::error::invalid_auth%]" ,
"unknown" : "[%key:common::config_flow::error::unknown%]"
2021-02-17 08:04:11 +00:00
} ,
2021-07-22 06:37:33 +00:00
"step" : {
"user" : {
"data" : {
"url" : "[%key:common::config_flow::data::url%]" ,
2023-07-13 15:52:50 +00:00
"name" : "Override for Habitica’ s username. Will be used for service calls" ,
"api_user" : "Habitica’ s API user ID" ,
2021-07-22 06:37:33 +00:00
"api_key" : "[%key:common::config_flow::data::api_key%]"
} ,
"description" : "Connect your Habitica profile to allow monitoring of your user's profile and tasks. Note that api_id and api_key must be gotten from https://habitica.com/user/settings/api"
}
}
2023-07-12 10:31:26 +00:00
} ,
2024-04-29 10:51:38 +00:00
"entity" : {
"sensor" : {
"display_name" : {
"name" : "Display name"
} ,
"health" : {
"name" : "Health"
} ,
"health_max" : {
"name" : "Max. health"
} ,
"mana" : {
"name" : "Mana"
} ,
"mana_max" : {
"name" : "Max. mana"
} ,
"experience" : {
"name" : "Experience"
} ,
"experience_max" : {
"name" : "Next level"
} ,
"level" : {
"name" : "Level"
} ,
"gold" : {
"name" : "Gold"
} ,
"class" : {
"name" : "Class" ,
"state" : {
"warrior" : "Warrior" ,
"healer" : "Healer" ,
"wizard" : "Mage" ,
"rogue" : "Rogue"
}
}
}
} ,
2024-05-05 15:02:28 +00:00
"exceptions" : {
"setup_rate_limit_exception" : {
"message" : "Currently rate limited, try again later"
}
} ,
2023-07-12 10:31:26 +00:00
"services" : {
"api_call" : {
"name" : "API name" ,
"description" : "Calls Habitica API." ,
"fields" : {
"name" : {
2023-07-13 15:52:50 +00:00
"name" : "[%key:common::config_flow::data::name%]" ,
2023-07-12 10:31:26 +00:00
"description" : "Habitica's username to call for."
} ,
"path" : {
2023-07-13 15:52:50 +00:00
"name" : "[%key:common::config_flow::data::path%]" ,
2023-07-12 10:31:26 +00:00
"description" : "Items from API URL in form of an array with method attached at the end. Consult https://habitica.com/apidoc/. Example uses https://habitica.com/apidoc/#api-Task-CreateUserTasks."
} ,
"args" : {
"name" : "Args" ,
"description" : "Any additional JSON or URL parameter arguments. See apidoc mentioned for path. Example uses same API endpoint."
}
}
}
2021-07-22 06:37:33 +00:00
}
2021-02-17 08:04:11 +00:00
}