set_dimmer_level
Set the brightness level of a dimmer switch from 0 (off) to 100 (full brightness) by providing the device index or name.
Instructions
Set the brightness level of a dimmer switch.
Args: level: Integer from 0 to 100. Note: 0 is Off, 100 is Full Brightness. idx: Device index. name: Device name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | ||
| idx | No | ||
| name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |