hass-core/homeassistant/components/squeezebox/strings.json
Phill (pssc) a16ef5b7ff
Add squeezebox service sensors (#125349)
* Add server sensors

* Fix Platforms order

* Fix spelling

* Fix translations

* Add sensor test

* Case changes

* refactor to use native_value attr override

* Fix typing

* Fix cast to type

* add cast

* use update platform for LMS versions

* Fix translation

* remove update entity

* remove possible update entites

* Fix and clarify

* update to icon trans remove update plaform entitiy supporting items

* add UOM to sensors

* correct criptic prettier fail

* reword other players

* Apply suggestions from code review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-10 17:17:26 +02:00

115 lines
3.4 KiB
JSON

{
"config": {
"flow_title": "{host}",
"step": {
"user": {
"data": {
"host": "[%key:common::config_flow::data::host%]"
},
"data_description": {
"host": "The hostname or IP address of your Lyrion Music Server."
}
},
"edit": {
"title": "Edit connection information",
"data": {
"host": "[%key:common::config_flow::data::host%]",
"port": "[%key:common::config_flow::data::port%]",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",
"https": "Connect over https (requires reverse proxy)"
}
}
},
"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."
}
},
"services": {
"call_method": {
"name": "Call method",
"description": "Calls a custom Squeezebox JSONRPC API.",
"fields": {
"command": {
"name": "Command",
"description": "Command to pass to Lyrion Music Server (p0 in the CLI documentation)."
},
"parameters": {
"name": "Parameters",
"description": "Array of additional parameters to pass to Lyrion Music 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": "[%key:component::squeezebox::services::call_method::fields::command::description%]"
},
"parameters": {
"name": "Parameters",
"description": "[%key:component::squeezebox::services::call_method::fields::parameters::description%]"
}
}
},
"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."
}
},
"entity": {
"binary_sensor": {
"rescan": {
"name": "Library rescan"
},
"needsrestart": {
"name": "Needs restart"
}
},
"sensor": {
"lastscan": {
"name": "Last scan"
},
"info_total_albums": {
"name": "Total albums"
},
"info_total_artists": {
"name": "Total artists"
},
"info_total_duration": {
"name": "Total duration"
},
"info_total_genres": {
"name": "Total genres"
},
"info_total_songs": {
"name": "Total songs"
},
"player_count": {
"name": "Player count"
},
"other_player_count": {
"name": "Player count off service"
}
}
}
}