We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b53457f commit 0776cdeCopy full SHA for 0776cde
drivers/SmartThings/matter-switch/src/common-utils.lua
@@ -268,7 +268,8 @@ end
268
269
function common_utils.supports_modular_profile(device)
270
return version.api >= 14 and version.rpc >= 8 and
271
- not (device.manufacturer_info.vendor_id == common_utils.AQARA_MANUFACTURER_ID and
+ not (device.manufacturer_info and
272
+ device.manufacturer_info.vendor_id == common_utils.AQARA_MANUFACTURER_ID and
273
device.manufacturer_info.product_id == common_utils.AQARA_CLIMATE_SENSOR_W100_ID)
274
end
275
0 commit comments