source
Data type: ENUM.
Usage method: stores the device state and can change it.
Purpose: controls video signal sources:
hdmi1
— the signal from the HDMI input No. 1.- `hdmi2' — the signal from the HDMI input No. 2.
hdmi3
— the signal from the HDMI input No. 3.tv
— the signal from the TV antenna.av
— the signal from the AV input (RCA).- `content'— video streaming from a smartphone or computer to a TV.
- `screencast' — demonstration of a smartphone or computer screen on a TV.
+
— the next signal source.-
— the previous signal source.
When describing the device model, the list of available sources can be shortened.
Devices with this function
tv — TV.
Examples of voice commands
— Салют, переключи источник сигнала на HDMI 1 (Salute, switch the signal source to HDMI 1)
— Салют, выбери источник сигнала TV (Salute, select the TV signal source)
— Салют, следующий источник сигнала на ТВ (Salute, the next signal source on TV)
— Салют, предыдущий источник сигнала на телевизоре ( Salute, the previous signal source on the TV)
— Салют, переключи источник сигнала на телевизоре (Salute, switch the signal source on the TV)
Function description for a device model
The function must be added to the model descriptions of all devices that support it.
"features": [
"source",
// ...
]
Function state description example
In the example, the image and sound are output to the TV from the HDMI input No. 1.
{
"states": [
{
"key": "source",
"value": {
"type": "ENUM",
"enum_value": "HDMI1"
}
}
]
}