180 lines
5.3 KiB
JSON
180 lines
5.3 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"step": {
|
|
"user": {
|
|
"menu_options": {
|
|
"login": "Login to Habitica",
|
|
"advanced": "Login to other instances"
|
|
},
|
|
"description": "Connect your Habitica profile to allow monitoring of your user's profile and tasks."
|
|
},
|
|
"login": {
|
|
"data": {
|
|
"username": "Email or username (case-sensitive)",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"advanced": {
|
|
"data": {
|
|
"url": "[%key:common::config_flow::data::url%]",
|
|
"api_user": "User ID",
|
|
"api_key": "API Token",
|
|
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
|
|
},
|
|
"description": "You can retrieve your `User ID` and `API Token` from **Settings -> Site Data** on Habitica or the instance you want to connect to"
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"button": {
|
|
"run_cron": {
|
|
"name": "Start my day"
|
|
},
|
|
"buy_health_potion": {
|
|
"name": "Buy a health potion"
|
|
},
|
|
"allocate_all_stat_points": {
|
|
"name": "Allocate all stat points"
|
|
},
|
|
"revive": {
|
|
"name": "Revive from death"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"todos": {
|
|
"name": "To-Do's"
|
|
},
|
|
"dailys": {
|
|
"name": "Dailies"
|
|
},
|
|
"habits": {
|
|
"name": "Habits"
|
|
},
|
|
"rewards": {
|
|
"name": "Rewards"
|
|
}
|
|
},
|
|
"switch": {
|
|
"sleep": {
|
|
"name": "Rest in the inn"
|
|
}
|
|
},
|
|
"todo": {
|
|
"todos": {
|
|
"name": "To-Do's"
|
|
},
|
|
"dailys": {
|
|
"name": "Dailies"
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"delete_todos_failed": {
|
|
"message": "Unable to delete item from Habitica to-do list, please try again"
|
|
},
|
|
"delete_completed_todos_failed": {
|
|
"message": "Unable to delete completed to-do items from Habitica to-do list, please try again"
|
|
},
|
|
"move_todos_item_failed": {
|
|
"message": "Unable to move the Habitica to-do to position {pos}, please try again"
|
|
},
|
|
"move_dailys_item_failed": {
|
|
"message": "Unable to move the Habitica daily to position {pos}, please try again"
|
|
},
|
|
"update_todos_item_failed": {
|
|
"message": "Unable to update the Habitica to-do `{name}`, please try again"
|
|
},
|
|
"update_dailys_item_failed": {
|
|
"message": "Unable to update the Habitica daily `{name}`, please try again"
|
|
},
|
|
"score_todos_item_failed": {
|
|
"message": "Unable to update the score for your Habitica to-do `{name}`, please try again"
|
|
},
|
|
"score_dailys_item_failed": {
|
|
"message": "Unable to update the score for your Habitica daily `{name}`, please try again"
|
|
},
|
|
"create_todos_item_failed": {
|
|
"message": "Unable to create new to-do `{name}` for Habitica, please try again"
|
|
},
|
|
"setup_rate_limit_exception": {
|
|
"message": "Currently rate limited, try again later"
|
|
},
|
|
"service_call_unallowed": {
|
|
"message": "Unable to carry out this action, because the required conditions are not met"
|
|
},
|
|
"service_call_exception": {
|
|
"message": "Unable to connect to Habitica, try again later"
|
|
}
|
|
},
|
|
"issues": {
|
|
"deprecated_task_entity": {
|
|
"title": "The Habitica `{task_name}` sensor is deprecated",
|
|
"description": "The Habitica entity `{entity}` is deprecated and will be removed in a future release.\nPlease update your automations and scripts to replace the sensor entity with the newly added todo entity.\nWhen you are done migrating you can disable `{entity}`."
|
|
}
|
|
},
|
|
"services": {
|
|
"api_call": {
|
|
"name": "API name",
|
|
"description": "Calls Habitica API.",
|
|
"fields": {
|
|
"name": {
|
|
"name": "[%key:common::config_flow::data::name%]",
|
|
"description": "Habitica's username to call for."
|
|
},
|
|
"path": {
|
|
"name": "[%key:common::config_flow::data::path%]",
|
|
"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."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|