2020-06-22 14:29:01 +00:00
|
|
|
{
|
|
|
|
"config": {
|
2021-05-11 05:14:33 +00:00
|
|
|
"flow_title": "{host}",
|
2020-06-22 14:29:01 +00:00
|
|
|
"step": {
|
|
|
|
"user": {
|
2020-11-11 12:22:52 +00:00
|
|
|
"data": {
|
|
|
|
"host": "[%key:common::config_flow::data::host%]"
|
|
|
|
}
|
2020-06-22 14:29:01 +00:00
|
|
|
},
|
|
|
|
"edit": {
|
|
|
|
"title": "Edit connection information",
|
|
|
|
"data": {
|
|
|
|
"host": "[%key:common::config_flow::data::host%]",
|
2020-11-11 12:22:52 +00:00
|
|
|
"port": "[%key:common::config_flow::data::port%]",
|
|
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
|
|
"password": "[%key:common::config_flow::data::password%]"
|
2020-06-22 14:29:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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%]",
|
|
|
|
"no_server_found": "Could not automatically discover server."
|
|
|
|
},
|
|
|
|
"abort": {
|
|
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
|
|
"no_server_found": "No LMS server found."
|
|
|
|
}
|
2023-07-11 23:18:22 +00:00
|
|
|
},
|
|
|
|
"services": {
|
|
|
|
"call_method": {
|
|
|
|
"name": "Call method",
|
|
|
|
"description": "Calls a custom Squeezebox JSONRPC API.",
|
|
|
|
"fields": {
|
|
|
|
"command": {
|
|
|
|
"name": "Command",
|
|
|
|
"description": "Command to pass to Logitech Media Server (p0 in the CLI documentation)."
|
|
|
|
},
|
|
|
|
"parameters": {
|
|
|
|
"name": "Parameters",
|
|
|
|
"description": "Array of additional parameters to pass to Logitech Media Server (p1, ..., pN in the CLI documentation).\n."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"call_query": {
|
|
|
|
"name": "Call query",
|
|
|
|
"description": "Calls a custom Squeezebox JSONRPC API. Result will be stored in 'query_result' attribute of the Squeezebox entity.\n.",
|
|
|
|
"fields": {
|
|
|
|
"command": {
|
|
|
|
"name": "Command",
|
|
|
|
"description": "Command to pass to Logitech Media Server (p0 in the CLI documentation)."
|
|
|
|
},
|
|
|
|
"parameters": {
|
|
|
|
"name": "Parameters",
|
|
|
|
"description": "Array of additional parameters to pass to Logitech Media Server (p1, ..., pN in the CLI documentation).\n."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sync": {
|
|
|
|
"name": "Sync",
|
|
|
|
"description": "Adds another player to this player's sync group. If the other player is already in a sync group, it will leave it.\n.",
|
|
|
|
"fields": {
|
|
|
|
"other_player": {
|
|
|
|
"name": "Other player",
|
|
|
|
"description": "Name of the other Squeezebox player to link."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"unsync": {
|
|
|
|
"name": "Unsync",
|
|
|
|
"description": "Removes this player from its sync group."
|
|
|
|
}
|
2020-06-22 14:29:01 +00:00
|
|
|
}
|
|
|
|
}
|