mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[core] Improve entity duplicate validation error messages (#10184)
This commit is contained in:
		| @@ -0,0 +1,20 @@ | ||||
| esphome: | ||||
|   name: test-device | ||||
|  | ||||
| esp32: | ||||
|   board: esp32dev | ||||
|  | ||||
| # Uptime sensor | ||||
| sensor: | ||||
|   - platform: uptime | ||||
|     name: "Battery" | ||||
|     id: uptime_battery | ||||
|  | ||||
| # Template sensor also named "Battery" - this should conflict | ||||
|   - platform: template | ||||
|     name: "Battery" | ||||
|     id: template_battery | ||||
|     lambda: |- | ||||
|       return 95.0; | ||||
|     unit_of_measurement: "%" | ||||
|     update_interval: 60s | ||||
		Reference in New Issue
	
	Block a user