mirror of
https://github.com/home-assistant/core.git
synced 2026-12-03 04:08:19 -04:00
64 lines
1.9 KiB
JSON
64 lines
1.9 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"no_identity": "The hub answers, but its UPnP service on port 38400 does not, so it cannot identify itself. Check that nothing blocks that port, then unplug the hub from the mains, plug it back in, wait a minute, and try again."
|
|
},
|
|
"step": {
|
|
"discovery_confirm": {
|
|
"description": "Do you want to set up {name}?"
|
|
},
|
|
"user": {
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]"
|
|
},
|
|
"data_description": {
|
|
"host": "The hostname or IP address of the hub, for example 192.168.1.50."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"media_player": {
|
|
"hub": {
|
|
"state_attributes": {
|
|
"source": {
|
|
"state": {
|
|
"aux": "AUX",
|
|
"bluetooth": "Bluetooth",
|
|
"coaxial": "Coaxial",
|
|
"earc": "eARC",
|
|
"hdmi": "HDMI",
|
|
"line": "Line",
|
|
"optical_1": "Optical 1",
|
|
"optical_2": "Optical 2",
|
|
"optical_3": "Optical 3",
|
|
"pc_mac": "PC/Mac",
|
|
"streaming": "Streaming",
|
|
"usb": "USB"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"cannot_connect": {
|
|
"message": "The hub at {host} did not answer on ports 50006 and 7777."
|
|
},
|
|
"invalid_source": {
|
|
"message": "The hub has no source named {source}."
|
|
},
|
|
"not_confirmed": {
|
|
"message": "The hub did not confirm the command in time, so it may not have taken effect."
|
|
},
|
|
"not_connected": {
|
|
"message": "The hub is not connected, so the command was not sent."
|
|
}
|
|
}
|
|
}
|