This trigger fires every time you log sleep below the target hours you specify.
- API endpoint slug
- google_health.sleep_duration_below
Trigger fields
- Label
- Target hours
- Helper text
- How many hours of sleep to use as your target, e.g. 7.5
- Slug
- target_hours
- Required
- true
- Can have default value
- true
Ingredients
- Slug
- total_time_slept
- Filter code
- GoogleHealth.sleepDurationBelow.TotalTimeSlept
- Type
- String
- Example
- 8 hours 12 minutes
- Slug
- total_time_slept_in_seconds
- Filter code
- GoogleHealth.sleepDurationBelow.TotalTimeSleptInSeconds
- Type
- String
- Example
- 29520
- Slug
- date_awoken
- Filter code
- GoogleHealth.sleepDurationBelow.DateAwoken
- Type
- Date (ISO8601)
- Example
- 2020-07-07