Explore Plans
Mobile menu Close menu
Ai-SyncAi-Sync

History of light ons

This query returns a list of when users switch on the light

Developer info

API endpoint slug
aisync.history_of_light_ons
Runtime method
performQuery("aisync.history_of_light_ons")

Query fields

Device Dropdown list

Label
Which light do you want to make effect?
Helper text
Select your light under Ai-Sync solution
Slug
device
Required
true
Can have default value
false

Ingredients

Created atDate and time event was created.

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