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 WeMo Light Switch was turned on.
- API endpoint slug
- wemo_light_switch.history_of_switched_on
- Runtime method
- performQuery("wemo_light_switch.history_of_switched_on")
Query fields
Macaddress Dropdown list
- Label
- Which light switch?
- Helper text
- Name of Your WeMo light switch.
- Slug
- macaddress
- Required
- true
- Can have default value
- false
Ingredients
Switched on atDate and time event was created.
- Slug
- created_at
- Filter code
- WemoLightSwitch.historyOfSwitchedOn.SwitchedOnAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Switch nameThe name of the WeMo switch device.
- Slug
- device_name
- Filter code
- WemoLightSwitch.historyOfSwitchedOn.SwitchName
- Type
- String
- Example
- Kitchen switch