Group Location
Explore Plans
Mobile menu Close menu
MyQMyQ

Light turned on

This trigger fires when a light is turned on.

About this trigger

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 trigger fires when a light is turned on.
API endpoint slug
myq_devices.light_turned_on

Trigger fields

Light name Dropdown list

Label
What light was turned on?
Helper text
light name
Slug
light_name
Required
true
Can have default value
false

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
MyqDevices.lightTurnedOn.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Light namename of the light

Slug
light_name
Filter code
MyqDevices.lightTurnedOn.LightName
Type
String
Example
Kitchen Light