Skip to content

Commit

Permalink
Fix for missing parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
SwoopX authored Jul 25, 2019
1 parent 25eb33e commit d981746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,7 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
else if (sensor->modelId() == QLatin1String("Motion Sensor-A") ||
sensor->modelId() == QLatin1String("SMSZB-120") ||
sensor->modelId() == QLatin1String("WISZB-120") ||
sensor->modelId().startsWith(QLatin1String("ZHMS101"))
sensor->modelId().startsWith(QLatin1String("ZHMS101")))
{
val = sensor->getZclValue(*i, 0x0020); // battery voltage
}
Expand Down

0 comments on commit d981746

Please sign in to comment.