From 5019acfff41215fe1f2c9948a5f6397834ac66b5 Mon Sep 17 00:00:00 2001 From: loosrob <79396812+loosrob@users.noreply.github.com> Date: Tue, 17 Aug 2021 13:39:30 +0200 Subject: [PATCH] small fixes remove end dot in README.md & add missing space in integrationpluginphilipshue.cpp --- philipshue/README.md | 2 +- philipshue/integrationpluginphilipshue.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/philipshue/README.md b/philipshue/README.md index d8af6c6b..65fe0da9 100644 --- a/philipshue/README.md +++ b/philipshue/README.md @@ -19,7 +19,7 @@ This plugin allows to interact with the Hue bridge. Each light bulb, sensor and * Hue Color Bulb * Hue Smart plug * Any other Bulb that can be connected and controlled by the Hue App -* In-wall dimmers/switches that can be connected and controlled by the Hue App. +* In-wall dimmers/switches that can be connected and controlled by the Hue App ## Requirements diff --git a/philipshue/integrationpluginphilipshue.cpp b/philipshue/integrationpluginphilipshue.cpp index 2d9c3a6a..c8959131 100644 --- a/philipshue/integrationpluginphilipshue.cpp +++ b/philipshue/integrationpluginphilipshue.cpp @@ -674,7 +674,7 @@ void IntegrationPluginPhilipsHue::thingRemoved(Thing *thing) light->deleteLater(); } - if (thing->thingClassId() == remoteThingClassId || thing->thingClassId() == dimmerSwitch2ThingClassId|| thing->thingClassId() == tapThingClassId || thing->thingClassId() == fohThingClassId || thing->thingClassId() == smartButtonThingClassId|| thing->thingClassId() == wallSwitchThingClassId) { + if (thing->thingClassId() == remoteThingClassId || thing->thingClassId() == dimmerSwitch2ThingClassId|| thing->thingClassId() == tapThingClassId || thing->thingClassId() == fohThingClassId || thing->thingClassId() == smartButtonThingClassId || thing->thingClassId() == wallSwitchThingClassId) { HueRemote *remote = m_remotes.key(thing); m_remotes.remove(remote); remote->deleteLater();