From 086e8888420409f1a2f9293a659e8a5e041c70ee Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Sun, 24 Mar 2024 04:03:15 -0400 Subject: [PATCH] Remove unnecessary test code (#106) --- tests/zwave_js/conftest.py | 176 - .../fixtures/controller_node_state.json | 104 - tests/zwave_js/fixtures/controller_state.json | 31 - .../fixtures/lock_august_asl03_state.json | 424 --- .../fixtures/lock_id_lock_as_id150_state.json | 2920 ----------------- .../fixtures/lock_schlage_be469_state.json | 2108 ------------ tests/zwave_js/test_provider.py | 10 +- 7 files changed, 1 insertion(+), 5772 deletions(-) delete mode 100644 tests/zwave_js/conftest.py delete mode 100644 tests/zwave_js/fixtures/controller_node_state.json delete mode 100644 tests/zwave_js/fixtures/controller_state.json delete mode 100644 tests/zwave_js/fixtures/lock_august_asl03_state.json delete mode 100644 tests/zwave_js/fixtures/lock_id_lock_as_id150_state.json delete mode 100644 tests/zwave_js/fixtures/lock_schlage_be469_state.json diff --git a/tests/zwave_js/conftest.py b/tests/zwave_js/conftest.py deleted file mode 100644 index dac6ec5..0000000 --- a/tests/zwave_js/conftest.py +++ /dev/null @@ -1,176 +0,0 @@ -"""Fixtures for lock_code_manager tests.""" - -import asyncio -import copy -import json -from unittest.mock import DEFAULT, AsyncMock, patch - -import pytest -from pytest_homeassistant_custom_component.common import MockConfigEntry, load_fixture -from zwave_js_server.model.driver import Driver -from zwave_js_server.model.node import Node -from zwave_js_server.version import VersionInfo - -from homeassistant.core import HomeAssistant - -# Z-Wave JS fixtures - - -@pytest.fixture(name="controller_state", scope="session") -def controller_state_fixture(): - """Load the controller state fixture data.""" - return json.loads(load_fixture("controller_state.json")) - - -@pytest.fixture(name="controller_node_state", scope="session") -def controller_node_state_fixture(): - """Load the controller node state fixture data.""" - return json.loads(load_fixture("controller_node_state.json")) - - -@pytest.fixture(name="version_state", scope="session") -def version_state_fixture(): - """Load the version state fixture data.""" - return { - "type": "version", - "driverVersion": "6.0.0-beta.0", - "serverVersion": "1.0.0", - "homeId": 1234567890, - } - - -@pytest.fixture(name="log_config_state") -def log_config_state_fixture(): - """Return log config state fixture data.""" - return { - "enabled": True, - "level": "info", - "logToFile": False, - "filename": "", - "forceConsole": False, - } - - -@pytest.fixture(name="lock_schlage_be469_state", scope="session") -def lock_schlage_be469_state_fixture(): - """Load the schlage lock node state fixture data.""" - return json.loads(load_fixture("lock_schlage_be469_state.json")) - - -@pytest.fixture(name="lock_august_asl03_state", scope="session") -def lock_august_asl03_state_fixture(): - """Load the August Pro lock node state fixture data.""" - return json.loads(load_fixture("lock_august_asl03_state.json")) - - -@pytest.fixture(name="lock_id_lock_as_id150_state", scope="session") -def lock_id_lock_as_id150_state_fixture(): - """Load the id lock id-150 lock node state fixture data.""" - return json.loads(load_fixture("/lock_id_lock_as_id150_state.json")) - - -# model fixtures - - -@pytest.fixture(name="listen_block") -def mock_listen_block_fixture(): - """Mock a listen block.""" - return asyncio.Event() - - -@pytest.fixture(name="client") -def mock_client_fixture( - controller_state, - controller_node_state, - version_state, - log_config_state, - listen_block, -): - """Mock a client.""" - with patch( - "homeassistant.components.zwave_js.ZwaveClient", autospec=True - ) as client_class: - client = client_class.return_value - - async def connect(): - await asyncio.sleep(0) - client.connected = True - - async def listen(driver_ready: asyncio.Event) -> None: - driver_ready.set() - await listen_block.wait() - - async def disconnect(): - client.connected = False - - client.connect = AsyncMock(side_effect=connect) - client.listen = AsyncMock(side_effect=listen) - client.disconnect = AsyncMock(side_effect=disconnect) - client.driver = Driver( - client, copy.deepcopy(controller_state), copy.deepcopy(log_config_state) - ) - node = Node(client, copy.deepcopy(controller_node_state)) - client.driver.controller.nodes[node.node_id] = node - - client.version = VersionInfo.from_message(version_state) - client.ws_server_url = "ws://test:3000/zjs" - - async def async_send_command_side_effect(message, require_schema=None): - """Return the command response.""" - if message["command"] == "node.has_device_config_changed": - return {"changed": False} - return DEFAULT - - client.async_send_command.return_value = { - "result": {"success": True, "status": 255} - } - client.async_send_command.side_effect = async_send_command_side_effect - - yield client - - -@pytest.fixture(name="lock_schlage_be469") -def lock_schlage_be469_fixture(client, lock_schlage_be469_state): - """Mock a schlage lock node.""" - node = Node(client, copy.deepcopy(lock_schlage_be469_state)) - client.driver.controller.nodes[node.node_id] = node - return node - - -@pytest.fixture(name="lock_august_pro") -def lock_august_asl03_fixture(client, lock_august_asl03_state): - """Mock a August Pro lock node.""" - node = Node(client, copy.deepcopy(lock_august_asl03_state)) - client.driver.controller.nodes[node.node_id] = node - return node - - -@pytest.fixture(name="lock_id_lock_as_id150") -def lock_id_lock_as_id150(client, lock_id_lock_as_id150_state): - """Mock an id lock id-150 lock node.""" - node = Node(client, copy.deepcopy(lock_id_lock_as_id150_state)) - client.driver.controller.nodes[node.node_id] = node - return node - - -@pytest.fixture(name="integration") -async def integration_fixture(hass: HomeAssistant, client): - """Set up the zwave_js integration.""" - entry = MockConfigEntry(domain="zwave_js", data={"url": "ws://test.org"}) - entry.add_to_hass(hass) - await hass.config_entries.async_setup(entry.entry_id) - await hass.async_block_till_done() - - client.async_send_command.reset_mock() - - return entry - - -@pytest.fixture(name="lock_id_lock_as_id150_not_ready") -def node_not_ready(client, lock_id_lock_as_id150_state): - """Mock an id lock id-150 lock node that's not ready.""" - state = copy.deepcopy(lock_id_lock_as_id150_state) - state["ready"] = False - node = Node(client, state) - client.driver.controller.nodes[node.node_id] = node - return node diff --git a/tests/zwave_js/fixtures/controller_node_state.json b/tests/zwave_js/fixtures/controller_node_state.json deleted file mode 100644 index 1f3c719..0000000 --- a/tests/zwave_js/fixtures/controller_node_state.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "nodeId": 1, - "index": 0, - "status": 4, - "ready": true, - "isListening": true, - "isRouting": false, - "isSecure": "unknown", - "manufacturerId": 134, - "productId": 90, - "productType": 1, - "firmwareVersion": "1.2", - "deviceConfig": { - "filename": "/data/db/devices/0x0086/zw090.json", - "isEmbedded": true, - "manufacturer": "AEON Labs", - "manufacturerId": 134, - "label": "ZW090", - "description": "Z\u2010Stick Gen5 USB Controller", - "devices": [ - { - "productType": 1, - "productId": 90 - }, - { - "productType": 257, - "productId": 90 - }, - { - "productType": 513, - "productId": 90 - } - ], - "firmwareVersion": { - "min": "0.0", - "max": "255.255" - }, - "associations": {}, - "paramInformation": { - "_map": {} - }, - "metadata": { - "reset": "Use this procedure only in the event that the primary controller is missing or otherwise inoperable.\n\nPress and hold the Action Button on Z-Stick for 20 seconds and then release", - "manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=MarketCertificationFiles/1345/Z%20Stick%20Gen5%20manual%201.pdf" - } - }, - "label": "ZW090", - "interviewAttempts": 0, - "endpoints": [ - { - "nodeId": 1, - "index": 0, - "deviceClass": { - "basic": { - "key": 2, - "label": "Static Controller" - }, - "generic": { - "key": 2, - "label": "Static Controller" - }, - "specific": { - "key": 1, - "label": "PC Controller" - }, - "mandatorySupportedCCs": [], - "mandatoryControlledCCs": [32] - }, - "commandClasses": [] - } - ], - "values": [], - "isFrequentListening": false, - "maxDataRate": 40000, - "supportedDataRates": [40000], - "protocolVersion": 3, - "deviceClass": { - "basic": { - "key": 2, - "label": "Static Controller" - }, - "generic": { - "key": 2, - "label": "Static Controller" - }, - "specific": { - "key": 1, - "label": "PC Controller" - }, - "mandatorySupportedCCs": [], - "mandatoryControlledCCs": [32] - }, - "interviewStage": "Complete", - "deviceDatabaseUrl": "https://devices.zwave-js.io/?jumpTo=0x0086:0x0001:0x005a:1.2", - "statistics": { - "commandsTX": 0, - "commandsRX": 0, - "commandsDroppedRX": 0, - "commandsDroppedTX": 0, - "timeoutResponse": 0 - }, - "isControllerNode": true, - "keepAwake": false -} diff --git a/tests/zwave_js/fixtures/controller_state.json b/tests/zwave_js/fixtures/controller_state.json deleted file mode 100644 index d6d9dca..0000000 --- a/tests/zwave_js/fixtures/controller_state.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "controller": { - "libraryVersion": "Z-Wave 3.95", - "type": 1, - "homeId": 3245146787, - "ownNodeId": 1, - "isSecondary": false, - "isUsingHomeIdFromOtherNetwork": false, - "isSISPresent": true, - "wasRealPrimary": true, - "isStaticUpdateController": true, - "isSlave": false, - "serialApiVersion": "1.0", - "manufacturerId": 134, - "productType": 257, - "productId": 90, - "supportedFunctionTypes": [ - 2, 3, 4, 5, 6, 7, 8, 9, 16, 17, 18, 19, 20, 21, 22, 23, 24, 28, 32, 33, - 34, 35, 36, 39, 41, 42, 43, 44, 45, 65, 66, 68, 69, 70, 71, 72, 73, 74, - 75, 76, 77, 80, 81, 83, 84, 85, 86, 87, 94, 96, 97, 98, 99, 102, 103, 128, - 144, 146, 147, 152, 180, 182, 183, 184, 185, 186, 189, 190, 191, 210, 211, - 212, 238, 239 - ], - "sucNodeId": 1, - "supportsTimers": false, - "isHealNetworkActive": false, - "inclusionState": 0, - "status": 0 - }, - "nodes": [] -} diff --git a/tests/zwave_js/fixtures/lock_august_asl03_state.json b/tests/zwave_js/fixtures/lock_august_asl03_state.json deleted file mode 100644 index 07c4a44..0000000 --- a/tests/zwave_js/fixtures/lock_august_asl03_state.json +++ /dev/null @@ -1,424 +0,0 @@ -{ - "nodeId": 6, - "index": 0, - "installerIcon": 768, - "userIcon": 768, - "status": 4, - "ready": true, - "deviceClass": { - "basic": { "key": 4, "label": "Routing Slave" }, - "generic": { "key": 64, "label": "Entry Control" }, - "specific": { "key": 3, "label": "Secure Keypad Door Lock" }, - "mandatorySupportedCCs": [], - "mandatoryControlledCCs": [] - }, - "isListening": false, - "isFrequentListening": true, - "isRouting": true, - "maxBaudRate": 40000, - "isSecure": true, - "version": 4, - "isBeaming": true, - "manufacturerId": 831, - "productId": 1, - "productType": 1, - "firmwareVersion": "1.59", - "zwavePlusVersion": 1, - "nodeType": 0, - "roleType": 7, - "deviceConfig": { - "manufacturerId": 831, - "manufacturer": "August Smart Locks", - "label": "ASL-03", - "description": "August Smart Lock Pro 3rd Gen", - "devices": [ - { - "productType": "0x0000", - "productId": "0x0594" - }, - { - "productType": "0x0000", - "productId": "0xdf29" - }, - { - "productType": "0x0001", - "productId": "0x0001" - } - ], - "firmwareVersion": { - "min": "0.0", - "max": "255.255" - } - }, - "label": "ASL-03", - "neighbors": [1, 7, 8, 9], - "interviewAttempts": 1, - "endpoints": [ - { - "nodeId": 6, - "index": 0, - "installerIcon": 768, - "userIcon": 768, - "commandClasses": [] - } - ], - "values": [ - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "currentMode", - "propertyName": "currentMode", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 255, - "label": "Current lock mode", - "states": { - "0": "Unsecured", - "1": "UnsecuredWithTimeout", - "16": "InsideUnsecured", - "17": "InsideUnsecuredWithTimeout", - "32": "OutsideUnsecured", - "33": "OutsideUnsecuredWithTimeout", - "254": "Unknown", - "255": "Secured" - } - }, - "value": 255 - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "targetMode", - "propertyName": "targetMode", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "min": 0, - "max": 255, - "label": "Target lock mode", - "states": { - "0": "Unsecured", - "1": "UnsecuredWithTimeout", - "16": "InsideUnsecured", - "17": "InsideUnsecuredWithTimeout", - "32": "OutsideUnsecured", - "33": "OutsideUnsecuredWithTimeout", - "254": "Unknown", - "255": "Secured" - } - } - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "outsideHandlesCanOpenDoor", - "propertyName": "outsideHandlesCanOpenDoor", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Which outside handles can open the door (actual status)" - }, - "value": [false, false, false, false] - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "insideHandlesCanOpenDoor", - "propertyName": "insideHandlesCanOpenDoor", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Which inside handles can open the door (actual status)" - }, - "value": [true, false, false, false] - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "latchStatus", - "propertyName": "latchStatus", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "The current status of the latch" - }, - "value": "open" - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "boltStatus", - "propertyName": "boltStatus", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "The current status of the bolt" - }, - "value": "locked" - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "doorStatus", - "propertyName": "doorStatus", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "The current status of the door" - }, - "value": "closed" - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "lockTimeout", - "propertyName": "lockTimeout", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "label": "Seconds until lock mode times out" - } - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "operationType", - "propertyName": "operationType", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "min": 0, - "max": 255, - "label": "Lock operation type", - "states": { - "1": "Constant", - "2": "Timed" - } - }, - "value": 1 - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "outsideHandlesCanOpenDoorConfiguration", - "propertyName": "outsideHandlesCanOpenDoorConfiguration", - "metadata": { - "type": "any", - "readable": true, - "writeable": true, - "label": "Which outside handles can open the door (configuration)" - }, - "value": [false, false, false, false] - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "insideHandlesCanOpenDoorConfiguration", - "propertyName": "insideHandlesCanOpenDoorConfiguration", - "metadata": { - "type": "any", - "readable": true, - "writeable": true, - "label": "Which inside handles can open the door (configuration)" - }, - "value": [true, false, false, false] - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "lockTimeoutConfiguration", - "propertyName": "lockTimeoutConfiguration", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "min": 0, - "max": 65535, - "label": "Duration of timed mode in seconds" - } - }, - { - "commandClassName": "Notification", - "commandClass": 113, - "endpoint": 0, - "property": "Access Control", - "propertyKey": "Lock state", - "propertyName": "Access Control", - "propertyKeyName": "Lock state", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 255, - "label": "Lock state", - "states": { - "0": "idle", - "11": "Lock jammed" - }, - "ccSpecific": { - "notificationType": 6 - } - }, - "value": 0 - }, - { - "commandClassName": "Manufacturer Specific", - "commandClass": 114, - "endpoint": 0, - "property": "manufacturerId", - "propertyName": "manufacturerId", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 65535, - "label": "Manufacturer ID" - }, - "value": 831 - }, - { - "commandClassName": "Manufacturer Specific", - "commandClass": 114, - "endpoint": 0, - "property": "productType", - "propertyName": "productType", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 65535, - "label": "Product type" - }, - "value": 1 - }, - { - "commandClassName": "Manufacturer Specific", - "commandClass": 114, - "endpoint": 0, - "property": "productId", - "propertyName": "productId", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 65535, - "label": "Product ID" - }, - "value": 1 - }, - { - "commandClassName": "Battery", - "commandClass": 128, - "endpoint": 0, - "property": "level", - "propertyName": "level", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 100, - "unit": "%", - "label": "Battery level" - }, - "value": 100 - }, - { - "commandClassName": "Battery", - "commandClass": 128, - "endpoint": 0, - "property": "isLow", - "propertyName": "isLow", - "metadata": { - "type": "boolean", - "readable": true, - "writeable": false, - "label": "Low battery level" - }, - "value": false - }, - { - "commandClassName": "Version", - "commandClass": 134, - "endpoint": 0, - "property": "libraryType", - "propertyName": "libraryType", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Library type" - }, - "value": 3 - }, - { - "commandClassName": "Version", - "commandClass": 134, - "endpoint": 0, - "property": "protocolVersion", - "propertyName": "protocolVersion", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Z-Wave protocol version" - }, - "value": "4.61" - }, - { - "commandClassName": "Version", - "commandClass": 134, - "endpoint": 0, - "property": "firmwareVersions", - "propertyName": "firmwareVersions", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Z-Wave chip firmware versions" - }, - "value": ["1.59"] - }, - { - "commandClassName": "Version", - "commandClass": 134, - "endpoint": 0, - "property": "hardwareVersion", - "propertyName": "hardwareVersion", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Z-Wave chip hardware version" - } - } - ], - "isControllerNode": false -} diff --git a/tests/zwave_js/fixtures/lock_id_lock_as_id150_state.json b/tests/zwave_js/fixtures/lock_id_lock_as_id150_state.json deleted file mode 100644 index 3e3e9a7..0000000 --- a/tests/zwave_js/fixtures/lock_id_lock_as_id150_state.json +++ /dev/null @@ -1,2920 +0,0 @@ -{ - "nodeId": 60, - "index": 0, - "installerIcon": 768, - "userIcon": 768, - "status": 4, - "ready": true, - "isListening": false, - "isFrequentListening": true, - "isRouting": true, - "maxBaudRate": 40000, - "isSecure": true, - "version": 4, - "isBeaming": true, - "manufacturerId": 883, - "productId": 1, - "productType": 3, - "firmwareVersion": "1.6", - "zwavePlusVersion": 1, - "nodeType": 0, - "roleType": 7, - "deviceConfig": { - "filename": "/usr/src/node_modules/@zwave-js/config/config/devices/0x0373/id-150_1.6.json", - "manufacturerId": 883, - "manufacturer": "ID Lock AS", - "label": "ID-150", - "description": "Z wave module for ID Lock 150 and 101", - "devices": [ - { - "productType": "0x0003", - "productId": "0x0001" - } - ], - "firmwareVersion": { - "min": "1.6", - "max": "255.255" - }, - "paramInformation": { - "_map": {} - } - }, - "label": "ID-150", - "neighbors": [1, 10, 22, 30, 33, 34, 41, 43, 53, 55, 70, 71, 84, 93], - "interviewAttempts": 1, - "interviewStage": 7, - "endpoints": [ - { - "nodeId": 60, - "index": 0, - "installerIcon": 768, - "userIcon": 768, - "commandClasses": [ - { - "id": 89, - "name": "Association Group Information", - "version": 1, - "isSecure": true - }, - { - "id": 90, - "name": "Device Reset Locally", - "version": 1, - "isSecure": false - }, - { - "id": 94, - "name": "Z-Wave Plus Info", - "version": 2, - "isSecure": false - }, - { - "id": 98, - "name": "Door Lock", - "version": 2, - "isSecure": true - }, - { - "id": 99, - "name": "User Code", - "version": 1, - "isSecure": true - }, - { - "id": 112, - "name": "Configuration", - "version": 1, - "isSecure": false - }, - { - "id": 113, - "name": "Notification", - "version": 4, - "isSecure": true - }, - { - "id": 114, - "name": "Manufacturer Specific", - "version": 2, - "isSecure": false - }, - { - "id": 122, - "name": "Firmware Update Meta Data", - "version": 2, - "isSecure": true - }, - { - "id": 128, - "name": "Battery", - "version": 1, - "isSecure": true - }, - { - "id": 133, - "name": "Association", - "version": 2, - "isSecure": true - }, - { - "id": 134, - "name": "Version", - "version": 2, - "isSecure": true - }, - { - "id": 152, - "name": "Security", - "version": 1, - "isSecure": true - } - ] - } - ], - "values": [ - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "currentMode", - "propertyName": "currentMode", - "ccVersion": 2, - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "label": "Current lock mode", - "min": 0, - "max": 255, - "states": { - "0": "Unsecured", - "1": "UnsecuredWithTimeout", - "16": "InsideUnsecured", - "17": "InsideUnsecuredWithTimeout", - "32": "OutsideUnsecured", - "33": "OutsideUnsecuredWithTimeout", - "254": "Unknown", - "255": "Secured" - } - }, - "value": 255 - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "targetMode", - "propertyName": "targetMode", - "ccVersion": 2, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "Target lock mode", - "min": 0, - "max": 255, - "states": { - "0": "Unsecured", - "1": "UnsecuredWithTimeout", - "16": "InsideUnsecured", - "17": "InsideUnsecuredWithTimeout", - "32": "OutsideUnsecured", - "33": "OutsideUnsecuredWithTimeout", - "254": "Unknown", - "255": "Secured" - } - }, - "value": 255 - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "outsideHandlesCanOpenDoor", - "propertyName": "outsideHandlesCanOpenDoor", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Which outside handles can open the door (actual status)" - }, - "value": [false, false, false, false] - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "insideHandlesCanOpenDoor", - "propertyName": "insideHandlesCanOpenDoor", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Which inside handles can open the door (actual status)" - }, - "value": [false, false, false, false] - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "latchStatus", - "propertyName": "latchStatus", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "The current status of the latch" - }, - "value": "open" - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "boltStatus", - "propertyName": "boltStatus", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "The current status of the bolt" - }, - "value": "locked" - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "doorStatus", - "propertyName": "doorStatus", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "The current status of the door" - }, - "value": "closed" - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "lockTimeout", - "propertyName": "lockTimeout", - "ccVersion": 2, - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "label": "Seconds until lock mode times out" - } - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "operationType", - "propertyName": "operationType", - "ccVersion": 2, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "Lock operation type", - "min": 0, - "max": 255, - "states": { - "1": "Constant", - "2": "Timed" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "outsideHandlesCanOpenDoorConfiguration", - "propertyName": "outsideHandlesCanOpenDoorConfiguration", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": true, - "label": "Which outside handles can open the door (configuration)" - }, - "value": [true, true, true, true] - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "insideHandlesCanOpenDoorConfiguration", - "propertyName": "insideHandlesCanOpenDoorConfiguration", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": true, - "label": "Which inside handles can open the door (configuration)" - }, - "value": [true, true, true, true] - }, - { - "endpoint": 0, - "commandClass": 98, - "commandClassName": "Door Lock", - "property": "lockTimeoutConfiguration", - "propertyName": "lockTimeoutConfiguration", - "ccVersion": 2, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "Duration of timed mode in seconds", - "min": 0, - "max": 65535 - } - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 1, - "propertyName": "userIdStatus", - "propertyKeyName": "1", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (1)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 1, - "propertyName": "userCode", - "propertyKeyName": "1", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (1)", - "minLength": 4, - "maxLength": 10 - }, - "value": "5555" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 2, - "propertyName": "userIdStatus", - "propertyKeyName": "2", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (2)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 2, - "propertyName": "userCode", - "propertyKeyName": "2", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (2)", - "minLength": 4, - "maxLength": 10 - }, - "value": "5555" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 3, - "propertyName": "userIdStatus", - "propertyKeyName": "3", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (3)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 3, - "propertyName": "userCode", - "propertyKeyName": "3", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (3)", - "minLength": 4, - "maxLength": 10 - }, - "value": "5555" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 4, - "propertyName": "userIdStatus", - "propertyKeyName": "4", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (4)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 4, - "propertyName": "userCode", - "propertyKeyName": "4", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (4)", - "minLength": 4, - "maxLength": 10 - }, - "value": "5555" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 5, - "propertyName": "userIdStatus", - "propertyKeyName": "5", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (5)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 5, - "propertyName": "userCode", - "propertyKeyName": "5", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (5)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 6, - "propertyName": "userIdStatus", - "propertyKeyName": "6", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (6)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 6, - "propertyName": "userCode", - "propertyKeyName": "6", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (6)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 7, - "propertyName": "userIdStatus", - "propertyKeyName": "7", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (7)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 7, - "propertyName": "userCode", - "propertyKeyName": "7", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (7)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 8, - "propertyName": "userIdStatus", - "propertyKeyName": "8", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (8)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 8, - "propertyName": "userCode", - "propertyKeyName": "8", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (8)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 9, - "propertyName": "userIdStatus", - "propertyKeyName": "9", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (9)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 9, - "propertyName": "userCode", - "propertyKeyName": "9", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (9)", - "minLength": 4, - "maxLength": 10 - }, - "value": "5555" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 10, - "propertyName": "userIdStatus", - "propertyKeyName": "10", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (10)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 10, - "propertyName": "userCode", - "propertyKeyName": "10", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (10)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 11, - "propertyName": "userIdStatus", - "propertyKeyName": "11", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (11)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 11, - "propertyName": "userCode", - "propertyKeyName": "11", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (11)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 12, - "propertyName": "userIdStatus", - "propertyKeyName": "12", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (12)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 12, - "propertyName": "userCode", - "propertyKeyName": "12", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (12)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 13, - "propertyName": "userIdStatus", - "propertyKeyName": "13", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (13)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 13, - "propertyName": "userCode", - "propertyKeyName": "13", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (13)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 14, - "propertyName": "userIdStatus", - "propertyKeyName": "14", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (14)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 14, - "propertyName": "userCode", - "propertyKeyName": "14", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (14)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 15, - "propertyName": "userIdStatus", - "propertyKeyName": "15", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (15)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 15, - "propertyName": "userCode", - "propertyKeyName": "15", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (15)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 16, - "propertyName": "userIdStatus", - "propertyKeyName": "16", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (16)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 16, - "propertyName": "userCode", - "propertyKeyName": "16", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (16)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 17, - "propertyName": "userIdStatus", - "propertyKeyName": "17", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (17)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 17, - "propertyName": "userCode", - "propertyKeyName": "17", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (17)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 18, - "propertyName": "userIdStatus", - "propertyKeyName": "18", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (18)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 18, - "propertyName": "userCode", - "propertyKeyName": "18", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (18)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 19, - "propertyName": "userIdStatus", - "propertyKeyName": "19", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (19)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 19, - "propertyName": "userCode", - "propertyKeyName": "19", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (19)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 20, - "propertyName": "userIdStatus", - "propertyKeyName": "20", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (20)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 20, - "propertyName": "userCode", - "propertyKeyName": "20", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (20)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 21, - "propertyName": "userIdStatus", - "propertyKeyName": "21", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (21)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 21, - "propertyName": "userCode", - "propertyKeyName": "21", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (21)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 22, - "propertyName": "userIdStatus", - "propertyKeyName": "22", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (22)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 22, - "propertyName": "userCode", - "propertyKeyName": "22", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (22)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 23, - "propertyName": "userIdStatus", - "propertyKeyName": "23", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (23)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 23, - "propertyName": "userCode", - "propertyKeyName": "23", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (23)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 24, - "propertyName": "userIdStatus", - "propertyKeyName": "24", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (24)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 24, - "propertyName": "userCode", - "propertyKeyName": "24", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (24)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 25, - "propertyName": "userIdStatus", - "propertyKeyName": "25", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (25)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 25, - "propertyName": "userCode", - "propertyKeyName": "25", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (25)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 26, - "propertyName": "userIdStatus", - "propertyKeyName": "26", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (26)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 26, - "propertyName": "userCode", - "propertyKeyName": "26", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (26)", - "minLength": 4, - "maxLength": 10 - }, - "value": { - "type": "Buffer", - "data": [0, 52, 50, 54, 53, 50, 50, 50, 51, 56] - } - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 27, - "propertyName": "userIdStatus", - "propertyKeyName": "27", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (27)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 27, - "propertyName": "userCode", - "propertyKeyName": "27", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (27)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 28, - "propertyName": "userIdStatus", - "propertyKeyName": "28", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (28)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 28, - "propertyName": "userCode", - "propertyKeyName": "28", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (28)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 29, - "propertyName": "userIdStatus", - "propertyKeyName": "29", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (29)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 29, - "propertyName": "userCode", - "propertyKeyName": "29", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (29)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 30, - "propertyName": "userIdStatus", - "propertyKeyName": "30", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (30)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 30, - "propertyName": "userCode", - "propertyKeyName": "30", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (30)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 31, - "propertyName": "userIdStatus", - "propertyKeyName": "31", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (31)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 31, - "propertyName": "userCode", - "propertyKeyName": "31", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (31)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 32, - "propertyName": "userIdStatus", - "propertyKeyName": "32", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (32)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 32, - "propertyName": "userCode", - "propertyKeyName": "32", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (32)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 33, - "propertyName": "userIdStatus", - "propertyKeyName": "33", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (33)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 33, - "propertyName": "userCode", - "propertyKeyName": "33", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (33)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 34, - "propertyName": "userIdStatus", - "propertyKeyName": "34", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (34)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 34, - "propertyName": "userCode", - "propertyKeyName": "34", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (34)", - "minLength": 4, - "maxLength": 10 - }, - "value": { - "type": "Buffer", - "data": [0, 52, 53, 0, 49, 49, 50, 50, 51, 56] - } - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 35, - "propertyName": "userIdStatus", - "propertyKeyName": "35", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (35)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 35, - "propertyName": "userCode", - "propertyKeyName": "35", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (35)", - "minLength": 4, - "maxLength": 10 - }, - "value": { - "type": "Buffer", - "data": [0, 52, 52, 69, 56, 56, 50, 50, 51, 56] - } - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 36, - "propertyName": "userIdStatus", - "propertyKeyName": "36", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (36)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 36, - "propertyName": "userCode", - "propertyKeyName": "36", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (36)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 37, - "propertyName": "userIdStatus", - "propertyKeyName": "37", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (37)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 37, - "propertyName": "userCode", - "propertyKeyName": "37", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (37)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 38, - "propertyName": "userIdStatus", - "propertyKeyName": "38", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (38)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 38, - "propertyName": "userCode", - "propertyKeyName": "38", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (38)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 39, - "propertyName": "userIdStatus", - "propertyKeyName": "39", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (39)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 39, - "propertyName": "userCode", - "propertyKeyName": "39", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (39)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 40, - "propertyName": "userIdStatus", - "propertyKeyName": "40", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (40)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 40, - "propertyName": "userCode", - "propertyKeyName": "40", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (40)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 42, - "propertyName": "userIdStatus", - "propertyKeyName": "42", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (42)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 42, - "propertyName": "userCode", - "propertyKeyName": "42", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (42)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 44, - "propertyName": "userIdStatus", - "propertyKeyName": "44", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (44)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 44, - "propertyName": "userCode", - "propertyKeyName": "44", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (44)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 46, - "propertyName": "userIdStatus", - "propertyKeyName": "46", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (46)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 46, - "propertyName": "userCode", - "propertyKeyName": "46", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (46)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 48, - "propertyName": "userIdStatus", - "propertyKeyName": "48", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (48)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 48, - "propertyName": "userCode", - "propertyKeyName": "48", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (48)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 50, - "propertyName": "userIdStatus", - "propertyKeyName": "50", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (50)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 50, - "propertyName": "userCode", - "propertyKeyName": "50", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (50)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 41, - "propertyName": "userIdStatus", - "propertyKeyName": "41", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (41)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 41, - "propertyName": "userCode", - "propertyKeyName": "41", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (41)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 43, - "propertyName": "userIdStatus", - "propertyKeyName": "43", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (43)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 43, - "propertyName": "userCode", - "propertyKeyName": "43", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (43)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 45, - "propertyName": "userIdStatus", - "propertyKeyName": "45", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (45)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 45, - "propertyName": "userCode", - "propertyKeyName": "45", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (45)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 47, - "propertyName": "userIdStatus", - "propertyKeyName": "47", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (47)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 47, - "propertyName": "userCode", - "propertyKeyName": "47", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (47)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 49, - "propertyName": "userIdStatus", - "propertyKeyName": "49", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (49)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 49, - "propertyName": "userCode", - "propertyKeyName": "49", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (49)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 108, - "propertyName": "userIdStatus", - "propertyKeyName": "108", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (108)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 108, - "propertyName": "userCode", - "propertyKeyName": "108", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (108)", - "minLength": 4, - "maxLength": 10 - }, - "value": "" - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userIdStatus", - "propertyKey": 109, - "propertyName": "userIdStatus", - "propertyKeyName": "109", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (109)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 99, - "commandClassName": "User Code", - "property": "userCode", - "propertyKey": 109, - "propertyName": "userCode", - "propertyKeyName": "109", - "ccVersion": 1, - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "label": "User Code (109)", - "minLength": 4, - "maxLength": 10 - }, - "value": "51816472" - }, - { - "endpoint": 0, - "commandClass": 112, - "commandClassName": "Configuration", - "property": 1, - "propertyName": "Door lock mode", - "ccVersion": 1, - "metadata": { - "type": "number", - "default": 1, - "readable": true, - "writeable": true, - "description": "Set if the lock is in away mode and if automatic locking should be enabled", - "label": "Door lock mode", - "min": 0, - "max": 3, - "states": { - "0": "Disable Away Manual Lock", - "1": "Disable Away Auto Lock", - "2": "Enable Away Manual Lock", - "3": "Enable Away Auto Lock" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 112, - "commandClassName": "Configuration", - "property": 2, - "propertyName": "RFID Mode", - "ccVersion": 1, - "metadata": { - "type": "number", - "default": 5, - "readable": true, - "writeable": true, - "label": "RFID Mode", - "min": 5, - "max": 9, - "states": { - "5": "RFID activated", - "9": "RFID deactivated" - } - }, - "value": 5 - }, - { - "endpoint": 0, - "commandClass": 112, - "commandClassName": "Configuration", - "property": 3, - "propertyName": "Door Hinge Position Mode", - "ccVersion": 1, - "metadata": { - "type": "number", - "default": 0, - "readable": true, - "writeable": true, - "description": "Tell the lock which side your hinges are on seen from the outside", - "label": "Door Hinge Position Mode", - "min": 0, - "max": 1, - "states": { - "0": "Right hinged operation", - "1": "Left hinged operation" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 112, - "commandClassName": "Configuration", - "property": 4, - "propertyName": "Door Audio Volume Level", - "ccVersion": 1, - "metadata": { - "type": "number", - "default": 5, - "readable": true, - "writeable": true, - "description": "Set the Audio Volume Level of the Lock", - "label": "Door Audio Volume Level", - "min": 0, - "max": 6, - "states": { - "0": "No sound", - "1": "Level 1", - "2": "Level 2", - "3": "Level 3", - "4": "Level 4", - "5": "Level 5", - "6": "Max. sound level" - } - }, - "value": 5 - }, - { - "endpoint": 0, - "commandClass": 112, - "commandClassName": "Configuration", - "property": 5, - "propertyName": "Door ReLock Mode", - "ccVersion": 1, - "metadata": { - "type": "number", - "default": 1, - "readable": true, - "writeable": true, - "description": "Sets if the door should relock or not", - "label": "Door ReLock Mode", - "min": 0, - "max": 1, - "states": { - "0": "Disabled", - "1": "Enabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 112, - "commandClassName": "Configuration", - "property": 6, - "propertyName": "Service PIN Mode", - "ccVersion": 1, - "metadata": { - "type": "number", - "default": 0, - "readable": true, - "writeable": true, - "description": "Sets the validity of the service PIN", - "label": "Service PIN Mode", - "min": 0, - "max": 254, - "states": { - "0": "Deactivated", - "1": "Valid 1 time", - "2": "Valid 2 times", - "3": "Valid 5 times", - "4": "Valid 10 times", - "5": "Generate Random PIN 1x use", - "6": "Generate Random PIN 24h use", - "7": "Always Valid", - "8": "Valid for 12h", - "9": "Valid for 24h", - "254": "Disabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 112, - "commandClassName": "Configuration", - "property": 7, - "propertyName": "Door Lock Model Type", - "ccVersion": 1, - "metadata": { - "type": "number", - "default": 0, - "readable": true, - "writeable": false, - "description": "Sends information if the model of the lock is 101 or 150", - "label": "Door Lock Model Type", - "min": 0, - "max": 0, - "states": {} - }, - "value": -106 - }, - { - "endpoint": 0, - "commandClass": 112, - "commandClassName": "Configuration", - "property": 8, - "propertyName": "Updater Mode", - "ccVersion": 1, - "metadata": { - "type": "number", - "default": 0, - "readable": true, - "writeable": true, - "description": "Enables use of the Updater app", - "label": "Updater Mode", - "min": 0, - "max": 3, - "states": { - "0": "Disabled (no sound)", - "1": "Enabled (no sound)", - "2": "Disabled", - "3": "Enabled" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 112, - "commandClassName": "Configuration", - "property": 9, - "propertyName": "Master PIN Unlock Mode", - "ccVersion": 1, - "metadata": { - "type": "number", - "default": 1, - "readable": true, - "writeable": true, - "description": "Configures if the Master PIN can unlock", - "label": "Master PIN Unlock Mode", - "min": 0, - "max": 1, - "states": { - "0": "Disabled", - "1": "Enabled" - } - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 113, - "commandClassName": "Notification", - "property": "Access Control", - "propertyKey": "Lock state", - "propertyName": "Access Control", - "propertyKeyName": "Lock state", - "ccVersion": 4, - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "label": "Lock state", - "ccSpecific": { - "notificationType": 6 - }, - "min": 0, - "max": 255, - "states": { - "0": "idle", - "11": "Lock jammed" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 113, - "commandClassName": "Notification", - "property": "Home Security", - "propertyKey": "Cover status", - "propertyName": "Home Security", - "propertyKeyName": "Cover status", - "ccVersion": 4, - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "label": "Cover status", - "ccSpecific": { - "notificationType": 7 - }, - "min": 0, - "max": 255, - "states": { - "0": "idle", - "3": "Tampering, product cover removed" - } - }, - "value": 0 - }, - { - "endpoint": 0, - "commandClass": 114, - "commandClassName": "Manufacturer Specific", - "property": "manufacturerId", - "propertyName": "manufacturerId", - "ccVersion": 2, - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "label": "Manufacturer ID", - "min": 0, - "max": 65535 - }, - "value": 883 - }, - { - "endpoint": 0, - "commandClass": 114, - "commandClassName": "Manufacturer Specific", - "property": "productType", - "propertyName": "productType", - "ccVersion": 2, - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "label": "Product type", - "min": 0, - "max": 65535 - }, - "value": 3 - }, - { - "endpoint": 0, - "commandClass": 114, - "commandClassName": "Manufacturer Specific", - "property": "productId", - "propertyName": "productId", - "ccVersion": 2, - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "label": "Product ID", - "min": 0, - "max": 65535 - }, - "value": 1 - }, - { - "endpoint": 0, - "commandClass": 128, - "commandClassName": "Battery", - "property": "level", - "propertyName": "level", - "ccVersion": 1, - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "label": "Battery level", - "min": 0, - "max": 100, - "unit": "%" - }, - "value": 70 - }, - { - "endpoint": 0, - "commandClass": 128, - "commandClassName": "Battery", - "property": "isLow", - "propertyName": "isLow", - "ccVersion": 1, - "metadata": { - "type": "boolean", - "readable": true, - "writeable": false, - "label": "Low battery level" - }, - "value": false - }, - { - "endpoint": 0, - "commandClass": 134, - "commandClassName": "Version", - "property": "libraryType", - "propertyName": "libraryType", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Library type" - }, - "value": 3 - }, - { - "endpoint": 0, - "commandClass": 134, - "commandClassName": "Version", - "property": "protocolVersion", - "propertyName": "protocolVersion", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Z-Wave protocol version" - }, - "value": "4.5" - }, - { - "endpoint": 0, - "commandClass": 134, - "commandClassName": "Version", - "property": "firmwareVersions", - "propertyName": "firmwareVersions", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Z-Wave chip firmware versions" - }, - "value": ["1.6"] - }, - { - "endpoint": 0, - "commandClass": 134, - "commandClassName": "Version", - "property": "hardwareVersion", - "propertyName": "hardwareVersion", - "ccVersion": 2, - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Z-Wave chip hardware version" - } - } - ], - "deviceClass": { - "basic": { - "key": 4, - "label": "Routing Slave" - }, - "generic": { - "key": 64, - "label": "Entry Control" - }, - "specific": { - "key": 3, - "label": "Secure Keypad Door Lock" - }, - "mandatorySupportedCCs": [32, 98, 99, 114, 152, 134], - "mandatoryControlledCCs": [] - }, - "isControllerNode": false -} diff --git a/tests/zwave_js/fixtures/lock_schlage_be469_state.json b/tests/zwave_js/fixtures/lock_schlage_be469_state.json deleted file mode 100644 index 88915cf..0000000 --- a/tests/zwave_js/fixtures/lock_schlage_be469_state.json +++ /dev/null @@ -1,2108 +0,0 @@ -{ - "nodeId": 20, - "index": 0, - "status": 4, - "ready": true, - "deviceClass": { - "basic": { "key": 2, "label": "Static Controller" }, - "generic": { "key": 64, "label": "Entry Control" }, - "specific": { "key": 3, "label": "Secure Keypad Door Lock" }, - "mandatorySupportedCCs": [], - "mandatoryControlledCCs": [] - }, - "isListening": false, - "isFrequentListening": true, - "isRouting": true, - "maxBaudRate": 40000, - "isSecure": true, - "version": 4, - "isBeaming": true, - "manufacturerId": 59, - "productId": 20548, - "productType": 25409, - "firmwareVersion": "113.22", - "deviceConfig": { - "manufacturerId": 59, - "manufacturer": "Allegion", - "label": "BE469", - "description": "Touchscreen Deadbolt", - "devices": [ - { - "productType": "0x6341", - "productId": "0x5044" - } - ], - "firmwareVersion": { - "min": "0.0", - "max": "255.255" - }, - "associations": {}, - "paramInformation": { - "_map": {} - } - }, - "label": "BE469", - "neighbors": [1, 2, 3, 4, 13], - "interviewAttempts": 1, - "endpoints": [ - { - "nodeId": 20, - "index": 0, - "commandClasses": [ - { - "id": 98, - "name": "Door Lock", - "version": 1, - "isSecure": true - }, - { - "id": 99, - "name": "User Code", - "version": 1, - "isSecure": true - }, - { - "id": 112, - "name": "Configuration", - "version": 1, - "isSecure": true - }, - { - "id": 113, - "name": "Notification", - "version": 1, - "isSecure": true - }, - { - "id": 114, - "name": "Manufacturer Specific", - "version": 1, - "isSecure": false - }, - { - "id": 122, - "name": "Firmware Update Meta Data", - "version": 1, - "isSecure": false - }, - { - "id": 128, - "name": "Battery", - "version": 1, - "isSecure": true - }, - { - "id": 133, - "name": "Association", - "version": 1, - "isSecure": true - }, - { - "id": 134, - "name": "Version", - "version": 1, - "isSecure": false - }, - { - "id": 152, - "name": "Security", - "version": 1, - "isSecure": true - } - ] - } - ], - "values": [ - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "currentMode", - "propertyName": "currentMode", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 255, - "label": "Current lock mode", - "states": { - "0": "Unsecured", - "1": "UnsecuredWithTimeout", - "16": "InsideUnsecured", - "17": "InsideUnsecuredWithTimeout", - "32": "OutsideUnsecured", - "33": "OutsideUnsecuredWithTimeout", - "254": "Unknown", - "255": "Secured" - } - }, - "value": 0 - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "targetMode", - "propertyName": "targetMode", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "min": 0, - "max": 255, - "label": "Target lock mode", - "states": { - "0": "Unsecured", - "1": "UnsecuredWithTimeout", - "16": "InsideUnsecured", - "17": "InsideUnsecuredWithTimeout", - "32": "OutsideUnsecured", - "33": "OutsideUnsecuredWithTimeout", - "254": "Unknown", - "255": "Secured" - } - } - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "outsideHandlesCanOpenDoor", - "propertyName": "outsideHandlesCanOpenDoor", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Which outside handles can open the door (actual status)" - }, - "value": [false, false, false, false] - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "insideHandlesCanOpenDoor", - "propertyName": "insideHandlesCanOpenDoor", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Which inside handles can open the door (actual status)" - }, - "value": [false, false, false, false] - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "latchStatus", - "propertyName": "latchStatus", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "The current status of the latch" - }, - "value": "open" - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "boltStatus", - "propertyName": "boltStatus", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "The current status of the bolt" - }, - "value": "unlocked" - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "doorStatus", - "propertyName": "doorStatus", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "The current status of the door" - }, - "value": "open" - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "lockTimeout", - "propertyName": "lockTimeout", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "label": "Seconds until lock mode times out" - } - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "operationType", - "propertyName": "operationType", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "min": 0, - "max": 255, - "label": "Lock operation type", - "states": { - "1": "Constant", - "2": "Timed" - } - }, - "value": 1 - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "outsideHandlesCanOpenDoorConfiguration", - "propertyName": "outsideHandlesCanOpenDoorConfiguration", - "metadata": { - "type": "any", - "readable": true, - "writeable": true, - "label": "Which outside handles can open the door (configuration)" - }, - "value": [false, false, false, false] - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "insideHandlesCanOpenDoorConfiguration", - "propertyName": "insideHandlesCanOpenDoorConfiguration", - "metadata": { - "type": "any", - "readable": true, - "writeable": true, - "label": "Which inside handles can open the door (configuration)" - }, - "value": [false, false, false, false] - }, - { - "commandClassName": "Door Lock", - "commandClass": 98, - "endpoint": 0, - "property": "lockTimeoutConfiguration", - "propertyName": "lockTimeoutConfiguration", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "min": 0, - "max": 65535, - "label": "Duration of timed mode in seconds" - } - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 1, - "propertyName": "userIdStatus", - "propertyKeyName": "1", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (1)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 1, - "propertyName": "userCode", - "propertyKeyName": "1", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (1)" - }, - "value": "**********" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 2, - "propertyName": "userIdStatus", - "propertyKeyName": "2", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (2)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 2, - "propertyName": "userCode", - "propertyKeyName": "2", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (2)" - }, - "value": "**********" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 3, - "propertyName": "userIdStatus", - "propertyKeyName": "3", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (3)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 1 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 3, - "propertyName": "userCode", - "propertyKeyName": "3", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (3)" - }, - "value": "**********" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 4, - "propertyName": "userIdStatus", - "propertyKeyName": "4", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (4)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 4, - "propertyName": "userCode", - "propertyKeyName": "4", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (4)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 5, - "propertyName": "userIdStatus", - "propertyKeyName": "5", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (5)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 5, - "propertyName": "userCode", - "propertyKeyName": "5", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (5)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 6, - "propertyName": "userIdStatus", - "propertyKeyName": "6", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (6)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 6, - "propertyName": "userCode", - "propertyKeyName": "6", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (6)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 7, - "propertyName": "userIdStatus", - "propertyKeyName": "7", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (7)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 7, - "propertyName": "userCode", - "propertyKeyName": "7", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (7)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 8, - "propertyName": "userIdStatus", - "propertyKeyName": "8", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (8)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 8, - "propertyName": "userCode", - "propertyKeyName": "8", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (8)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 9, - "propertyName": "userIdStatus", - "propertyKeyName": "9", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (9)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 9, - "propertyName": "userCode", - "propertyKeyName": "9", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (9)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 10, - "propertyName": "userIdStatus", - "propertyKeyName": "10", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (10)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 10, - "propertyName": "userCode", - "propertyKeyName": "10", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (10)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 11, - "propertyName": "userIdStatus", - "propertyKeyName": "11", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (11)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 11, - "propertyName": "userCode", - "propertyKeyName": "11", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (11)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 12, - "propertyName": "userIdStatus", - "propertyKeyName": "12", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (12)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 12, - "propertyName": "userCode", - "propertyKeyName": "12", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (12)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 13, - "propertyName": "userIdStatus", - "propertyKeyName": "13", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (13)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 13, - "propertyName": "userCode", - "propertyKeyName": "13", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (13)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 14, - "propertyName": "userIdStatus", - "propertyKeyName": "14", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (14)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 14, - "propertyName": "userCode", - "propertyKeyName": "14", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (14)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 15, - "propertyName": "userIdStatus", - "propertyKeyName": "15", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (15)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 15, - "propertyName": "userCode", - "propertyKeyName": "15", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (15)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 16, - "propertyName": "userIdStatus", - "propertyKeyName": "16", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (16)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 16, - "propertyName": "userCode", - "propertyKeyName": "16", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (16)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 17, - "propertyName": "userIdStatus", - "propertyKeyName": "17", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (17)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 17, - "propertyName": "userCode", - "propertyKeyName": "17", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (17)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 18, - "propertyName": "userIdStatus", - "propertyKeyName": "18", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (18)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 18, - "propertyName": "userCode", - "propertyKeyName": "18", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (18)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 19, - "propertyName": "userIdStatus", - "propertyKeyName": "19", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (19)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 19, - "propertyName": "userCode", - "propertyKeyName": "19", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (19)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 20, - "propertyName": "userIdStatus", - "propertyKeyName": "20", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (20)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 20, - "propertyName": "userCode", - "propertyKeyName": "20", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (20)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 21, - "propertyName": "userIdStatus", - "propertyKeyName": "21", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (21)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 21, - "propertyName": "userCode", - "propertyKeyName": "21", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (21)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 22, - "propertyName": "userIdStatus", - "propertyKeyName": "22", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (22)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 22, - "propertyName": "userCode", - "propertyKeyName": "22", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (22)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 23, - "propertyName": "userIdStatus", - "propertyKeyName": "23", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (23)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 23, - "propertyName": "userCode", - "propertyKeyName": "23", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (23)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 24, - "propertyName": "userIdStatus", - "propertyKeyName": "24", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (24)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 24, - "propertyName": "userCode", - "propertyKeyName": "24", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (24)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 25, - "propertyName": "userIdStatus", - "propertyKeyName": "25", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (25)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 25, - "propertyName": "userCode", - "propertyKeyName": "25", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (25)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 26, - "propertyName": "userIdStatus", - "propertyKeyName": "26", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (26)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 26, - "propertyName": "userCode", - "propertyKeyName": "26", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (26)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 27, - "propertyName": "userIdStatus", - "propertyKeyName": "27", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (27)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 27, - "propertyName": "userCode", - "propertyKeyName": "27", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (27)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 28, - "propertyName": "userIdStatus", - "propertyKeyName": "28", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (28)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 28, - "propertyName": "userCode", - "propertyKeyName": "28", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (28)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 29, - "propertyName": "userIdStatus", - "propertyKeyName": "29", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (29)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 29, - "propertyName": "userCode", - "propertyKeyName": "29", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (29)" - }, - "value": "" - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userIdStatus", - "propertyKey": 30, - "propertyName": "userIdStatus", - "propertyKeyName": "30", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "label": "User ID status (30)", - "states": { - "0": "Available", - "1": "Enabled", - "2": "Disabled" - } - }, - "value": 0 - }, - { - "commandClassName": "User Code", - "commandClass": 99, - "endpoint": 0, - "property": "userCode", - "propertyKey": 30, - "propertyName": "userCode", - "propertyKeyName": "30", - "metadata": { - "type": "string", - "readable": true, - "writeable": true, - "minLength": 4, - "maxLength": 10, - "label": "User Code (30)" - }, - "value": "" - }, - { - "commandClassName": "Manufacturer Specific", - "commandClass": 114, - "endpoint": 0, - "property": "manufacturerId", - "propertyName": "manufacturerId", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 65535, - "label": "Manufacturer ID" - }, - "value": 59 - }, - { - "commandClassName": "Manufacturer Specific", - "commandClass": 114, - "endpoint": 0, - "property": "productType", - "propertyName": "productType", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 65535, - "label": "Product type" - }, - "value": 25409 - }, - { - "commandClassName": "Manufacturer Specific", - "commandClass": 114, - "endpoint": 0, - "property": "productId", - "propertyName": "productId", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 65535, - "label": "Product ID" - }, - "value": 20548 - }, - { - "commandClassName": "Version", - "commandClass": 134, - "endpoint": 0, - "property": "libraryType", - "propertyName": "libraryType", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Library type" - }, - "value": 6 - }, - { - "commandClassName": "Version", - "commandClass": 134, - "endpoint": 0, - "property": "protocolVersion", - "propertyName": "protocolVersion", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Z-Wave protocol version" - }, - "value": "3.42" - }, - { - "commandClassName": "Version", - "commandClass": 134, - "endpoint": 0, - "property": "firmwareVersions", - "propertyName": "firmwareVersions", - "metadata": { - "type": "any", - "readable": true, - "writeable": false, - "label": "Z-Wave chip firmware versions" - }, - "value": ["113.22"] - }, - { - "commandClassName": "Battery", - "commandClass": 128, - "endpoint": 0, - "property": "level", - "propertyName": "level", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 100, - "unit": "%", - "label": "Battery level" - }, - "value": 100 - }, - { - "commandClassName": "Battery", - "commandClass": 128, - "endpoint": 0, - "property": "isLow", - "propertyName": "isLow", - "metadata": { - "type": "boolean", - "readable": true, - "writeable": false, - "label": "Low battery level" - }, - "value": false - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 3, - "propertyName": "Beeper", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "valueSize": 1, - "min": 0, - "max": 255, - "default": 255, - "format": 1, - "allowManualEntry": false, - "states": { - "0": "Disable Beeper", - "255": "Enable Beeper" - }, - "label": "Beeper", - "isFromConfig": true - }, - "value": 255 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 4, - "propertyName": "Vacation Mode", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "valueSize": 1, - "min": 0, - "max": 255, - "default": 0, - "format": 1, - "allowManualEntry": false, - "states": { - "0": "Disable Vacation Mode", - "255": "Enable Vacation Mode" - }, - "label": "Vacation Mode", - "isFromConfig": true - }, - "value": 0 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 5, - "propertyName": "Lock & Leave", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "valueSize": 1, - "min": 0, - "max": 255, - "default": 0, - "format": 1, - "allowManualEntry": false, - "states": { - "0": "Disable Lock & Leave", - "255": "Enable Lock & Leave" - }, - "label": "Lock & Leave", - "isFromConfig": true - }, - "value": 255 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 6, - "propertyName": "User Slot Status", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "valueSize": 4, - "min": 0, - "max": 255, - "default": 0, - "format": 0, - "allowManualEntry": true, - "label": "User Slot Status", - "description": "User slot status", - "isFromConfig": true - }, - "value": 117440512 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 7, - "propertyName": "Lock Specific Alarm Mode", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "valueSize": 1, - "min": 0, - "max": 3, - "default": 0, - "format": 0, - "allowManualEntry": false, - "states": { - "0": "Alarm Off", - "1": "Alert", - "2": "Tamper", - "3": "Forced Entry" - }, - "label": "Lock Specific Alarm Mode", - "description": "BE469 Only", - "isFromConfig": true - }, - "value": 0 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 8, - "propertyName": "Lock Specific Alarm Alert Sensitivity", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "valueSize": 1, - "min": 0, - "max": 5, - "default": 0, - "format": 0, - "allowManualEntry": false, - "states": { - "0": "Not Supported", - "1": "Most Sensitive", - "2": "More Sensitive", - "3": "Medium Sensitivity", - "4": "Less Sensitive", - "5": "Least Sensitive" - }, - "label": "Lock Specific Alarm Alert Sensitivity", - "isFromConfig": true - }, - "value": 3 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 9, - "propertyName": "Lock Specific Alarm Tamper Sensitivity", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "valueSize": 1, - "min": 0, - "max": 5, - "default": 0, - "format": 0, - "allowManualEntry": false, - "states": { - "0": "Not Supported", - "1": "Most Sensitive", - "2": "More Sensitive", - "3": "Medium Sensitivity", - "4": "Less Sensitive", - "5": "Least Sensitive" - }, - "label": "Lock Specific Alarm Tamper Sensitivity", - "isFromConfig": true - }, - "value": 3 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 10, - "propertyName": "Lock Specific Alarm Kick Sensitivity", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "valueSize": 1, - "min": 0, - "max": 5, - "default": 0, - "format": 0, - "allowManualEntry": false, - "states": { - "0": "Not Supported", - "1": "Most Sensitive", - "2": "More Sensitive", - "3": "Medium Sensitivity", - "4": "Less Sensitive", - "5": "Least Sensitive" - }, - "label": "Lock Specific Alarm Kick Sensitivity", - "description": "BE469 Only", - "isFromConfig": true - }, - "value": 3 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 11, - "propertyName": "Lock Specific Alarm Disable—Local Controls", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "valueSize": 1, - "min": 0, - "max": 255, - "default": 0, - "format": 1, - "allowManualEntry": false, - "states": { - "0": "Disable Local Control", - "255": "Enable Local Control" - }, - "label": "Lock Specific Alarm Disable—Local Controls", - "isFromConfig": true - }, - "value": 255 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 12, - "propertyName": "Electronic Transition Count", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "valueSize": 4, - "min": 0, - "max": 2147483647, - "default": 0, - "format": 0, - "allowManualEntry": true, - "label": "Electronic Transition Count", - "isFromConfig": true - }, - "value": 2260 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 13, - "propertyName": "Mechanical Transition Count", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "valueSize": 4, - "min": 0, - "max": 2147483647, - "default": 0, - "format": 0, - "allowManualEntry": true, - "label": "Mechanical Transition Count", - "isFromConfig": true - }, - "value": 2166 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 14, - "propertyName": "Electronic Failed Count", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "valueSize": 4, - "min": 0, - "max": 2147483647, - "default": 0, - "format": 0, - "allowManualEntry": true, - "label": "Electronic Failed Count", - "isFromConfig": true - }, - "value": 0 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 15, - "propertyName": "Auto Lock", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "valueSize": 1, - "min": 0, - "max": 255, - "default": 0, - "format": 1, - "allowManualEntry": false, - "states": { - "0": "Disable Auto Lock", - "255": "Enable Auto Lock" - }, - "label": "Auto Lock", - "isFromConfig": true - }, - "value": 0 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 16, - "propertyName": "User Code PIN Length", - "metadata": { - "type": "number", - "readable": true, - "writeable": true, - "valueSize": 1, - "min": 4, - "max": 8, - "default": 4, - "format": 0, - "allowManualEntry": false, - "states": { - "4": "Four Digits", - "5": "Five Digits", - "6": "Six Digits", - "7": "Seven Digits", - "8": "Eight Digits" - }, - "label": "User Code PIN Length", - "description": "User Code PIN length, a value between 4 and 8 (default 4)", - "isFromConfig": true - }, - "value": 4 - }, - { - "commandClassName": "Configuration", - "commandClass": 112, - "endpoint": 0, - "property": 18, - "propertyName": "Get Bootloader Version", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "valueSize": 1, - "min": 0, - "max": 255, - "default": 0, - "format": 1, - "allowManualEntry": true, - "label": "Get Bootloader Version", - "isFromConfig": true - }, - "value": 1 - }, - { - "commandClassName": "Notification", - "commandClass": 113, - "endpoint": 0, - "property": "Access Control", - "propertyKey": "Lock state", - "propertyName": "Access Control", - "propertyKeyName": "Lock state", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 255, - "label": "Lock state", - "states": { - "0": "idle", - "11": "Lock jammed" - }, - "ccSpecific": { - "notificationType": 6 - } - }, - "value": 0 - }, - { - "commandClassName": "Notification", - "commandClass": 113, - "endpoint": 0, - "property": "Access Control", - "propertyKey": "Keypad state", - "propertyName": "Access Control", - "propertyKeyName": "Keypad state", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 255, - "label": "Keypad state", - "states": { - "0": "idle", - "16": "Keypad temporary disabled" - }, - "ccSpecific": { - "notificationType": 6 - } - }, - "value": 0 - }, - { - "commandClassName": "Notification", - "commandClass": 113, - "endpoint": 0, - "property": "Home Security", - "propertyKey": "Sensor status", - "propertyName": "Home Security", - "propertyKeyName": "Sensor status", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 255, - "label": "Sensor status", - "states": { - "0": "idle", - "2": "Intrusion" - }, - "ccSpecific": { - "notificationType": 7 - } - }, - "value": 0 - }, - { - "commandClassName": "Notification", - "commandClass": 113, - "endpoint": 0, - "property": "Power Management", - "propertyKey": "Battery maintenance status", - "propertyName": "Power Management", - "propertyKeyName": "Battery maintenance status", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 255, - "label": "Battery maintenance status", - "states": { - "0": "idle", - "10": "Replace battery soon", - "11": "Replace battery now" - }, - "ccSpecific": { - "notificationType": 8 - } - }, - "value": 0 - }, - { - "commandClassName": "Notification", - "commandClass": 113, - "endpoint": 0, - "property": "System", - "propertyKey": "Hardware status", - "propertyName": "System", - "propertyKeyName": "Hardware status", - "metadata": { - "type": "number", - "readable": true, - "writeable": false, - "min": 0, - "max": 255, - "label": "Hardware status", - "states": { - "0": "idle", - "1": "System hardware failure" - }, - "ccSpecific": { - "notificationType": 9 - } - }, - "value": 0 - } - ], - "isControllerNode": false -} diff --git a/tests/zwave_js/test_provider.py b/tests/zwave_js/test_provider.py index d357fb5..238eb21 100644 --- a/tests/zwave_js/test_provider.py +++ b/tests/zwave_js/test_provider.py @@ -1,18 +1,10 @@ """Test the Z-Wave JS lock platform.""" -import pytest - from homeassistant.core import HomeAssistant SCHLAGE_BE469_LOCK_ENTITY = "lock.touchscreen_deadbolt" -async def test_door_lock( - hass: HomeAssistant, - client, - lock_schlage_be469, - integration, - caplog: pytest.LogCaptureFixture, -) -> None: +async def test_door_lock(hass: HomeAssistant) -> None: """Test a lock entity with door lock command class.""" pass