mirror of https://github.com/home-assistant/core
125 lines
4.0 KiB
JSON
125 lines
4.0 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
}
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]",
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]"
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"invalid_config_entry": {
|
|
"message": "Invalid config entry provided. Got {config_entry_id}"
|
|
},
|
|
"unloaded_config_entry": {
|
|
"message": "Invalid config entry provided. {config_entry_id} is not loaded."
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"description": "Configure general settings",
|
|
"data": {
|
|
"show_archived": "Whether sensors should be created for archived packages",
|
|
"show_delivered": "Whether sensors should be created for delivered packages"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"issues": {
|
|
"deprecate_sensor": {
|
|
"title": "17Track package sensors are being deprecated",
|
|
"fix_flow": {
|
|
"step": {
|
|
"confirm": {
|
|
"title": "[%key:component::seventeentrack::issues::deprecate_sensor::title%]",
|
|
"description": "17Track package sensors are deprecated and will be removed.\nPlease update your automations and scripts to get data using the `seventeentrack.get_packages` action."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"not_found": {
|
|
"name": "Not found"
|
|
},
|
|
"in_transit": {
|
|
"name": "In transit"
|
|
},
|
|
"expired": {
|
|
"name": "Expired"
|
|
},
|
|
"ready_to_be_picked_up": {
|
|
"name": "Ready to be picked up"
|
|
},
|
|
"undelivered": {
|
|
"name": "Undelivered"
|
|
},
|
|
"delivered": {
|
|
"name": "Delivered"
|
|
},
|
|
"returned": {
|
|
"name": "Returned"
|
|
},
|
|
"package": {
|
|
"name": "Package {name}"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"get_packages": {
|
|
"name": "Get packages",
|
|
"description": "Get packages from 17Track",
|
|
"fields": {
|
|
"package_state": {
|
|
"name": "Package states",
|
|
"description": "Only return packages with the specified states. Returns all packages if not specified."
|
|
},
|
|
"config_entry_id": {
|
|
"name": "17Track service",
|
|
"description": "The packages will be retrieved for the selected service."
|
|
}
|
|
}
|
|
},
|
|
"archive_package": {
|
|
"name": "Archive package",
|
|
"description": "Archive a package",
|
|
"fields": {
|
|
"package_tracking_number": {
|
|
"name": "Package tracking number",
|
|
"description": "The package will be archived for the specified tracking number."
|
|
},
|
|
"config_entry_id": {
|
|
"name": "[%key:component::seventeentrack::services::get_packages::fields::config_entry_id::name%]",
|
|
"description": "The package will be archived for the selected service."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"selector": {
|
|
"package_state": {
|
|
"options": {
|
|
"not_found": "[%key:component::seventeentrack::entity::sensor::not_found::name%]",
|
|
"in_transit": "[%key:component::seventeentrack::entity::sensor::in_transit::name%]",
|
|
"expired": "[%key:component::seventeentrack::entity::sensor::expired::name%]",
|
|
"ready_to_be_picked_up": "[%key:component::seventeentrack::entity::sensor::ready_to_be_picked_up::name%]",
|
|
"undelivered": "[%key:component::seventeentrack::entity::sensor::undelivered::name%]",
|
|
"delivered": "[%key:component::seventeentrack::entity::sensor::delivered::name%]",
|
|
"returned": "[%key:component::seventeentrack::entity::sensor::returned::name%]"
|
|
}
|
|
}
|
|
}
|
|
}
|