Remove couts.

Former-commit-id: fdc93ea33644313277bd4b01c14e4a63396c077f
This commit is contained in:
ntim 2014-07-16 20:46:59 +02:00
parent dbd7a86665
commit dc2e173f04
1 changed files with 0 additions and 2 deletions

View File

@ -178,12 +178,10 @@ int LedDevicePhilipsHue::write(const std::vector<ColorRgb> & ledValues) {
// From black to a color.
if (lamp.color == lamp.black && xy != lamp.black) {
put(getStateRoute(lamp.id), QString("{\"on\": true}"));
std::cout << "switchon" << std::endl;
}
// From a color to black.
else if (lamp.color != lamp.black && xy == lamp.black) {
put(getStateRoute(lamp.id), QString("{\"on\": false}"));
std::cout << "switchoff" << std::endl;
}
}
// Remember last color.