Browse Source

tests (time): allow new hms dp

Jason Rumney 5 months ago
parent
commit
4b9b21a4d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/test_device_config.py

+ 1 - 1
tests/test_device_config.py

@@ -264,7 +264,7 @@ KNOWN_DPS = {
     },
     "switch": {"required": ["switch"], "optional": ["current_power_w"]},
     "text": {"required": ["value"], "optional": []},
-    "time": {"required": [{"or": ["hour", "minute", "second"]}], "optional": []},
+    "time": {"required": [{"or": ["hour", "minute", "second", "hms"]}], "optional": []},
     "vacuum": {
         "required": ["status"],
         "optional": [