You can use the Water Detector state as a condition to trigger an automation.
- API endpoint slug
- switchbot.water_detector_trigger
Trigger fields
- Label
- Select a device
- Slug
- choose_a_device
- Required
- true
- Can have default value
- false
- Label
- Water detector state
- Slug
- water_detector_state
- Required
- true
- Can have default value
- true
Ingredients
- Slug
- created_at
- Filter code
- Switchbot.waterDetectorTrigger.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- Content
- Filter code
- Switchbot.waterDetectorTrigger.Content
- Type
- String
- Example
- waterDetectorTest on