A beginner's guide
Explore Plans
Mobile menu Close menu
FuturehomeFuturehome

Mode state

This query returns a list of recent mode changes.

About this query

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 query returns a list of recent mode changes.
API endpoint slug
futurehome.mode_state
Runtime method
performQuery("futurehome.mode_state")

Query fields

Mode Dropdown list

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

Ingredients

ModeThe Mode the site was set to.

Slug
mode
Filter code
Futurehome.modeState.Mode
Type
String
Example
home

Triggered atThe time when the mode was triggered.

Slug
triggered_at
Filter code
Futurehome.modeState.TriggeredAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Site nameThe name of the site where the trigger was triggered.

Slug
site_name
Filter code
Futurehome.modeState.SiteName
Type
String
Example
Home