Skip to content

Commit

Permalink
Remove typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bastshoes committed Oct 22, 2019
1 parent 73fbe74 commit 6e5334a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions de_web_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5740,7 +5740,7 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event)
{
for (;ia != enda; ++ia)
{
if (ia -> id() == 0x0000) // temperature (0.01 °C)
if (ia->id() == 0x0000) // temperature (0.01 °C)
{
if (updateType != NodeValue::UpdateInvalid)
{
Expand Down Expand Up @@ -5769,7 +5769,7 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event)
updateSensorEtag(&*i);
}

else if (i->modelId().startsWith(QLatin1String("VOC_Sensor")) && ia->id() == 0x0001) // LifeCOntrol MCLH-08 relative humidity
else if (i->modelId().startsWith(QLatin1String("VOC_Sensor")) && ia->id() == 0x0001) // LifeControl MCLH-08 relative humidity
{
// humidity sensor values are transferred via temperature cluster 0x0001 attribute
// see: https://github.com/dresden-elektronik/deconz-rest-plugin/pull/1964
Expand Down

0 comments on commit 6e5334a

Please sign in to comment.