From 796126f324a012e0d81413ab59f7a6c0baccfeb3 Mon Sep 17 00:00:00 2001 From: ptbsare <496725701@qq.com> Date: Tue, 26 Mar 2024 20:24:02 +0800 Subject: [PATCH] Improve viomi.oven.so1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 提升获取更多设备厂商可获取的属性以供使用。 --- custom_components/xiaomi_miot/core/miio2miot_specs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/xiaomi_miot/core/miio2miot_specs.py b/custom_components/xiaomi_miot/core/miio2miot_specs.py index fff952e20..b88546297 100644 --- a/custom_components/xiaomi_miot/core/miio2miot_specs.py +++ b/custom_components/xiaomi_miot/core/miio2miot_specs.py @@ -1330,7 +1330,8 @@ def cbk(prop, params, props, **kwargs): 'viomi.oven.so1': { # methods: # ['get_prop', 'setDish', 'deleteDish', 'getDishs', 'setStartDish', 'setStartMode', 'setPrepareDish', 'setPrepareMode', 'setPause', 'canclePrepare', 'setEnd', 'setBootUp', 'setTurnOff']; - 'entity_attrs': ['hwInfo', 'swInfo', 'error', 'dishId', 'dishName', 'status', 'mode', 'workTime', 'temp', 'leftTime', 'tempSetZ', 'timeSetZ', 'tempSetK', 'timeSetK', 'waterTank', 'prepareTime', 'doorIsOpen'], + 'miio_props': ['hwInfo', 'swInfo', 'error', 'dishId', 'dishName', 'tempSetZ', 'timeSetZ', 'tempSetK', 'timeSetK', 'waterTank', 'prepareTime', 'doorIsOpen'], + 'entity_attrs': ['hwInfo', 'swInfo', 'error', 'dishId', 'dishName', 'tempSetZ', 'timeSetZ', 'tempSetK', 'timeSetK', 'waterTank', 'prepareTime', 'doorIsOpen'], 'chunk_properties': 1, 'miio_specs': { 'prop.2.1': {'prop': 'status', 'dict': {