About this query
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This query returns the on/off state of the device you choose
- API endpoint slug
- yeelight.power
- Runtime method
- performQuery("yeelight.power")
Query fields
Device ID Dropdown list
- Label
- Please choose your device
- Slug
- device_id
- Required
- false
- Can have default value
- false
Ingredients
PowerCurrent power status
- Slug
- power
- Filter code
- Yeelight.power.Power
- Type
- String
- Example
- on/off