small fixes
remove end dot in README.md & add missing space in integrationpluginphilipshue.cpp
This commit is contained in:
parent
9e79b264dd
commit
5019acfff4
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user