From de29ec7d75525c5fd9115b95da383696d2ba2c6d Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Wed, 1 Dec 2021 16:41:55 +0100 Subject: [PATCH] aurqualitymonitor: add supported models --- miio/airqualitymonitor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miio/airqualitymonitor.py b/miio/airqualitymonitor.py index 5d97db0a4..1fcf95971 100644 --- a/miio/airqualitymonitor.py +++ b/miio/airqualitymonitor.py @@ -151,6 +151,8 @@ def tvoc(self) -> Optional[int]: class AirQualityMonitor(Device): """Xiaomi PM2.5 Air Quality Monitor.""" + _supported_models = list(AVAILABLE_PROPERTIES.keys()) + @command( default_output=format_output( "",