hs4.devices.set
Sets a HomeSeer HS4 device state using control value or set status mode, with automatic verification and fallback to ensure convergence.
Instructions
Set a device state by control value (preferred) or setdevicestatus mode. Performs post-write verification by default and can auto-fallback to control_value when set_status does not converge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| mode | No | control_value | |
| value | No | ||
| dryRun | No | If true, validates and simulates action without changing HS4. | |
| intent | No | High-level intent for this operation. | |
| reason | No | Reason/rationale for auditability. | |
| source | No | ||
| verify | No | ||
| confirm | No | Must be true for mutating operations unless running dry-run. | |
| statusText | No |