small fixes

remove end dot in README.md & add missing space in integrationpluginphilipshue.cpp
This commit is contained in:
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 Color Bulb
* Hue Smart plug * Hue Smart plug
* Any other Bulb that can be connected and controlled by the Hue App * 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 ## Requirements

View File

@ -674,7 +674,7 @@ void IntegrationPluginPhilipsHue::thingRemoved(Thing *thing)
light->deleteLater(); 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); HueRemote *remote = m_remotes.key(thing);
m_remotes.remove(remote); m_remotes.remove(remote);
remote->deleteLater(); remote->deleteLater();