163 lines
4.7 KiB
JSON
163 lines
4.7 KiB
JSON
{
|
||
"config": {
|
||
"abort": {
|
||
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]"
|
||
},
|
||
"error": {
|
||
"invalid_credentials": "[%key:common::config_flow::error::invalid_auth%]",
|
||
"unknown": "[%key:common::config_flow::error::unknown%]"
|
||
},
|
||
"step": {
|
||
"user": {
|
||
"data": {
|
||
"url": "[%key:common::config_flow::data::url%]",
|
||
"name": "Override for Habitica’s username. Will be used for actions",
|
||
"api_user": "Habitica’s API user ID",
|
||
"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"
|
||
}
|
||
}
|
||
},
|
||
"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 {count} Habitica to-do(s), 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."
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|