ReferenceDevice capabilities
tamper
Tamper / case-open detection sensor.
Tamper / case-open detection sensor. Drives Home Assistant binary_sensor entries with device_class: tamper. Push-driven.
At a glance
| Capability | tamper |
| Provided by | The device's own driver provides it: each device registers its own provider. |
| Active providers per device | one |
| Device types | sensor |
| Source | packages/types/src/capabilities/tamper.cap.ts |
Methods
This capability declares no methods.
Runtime state
The state Dominevo keeps for each device with this capability, readable without calling the provider.
| Field | Type | Required | Description |
|---|---|---|---|
tampered | boolean | yes | True when the device's tamper switch / case-open contact is currently triggered. |
lastChangedAt | number | yes | Ms epoch of the last transition. 0 if never observed. |