BooleanSensor function provides boolean sensor monitoring. It reports
its state when an important event is available. The eventable state is
accessible with getData() getter. There are no operations.
The sensor type can be:
Types#LIGHTTypes#GASTypes#SMOKETypes#DOORTypes#WINDOWTypes#POWERTypes#RAINTypes#CONTACTTypes#FIRETypes#OCCUPANCYTypes#WATERTypes#MOTIONTypesBooleanData
| Modifier and Type | Field and Description |
|---|---|
| public static final String | PROPERTY_DATA
Specifies the state property name. |
| Modifier and Type | Method and Description |
|---|---|
| public BooleanData |
| PROPERTY_DATA | back to summary |
|---|---|
| public static final String PROPERTY_DATA Specifies the state property name. The eventable property value is
accessible with | |
| getData | back to summary |
|---|---|
| public BooleanData getData() throws DeviceException Returns the
| |