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
- API endpoint slug
- smappee.history_of_when_power_dropped_below_a_threshold
- Runtime method
- performQuery("smappee.history_of_when_power_dropped_below_a_threshold")
Query fields
Service location Dropdown list
- Label
- Service location
- Helper text
- Slug
- service_location
- Required
- true
- Can have default value
- false
Below Text input
- Label
- Drops below
- Helper text
- Slug
- below
- Required
- true
- Can have default value
- true
Ingredients
Avg power in watts
- Slug
- power
- Filter code
- Smappee.historyOfWhenPowerDroppedBelowAThreshold.AvgPowerInWatts
- Type
- String
- Example
- 50
Service location
- Slug
- serviceLocation
- Filter code
- Smappee.historyOfWhenPowerDroppedBelowAThreshold.ServiceLocation
- Type
- String
- Example
- Home
Threshold in watts
- Slug
- threshold
- Filter code
- Smappee.historyOfWhenPowerDroppedBelowAThreshold.ThresholdInWatts
- Type
- String
- Example
- 500
Avg solar power in watts
- Slug
- solar
- Filter code
- Smappee.historyOfWhenPowerDroppedBelowAThreshold.AvgSolarPowerInWatts
- Type
- String
- Example
- 1200
Created at
- Slug
- created_at
- Filter code
- Smappee.historyOfWhenPowerDroppedBelowAThreshold.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00