query_crestron_device
Query a device's live state: current value, idle/ramping/pulsing status, and pending scheduled actions with remaining time.
Instructions
Get the live state of a device: its current value plus whether it is idle, ramping (with target and completes_at), or pulsing (releases_at), and any pending scheduled action (with fires_at). Time fields are epoch milliseconds (matching get_crestron_time); remaining_ms / in_ms tell you directly how long until it finishes/fires, so you can decide how long to wait without polling a clock. One read tells you idle vs in-flight vs scheduled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Unique device identifier (e.g. "conf_rm_a_lights_on"). |