mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	Remove couts.
Former-commit-id: fdc93ea33644313277bd4b01c14e4a63396c077f
This commit is contained in:
		@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user