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 matches for the specified time window conditions.
- API endpoint slug
- WattuneedBatteryUP.time_slots
- Runtime method
- performQuery("WattuneedBatteryUP.time_slots")
Query fields
Periodicity Dropdown list
- Label
- How often?
- Slug
- periodicity
- Required
- false
- Can have default value
- true
From hr Dropdown list
- Label
- From when?
- Helper text
- Optional, default value is 00:00
- Slug
- from_hr
- Required
- false
- Can have default value
- true
To hr Dropdown list
- Label
- Until when?
- Helper text
- Optional, default value is 23:59
- Slug
- to_hr
- Required
- false
- Can have default value
- true
Ingredients
From date timeStart timestamp of slot.
- Slug
- ts_start
- Filter code
- WattuneedBatteryUP.timeSlots.FromDateTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Until date timeEnd timestamp of slot.
- Slug
- ts_end
- Filter code
- WattuneedBatteryUP.timeSlots.UntilDateTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00