Просмотр исходного кода

tests (time): allow new hms dp

Jason Rumney 4 месяцев назад
Родитель
Сommit
4b9b21a4d3
1 измененных файлов с 1 добавлено и 1 удалено
  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": [