mirror of
https://github.com/home-assistant/core.git
synced 2026-02-22 10:55:50 +00:00
71 lines
2.3 KiB
JSON
71 lines
2.3 KiB
JSON
{
|
|
"services": {
|
|
"power_on": {
|
|
"description": "Powers on all devices which support this function.",
|
|
"name": "Power on"
|
|
},
|
|
"select_device": {
|
|
"description": "Selects an HDMI device.",
|
|
"fields": {
|
|
"device": {
|
|
"description": "Address of device to select. Can be an entity ID, physical address or alias from configuration.",
|
|
"name": "[%key:common::config_flow::data::device%]"
|
|
}
|
|
},
|
|
"name": "Select device"
|
|
},
|
|
"send_command": {
|
|
"description": "Sends CEC command into HDMI CEC capable adapter.",
|
|
"fields": {
|
|
"att": {
|
|
"description": "Optional parameters.",
|
|
"name": "Att"
|
|
},
|
|
"cmd": {
|
|
"description": "Command itself. Could be decimal number or string with hexadecimal notation: \"0x10\".",
|
|
"name": "Command"
|
|
},
|
|
"dst": {
|
|
"description": "Destination for command. Could be decimal number or string with hexadecimal notation: \"0x10\".",
|
|
"name": "Destination"
|
|
},
|
|
"raw": {
|
|
"description": "Raw CEC command in format \"00:00:00:00\" where first two digits are source and destination, second byte is command and optional other bytes are command parameters. If raw command specified, other params are ignored.",
|
|
"name": "Raw"
|
|
},
|
|
"src": {
|
|
"description": "Source of command. Could be decimal number or string with hexadecimal notation: \"0x10\".",
|
|
"name": "Source"
|
|
}
|
|
},
|
|
"name": "Send command"
|
|
},
|
|
"standby": {
|
|
"description": "Places in standby all devices which support this function.",
|
|
"name": "[%key:common::state::standby%]"
|
|
},
|
|
"update": {
|
|
"description": "Updates devices state from network.",
|
|
"name": "Update"
|
|
},
|
|
"volume": {
|
|
"description": "Increases or decreases the system volume.",
|
|
"fields": {
|
|
"down": {
|
|
"description": "Decreases the volume x levels.",
|
|
"name": "Down"
|
|
},
|
|
"mute": {
|
|
"description": "Mutes the audio system.",
|
|
"name": "Mute"
|
|
},
|
|
"up": {
|
|
"description": "Increases the volume x levels.",
|
|
"name": "Up"
|
|
}
|
|
},
|
|
"name": "Volume"
|
|
}
|
|
}
|
|
}
|