mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Restore sending "None" effect type (#667)
This is a regression from 369d175694.
			
			
This commit is contained in:
		
				
					committed by
					
						 Otto Winter
						Otto Winter
					
				
			
			
				
	
			
			
			
						parent
						
							7210ad7ed9
						
					
				
				
					commit
					a783637a7a
				
			| @@ -318,6 +318,7 @@ bool APIConnection::send_light_info(light::LightState *light) { | ||||
|     msg.max_mireds = traits.get_max_mireds(); | ||||
|   } | ||||
|   if (light->supports_effects()) { | ||||
|     msg.effects.push_back("None"); | ||||
|     for (auto *effect : light->get_effects()) | ||||
|       msg.effects.push_back(effect->get_name()); | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user