small fixes

remove end dot in README.md & add missing space in integrationpluginphilipshue.cpp
master
loosrob 2021-08-17 13:39:30 +02:00
parent 9e79b264dd
commit 5019acfff4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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();