ym88659208ym87991671
Function hvac_direction_set | Documentation for developers
Skip to main content

hvac_direction_set

Last updated on August 26, 2022

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

"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"
}
}
]
}