mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 14:43:51 +00:00 
			
		
		
		
	Ruff format for CI (#8276)
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							31e90e5544
						
					
				
				
					commit
					3020083564
				
			| @@ -137,7 +137,7 @@ def validate_temperature_preset(preset, root_config, name, requirements): | ||||
|  | ||||
|  | ||||
| def generate_comparable_preset(config, name): | ||||
|     comparable_preset = f"{CONF_PRESET}:\n" f"  -  {CONF_NAME}: {name}\n" | ||||
|     comparable_preset = f"{CONF_PRESET}:\n  -  {CONF_NAME}: {name}\n" | ||||
|  | ||||
|     if CONF_DEFAULT_TARGET_TEMPERATURE_LOW in config: | ||||
|         comparable_preset += f"     {CONF_DEFAULT_TARGET_TEMPERATURE_LOW}: {config[CONF_DEFAULT_TARGET_TEMPERATURE_LOW]}\n" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user