2023-05-27 18:21:12 +00:00
|
|
|
{
|
|
|
|
"config": {
|
|
|
|
"abort": {
|
|
|
|
"access_not_configured": "Please read the below message we got from Google:\n\n{message}",
|
2023-06-11 10:30:38 +00:00
|
|
|
"no_channel": "Please create a YouTube channel to be able to use the integration. Instructions can be found at {support_url}.",
|
2023-05-27 18:21:12 +00:00
|
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
2023-08-29 07:36:27 +00:00
|
|
|
"no_subscriptions": "You need to be subscribed to YouTube channels in order to add them.",
|
2023-05-27 18:21:12 +00:00
|
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
|
|
},
|
|
|
|
"error": {
|
|
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
|
|
|
|
},
|
|
|
|
"step": {
|
|
|
|
"channels": {
|
|
|
|
"description": "Select the channels you want to add.",
|
|
|
|
"data": {
|
|
|
|
"channels": "YouTube channels"
|
|
|
|
}
|
2023-06-16 07:10:55 +00:00
|
|
|
},
|
|
|
|
"reauth_confirm": {
|
|
|
|
"title": "[%key:common::config_flow::title::reauth%]",
|
|
|
|
"description": "The YouTube integration needs to re-authenticate your account"
|
2023-05-27 18:21:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-29 01:44:45 +00:00
|
|
|
"options": {
|
|
|
|
"step": {
|
|
|
|
"init": {
|
2023-07-13 15:52:50 +00:00
|
|
|
"description": "[%key:component::youtube::config::step::channels::description%]",
|
2023-05-29 01:44:45 +00:00
|
|
|
"data": {
|
2023-07-13 15:52:50 +00:00
|
|
|
"channels": "[%key:component::youtube::config::step::channels::data::channels%]"
|
2023-05-29 01:44:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-27 18:21:12 +00:00
|
|
|
"entity": {
|
|
|
|
"sensor": {
|
|
|
|
"latest_upload": {
|
2023-07-22 10:45:55 +00:00
|
|
|
"name": "Latest upload",
|
|
|
|
"state_attributes": {
|
|
|
|
"video_id": {
|
|
|
|
"name": "Video ID"
|
|
|
|
},
|
|
|
|
"published_at": {
|
|
|
|
"name": "Published at"
|
|
|
|
}
|
|
|
|
}
|
2023-05-27 18:21:12 +00:00
|
|
|
},
|
|
|
|
"subscribers": {
|
|
|
|
"name": "Subscribers"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|