gadgets_get_state
Retrieve a gadget's last reported state and its freshness (fresh, stale, or offline) to check device status before routing commands. Accepts a device ID or its given name.
Instructions
Read a gadget's last reported state and freshness (fresh, stale or offline). Reported state is the device's own report; it does not prove a physical effect. device_id may be the gadget's ID or the name you gave it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes |