devices.types.openable.valve

A device that functions as a ball valve.

Examples of devices

Ball valve.

Device control phrases

Each device type has a specific set of phrases. The user can control the device using these phrases without specifying the device name.

Phrases:
  • Yasmina, open the tap.

  • Yasmina, close the ball valve.

  • Yasmina, open the valve.

Where can I find all voice commands?
To open the full list of voice commands:
  1. Open the  Yango Play app.
  2. Select the desired device in the list of devices.
  3. Go to the Device section at the bottom of the page.
  4. Tap Device.

Recommended capabilities

The table of capabilities is based on popular device functions in a given category. It provides general recommendations for describing devices. Yango Smart Home does not restrict the provider to the specified list. You can combine capabilities and devices as you wish based on your awareness of the device features.

Capability Instances and values
devices.capabilities.on_off Functions and values are not applicable.
devices.capabilities.range

Function: open.

Values: not supported.

Capability Instances and values
devices.capabilities.on_off Functions and values are not applicable.
devices.capabilities.range

Function: open.

Values: not supported.

Examples of capability and property descriptions

These structures are sent in response to the device list request.

A smart ball valve that can open and close
{
  "capabilities": [{
    "type": "devices.capabilities.on_off",
    "retrievable": true
  }],
  "properties": []
}
A smart tap that can close and open by a certain percentage
{
  "capabilities": [{
    "type": "devices.capabilities.range",
    "retrievable": true,
    "parameters": {
      "instance": "open",
      "random_access": true,
      "range": {
        "max": 100,
        "min": 0,
        "precision": 10
      },
      "unit": "unit.percent"
    }
  },
  {
    "type": "devices.capabilities.on_off",
    "retrievable": true
  }],
  "properties": []
}