Explore Plans
QuadOS Connect

Light state

This query returns whether a light is on or off, and a dimmer's brightness.

Developer info

API endpoint slug
quados_connect.light_state
Runtime method
performQuery("quados_connect.light_state"}

Query fields

Light Dropdown list

Label
Which light?
Slug
light
Required
true
Can have default value
false

Ingredients

Name The name of the light.

Slug
name
Filter
QuadosConnect.lightState.Name
Type
String
Example
Ceiling light

Room name The room the light is in, if it has one.

Slug
room_name
Filter
QuadosConnect.lightState.RoomName
Type
String
Example
Living room

State Whether the light is on, off or unknown.

Slug
state
Filter
QuadosConnect.lightState.State
Type
String
Example
on

Brightness A dimmer's brightness from 0 to 100, or empty when not known.

Slug
brightness
Filter
QuadosConnect.lightState.Brightness
Type
String
Example
60

Home name The name of the home, as you call it in the QuadOS app.

Slug
home_name
Filter
QuadosConnect.lightState.HomeName
Type
String
Example
Villa