Skip to content

Commit 7ab9730

Browse files
committed
BOSCH AIR sensor don't match for manufacturer name on report
In some cases the name could be "Bosch", the filter is strict enough here.
1 parent eb09170 commit 7ab9730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

air_quality.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void DeRestPluginPrivate::handleAirQualityClusterIndication(const deCONZ::ApsDat
7676
case 0x4004:
7777
{
7878
// Bosch air quality sensor
79-
if (ind.clusterId() == BOSCH_AIR_QUALITY_CLUSTER_ID && sensor->manufacturer() == QLatin1String("BOSCH") && sensor->modelId() == QLatin1String("AIR"))
79+
if (ind.clusterId() == BOSCH_AIR_QUALITY_CLUSTER_ID && sensor->modelId() == QLatin1String("AIR"))
8080
{
8181
levelPpb = attr.numericValue().u16;
8282
}

0 commit comments

Comments
 (0)