Door sensor ----------------- +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | Name | Type | Description | +==========================+===============================================================+=====================================================+ | accessDetails | :doc:`Access details ` | access details of current user for that device | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | accessLevel | :doc:`Access level <../enums/access-level>` | current user access level | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | connectedToLockId | number | id of lock that door sensor is paired with | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | created | datetime | when door sensor was added to user account | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | deviceRevision | number | current door sensor revision on the device | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | deviceState | :doc:`Door sensor state ` | current door sensor state | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | id | number | id | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | isConnected | boolean | property not used for door sensor | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | name | string | door sensor name in Tedee system | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | organizationId | integer | id of organization that door sensor is assigned to | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | revision | number | current revision of door sensor configuration | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | serialNumber | string | door sensor serial number | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | softwareVersions | :doc:`Software version ` | software versions of the device | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | targetDeviceRevision | number | revision info that is sent to device from backend | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | timeZone | string | timezone of door sensor | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | type | :doc:`Device type <../enums/device-type>` | device type | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | userIdentity | string | door sensor owner identity | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ | userSettings | :doc:`Door sensor user settings ` | settings of current user for that device | +--------------------------+---------------------------------------------------------------+-----------------------------------------------------+ .. note:: The state of the door is not part of the door sensor model, but of the :doc:`Lock <../../datastructures/lock>` model. The current :doc:`doorState <../enums/door-state>` is returned along with other :doc:`properties ` of the lock paired with the door sensor.