mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Add additional coverage for yaml_util (#10674)
This commit is contained in:
		| @@ -0,0 +1,3 @@ | ||||
| # This file should be ignored | ||||
| platform: template | ||||
| name: "Hidden Sensor" | ||||
| @@ -0,0 +1 @@ | ||||
| This is not a YAML file and should be ignored | ||||
| @@ -0,0 +1,4 @@ | ||||
| platform: template | ||||
| name: "Sensor 1" | ||||
| lambda: |- | ||||
|   return 42.0; | ||||
| @@ -0,0 +1,4 @@ | ||||
| platform: template | ||||
| name: "Sensor 2" | ||||
| lambda: |- | ||||
|   return 100.0; | ||||
| @@ -0,0 +1,4 @@ | ||||
| platform: template | ||||
| name: "Sensor 3 in subdir" | ||||
| lambda: |- | ||||
|   return 200.0; | ||||
		Reference in New Issue
	
	Block a user