This query returns a list of instances when a light was turned on.
- API endpoint slug
- myq_devices.history_of_lights_turned_on
- Runtime method
- performQuery("myq_devices.history_of_lights_turned_on")
Query fields
- Label
- What light was turned on?
- Helper text
- light name
- Slug
- light_name
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- created_at
- Filter code
- MyqDevices.historyOfLightsTurnedOn.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- light_name
- Filter code
- MyqDevices.historyOfLightsTurnedOn.LightName
- Type
- String
- Example
- Kitchen Light