91 lines
2.3 KiB
JSON
91 lines
2.3 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"api_key": "[%key:common::config_flow::data::api_key%]",
|
|
"name": "[%key:common::config_flow::data::name%]",
|
|
"url": "[%key:common::config_flow::data::url%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_api_key": "[%key:common::config_flow::error::invalid_api_key%]"
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"status": {
|
|
"name": "Status"
|
|
},
|
|
"speed": {
|
|
"name": "Speed"
|
|
},
|
|
"queue": {
|
|
"name": "Queue"
|
|
},
|
|
"left": {
|
|
"name": "Left to download"
|
|
},
|
|
"total_disk_space": {
|
|
"name": "Total disk space"
|
|
},
|
|
"free_disk_space": {
|
|
"name": "Free disk space"
|
|
},
|
|
"queue_count": {
|
|
"name": "Queue count"
|
|
},
|
|
"daily_total": {
|
|
"name": "Daily total"
|
|
},
|
|
"weekly_total": {
|
|
"name": "Weekly total"
|
|
},
|
|
"monthly_total": {
|
|
"name": "Monthly total"
|
|
},
|
|
"overall_total": {
|
|
"name": "Overall total"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"pause": {
|
|
"name": "[%key:common::action::pause%]",
|
|
"description": "Pauses downloads.",
|
|
"fields": {
|
|
"api_key": {
|
|
"name": "SABnzbd API key",
|
|
"description": "The SABnzbd API key to pause downloads."
|
|
}
|
|
}
|
|
},
|
|
"resume": {
|
|
"name": "Resume",
|
|
"description": "Resumes downloads.",
|
|
"fields": {
|
|
"api_key": {
|
|
"name": "[%key:component::sabnzbd::services::pause::fields::api_key::name%]",
|
|
"description": "The SABnzbd API key to resume downloads."
|
|
}
|
|
}
|
|
},
|
|
"set_speed": {
|
|
"name": "Set speed",
|
|
"description": "Sets the download speed limit.",
|
|
"fields": {
|
|
"api_key": {
|
|
"name": "[%key:component::sabnzbd::services::pause::fields::api_key::name%]",
|
|
"description": "The SABnzbd API key to set speed limit."
|
|
},
|
|
"speed": {
|
|
"name": "Speed",
|
|
"description": "Speed limit. If specified as a number with no units, will be interpreted as a percent. If units are provided (e.g., 500K) will be interpreted absolutely."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|