From ab43168ad59c8fde078298d01d91b1e72fb4acdb Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Tue, 15 Nov 2022 18:08:50 +0100 Subject: [PATCH] Fix type hint --- miio/descriptors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miio/descriptors.py b/miio/descriptors.py index ab6b39292..5b5e8ee40 100644 --- a/miio/descriptors.py +++ b/miio/descriptors.py @@ -38,7 +38,7 @@ class SensorDescriptor: """ id: str - type: str + type: type name: str property: str unit: Optional[str] = None