1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 07:03:55 +00:00

[core] Improve entity duplicate validation error messages (#10184)

This commit is contained in:
J. Nick Koston
2025-08-11 16:58:51 -05:00
committed by GitHub
parent c14c4fb658
commit 82b7c1224c
6 changed files with 151 additions and 10 deletions

View File

@@ -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