Răsfoiți Sursa

Lock: update general config tests to cover lock_state

Jason Rumney 9 luni în urmă
părinte
comite
2139fdc923
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      tests/test_device_config.py

+ 1 - 0
tests/test_device_config.py

@@ -231,6 +231,7 @@ KNOWN_DPS = {
         "required": [],
         "required": [],
         "optional": [
         "optional": [
             "lock",
             "lock",
+            "lock_state",
             {"and": ["request_unlock", "approve_unlock"]},
             {"and": ["request_unlock", "approve_unlock"]},
             {"and": ["request_intercom", "approve_intercom"]},
             {"and": ["request_intercom", "approve_intercom"]},
             "unlock_fingerprint",
             "unlock_fingerprint",