mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Set the wrapped single light in light partition to internal (#3092)
This commit is contained in:
		| @@ -104,7 +104,6 @@ async def to_code(config): | |||||||
|             ) |             ) | ||||||
|             light_state = cg.new_Pvariable(conf[CONF_LIGHT_ID], "", wrapper) |             light_state = cg.new_Pvariable(conf[CONF_LIGHT_ID], "", wrapper) | ||||||
|             await cg.register_component(light_state, conf) |             await cg.register_component(light_state, conf) | ||||||
|             cg.add(cg.App.register_light(light_state)) |  | ||||||
|             segments.append(AddressableSegment(light_state, 0, 1, False)) |             segments.append(AddressableSegment(light_state, 0, 1, False)) | ||||||
|  |  | ||||||
|         else: |         else: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user