This query returns every light in your Plexilent homes with its room and whether it is on or off.
Developer info
- API endpoint slug
- plexilent.list_lights
- Runtime method
- performQuery("plexilent.list_lights"}
Query fields
No fields for this query
Ingredients
Device name The name of the light in the Plexilent app.
- Slug
- device_name
- Filter
- Plexilent.listLights.DeviceName
- Type
- String
- Example
- Kitchen light
Room The room the light is in, as set in the Plexilent app.
- Slug
- room
- Filter
- Plexilent.listLights.Room
- Type
- String
- Example
- Kitchen
State Whether the light is on or off.
- Slug
- state
- Filter
- Plexilent.listLights.State
- Type
- String
- Example
- on
