diff --git a/custom_components/midea_auto_cloud/device_mapping/T0xAC.py b/custom_components/midea_auto_cloud/device_mapping/T0xAC.py index 1aadcfa..e7e67a0 100644 --- a/custom_components/midea_auto_cloud/device_mapping/T0xAC.py +++ b/custom_components/midea_auto_cloud/device_mapping/T0xAC.py @@ -1128,7 +1128,7 @@ DEVICE_MAPPING = { }, ("22012369", "22040023", "22270043"): { "rationale": ["off", "on"], - "queries": [{}], + "queries": [{}, {"query_type": "prevent_straight_wind"}], "centralized": ["buzzer"], "calculate":{ "get": [ @@ -1192,6 +1192,10 @@ DEVICE_MAPPING = { "device_class": SwitchDeviceClass.SWITCH, "translation_key": "screen_close", }, + "prevent_straight_wind": { + "device_class": SwitchDeviceClass.SWITCH, + "rationale": [1, 2] + }, "dry": { "device_class": SwitchDeviceClass.SWITCH, },