ym88659208ym87991671
Function hvac_direction_set | Documentation for developers

hvac_direction_set

Last updated on June 17, 2024

Data type: ENUM.

Usage method: does not store the device state but can change it.

Purpose: manages the fan direction:

  • left – to the left.
  • right – to the right.
  • up – up.
  • down – down.

When describing the device model, the list of available operation modes of a function can be shortened.

Devices with this function

hvac_fan – fans.

Examples of voice commands

— Салют, поверни вентилятор налево (Salute, turn the fan to the left)

— Салют, нужно, чтобы вентилятор начал дуть правее (Salute, make the fan blow to the right)

— Салют, направление вентилятора – вверх (Salute, the fan must be directed upwards)

Function description for a device model

The function must be added to the model descriptions of all devices that support it.

"features": [
"hvac_direction_set",
// ...
]

Function state description example

The example describes a device directed upwards.

{
"states": [
{
"key": "hvac_direction_set",
"value": {
"type": "ENUM",
"enum_value": "up"
}
}
]
}
Sber process cookies only to personalize services according to Cookies Usage Policy. You can prevent the processing of cookies in your browser settings.