small fixes
remove end dot in README.md & add missing space in integrationpluginphilipshue.cppmaster
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 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
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue