This Trigger monitors sensor contact value and fires whenever the contact state changes.
- API endpoint slug
- thinka.contact_sensor
Trigger fields
- Label
- Device
- Slug
- traits_open_close
- Required
- true
- Can have default value
- false
- Label
- State
- Slug
- state
- Required
- true
- Can have default value
- true
Ingredients
- Slug
- created_at
- Filter code
- Thinka.contactSensor.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- location
- Filter code
- Thinka.contactSensor.Room
- Type
- String
- Example
- Living room
- Slug
- device
- Filter code
- Thinka.contactSensor.Device
- Type
- String
- Example
- The door sensor
- Slug
- contact
- Filter code
- Thinka.contactSensor.SensorState
- Type
- String
- Example
- Open