This query returns the on/off state of the device you choose.
- API endpoint slug
- ewelink.power_state_query
- Runtime method
- performQuery("ewelink.power_state_query")
Query fields
- Label
- Which device?
- Helper text
- This query returns the on/off state of the device you choose
- Slug
- device_list_query
- Required
- false
- Can have default value
- false
Ingredients
- Slug
- devicename_is
- Filter code
- Ewelink.powerStateQuery.QueryDeviceName
- Type
- String
- Example
- E.g. eWeLinkSmartHomeDevice
- Slug
- power_state
- Filter code
- Ewelink.powerStateQuery.QueryPowerState
- Type
- String
- Example
- E.g on