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 your TIS support switch was turned on or off
- API endpoint slug
- tis_smart_home.history_switch_status
- Runtime method
- performQuery("tis_smart_home.history_switch_status")
Query fields
Device name Dropdown list
- Label
- Device Name
- Slug
- device_name
- Required
- true
- Can have default value
- false
Ingredients
Check timeit gives the current time of switch being turned on or off
- Slug
- check_time
- Filter code
- TisSmartHome.historySwitchStatus.CheckTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Switch statusit gives the current switch status
- Slug
- switch_status
- Filter code
- TisSmartHome.historySwitchStatus.SwitchStatus
- Type
- String
- Example
- On or Off