From 7771f45f9b1724a5ecc632b591e83a667043f83e Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Wed, 13 Jan 2021 10:01:22 +0100 Subject: [PATCH] Improve miottemplate.py print to support python 3.7.3 (Closes: #906) (#910) * Fix __repr__ of AirHumidifierMiotStatus (Closes: #908) * Improve miottemplate.py print to support python 3.7.3 --- devtools/containers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/containers.py b/devtools/containers.py index c214fcd91..13e994003 100644 --- a/devtools/containers.py +++ b/devtools/containers.py @@ -57,7 +57,7 @@ class Property(DataClassJsonMixin): format: str access: List[str] - value_list: Optional[List[Dict]] = field( + value_list: Optional[List[Dict[str, Any]]] = field( default_factory=list, metadata=config(field_name="value-list") ) value_range: Optional[List[int]] = field(