Description
A doorbell has been pressed.
Fields
Key | Type | Description |
---|---|---|
device
|
Device |
Doorbell device. Required |
eventData
|
FieldPath |
A specific piece of event data to check. Optional To use this field, at least one of the following fields SHOULD be used: is, isNot, greaterThan, greaterThanOrEqualTo, lessThan, lessThanOrEqualTo |
is
|
Dynamic |
Checks if the event data is equal to a value. Optional To use this field, all the following fields CANNOT be used: isNot, greaterThanOrEqualTo, greaterThan, lessThanOrEqualTo, lessThan To use this field, all the following fields SHOULD be used: eventData |
isNot
|
Dynamic |
Checks if the event data is not equal to a value. Optional To use this field, all the following fields CANNOT be used: is, greaterThanOrEqualTo, greaterThan, lessThanOrEqualTo, lessThan To use this field, all the following fields SHOULD be used: eventData |
greaterThan
|
Dynamic |
Checks if the event data is greater than (>) a value. Optional To use this field, all the following fields CANNOT be used: isNot, is, greaterThanOrEqualTo |
greaterThanOrEqualTo
|
Dynamic |
Checks if the event data is greater than or equal to (>=) a value. Optional To use this field, all the following fields CANNOT be used: isNot, is, greaterThan |
lessThan
|
Dynamic |
Checks if the event data is less than (<) a value. Optional To use this field, all the following fields CANNOT be used: isNot, is, lessThanOrEqualTo |
lessThanOrEqualTo
|
Dynamic |
Checks if the event data is less than or equal to (<=) a value. Optional To use this field, all the following fields CANNOT be used: isNot, is, lessThan |
for
|
Duration |
Checks if the elapsed time duration since last valid event seen has exceeded this value. Only applicable for Starters, cannot be used with Conditions. Optional |
suppressFor
|
Duration |
Suppress the triggering of the starter for a certain time period. Optional |
Examples
starters:
- type: device.event.DoorbellPress
device: My DoorBell - Room Name