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 when any or a specific door panel was closed.
- API endpoint slug
- scoutalarm.history_of_when_a_door_panel_was_closed
- Runtime method
- performQuery("scoutalarm.history_of_when_a_door_panel_was_closed")
Query fields
Device ID Dropdown list
- Label
- Which door panel?
- Slug
- device_id
- Required
- true
- Can have default value
- false
Ingredients
AtDate and time door panel closed
- Slug
- at
- Filter code
- Scoutalarm.historyOfWhenADoorPanelWasClosed.At
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
NameName of sensor
- Slug
- name
- Filter code
- Scoutalarm.historyOfWhenADoorPanelWasClosed.Name
- Type
- String
- Example
- Front Door
Formatted textText shown in activity feed.
- Slug
- formatted_text
- Filter code
- Scoutalarm.historyOfWhenADoorPanelWasClosed.FormattedText
- Type
- String
- Example
- Door Panel closed
ActionSensor Trigger
- Slug
- action
- Filter code
- Scoutalarm.historyOfWhenADoorPanelWasClosed.Action
- Type
- String
- Example
- close