Function button_7_event | Documentation for developers
Skip to main content


Last updated on August 26, 2022

Data type: ENUM.

Usage method: stores the device state and can change it.

Purpose: notifies about pressing the seventh button. Possible types of pressing:

  • click – single press.
  • double_click – double press.
  • long_press – long press.

When describing the device model, the list of pressing types can be shortened.

Devices with this function

scenario_button – scenario buttons.

Examples of voice commands

No voice commands are available.

Function description for a device model

"features": [
// ...

Function state description example

The example describes a scenario button, the seventh button of which was pressed once.

"states": [
"key": "button_7_event",
"value": {
"type": "ENUM",
"enum_value": "click"