mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
51 lines
2.2 KiB
JSON
51 lines
2.2 KiB
JSON
{
|
|
"config": {
|
|
"flow_title": "{name}",
|
|
"step": {
|
|
"user": {
|
|
"description": "Kodi connection information. Please make sure to enable \"Allow control of Kodi via HTTP\" in System/Settings/Network/Services.",
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"port": "[%key:common::config_flow::data::port%]",
|
|
"ssl": "[%key:common::config_flow::data::ssl%]"
|
|
}
|
|
},
|
|
"discovery_confirm": {
|
|
"description": "Do you want to add Kodi (`{name}`) to Home Assistant?",
|
|
"title": "Discovered Kodi"
|
|
},
|
|
"ws_port": {
|
|
"description": "The WebSocket port (sometimes called TCP port in Kodi). In order to connect over WebSocket, you need to enable \"Allow programs ... to control Kodi\" in System/Settings/Network/Services. If WebSocket is not enabled, remove the port and leave empty.",
|
|
"data": {
|
|
"ws_port": "[%key:common::config_flow::data::port%]"
|
|
}
|
|
},
|
|
"credentials": {
|
|
"description": "Please enter your Kodi user name and password. These can be found in System/Settings/Network/Services.",
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
}
|
|
},
|
|
"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%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]",
|
|
"no_uuid": "Kodi instance does not have a unique id. This is most likely due to an old Kodi version (17.x or below). You can configure the integration manually or upgrade to a more recent Kodi version."
|
|
}
|
|
},
|
|
"device_automation": {
|
|
"trigger_type": {
|
|
"turn_on": "{entity_name} was requested to turn on",
|
|
"turn_off": "{entity_name} was requested to turn off"
|
|
}
|
|
}
|
|
}
|