mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
ESPHome: Use MAC as unique ID (#83741)
* ESPHome: Use MAC as unique ID * Normalize incoming zeroconf/dhcp macs * Update comment * Test ESPHome without mac in zeroconf * Use format_mac * Remove unique ID index from DomainData
This commit is contained in:
@@ -27,4 +27,4 @@ async def test_diagnostics(
|
||||
CONF_PASSWORD: "**REDACTED**",
|
||||
CONF_NOISE_PSK: "**REDACTED**",
|
||||
}
|
||||
assert result["config"]["unique_id"] == "esphome-device"
|
||||
assert result["config"]["unique_id"] == "11:22:33:44:55:aa"
|
||||
|
||||
Reference in New Issue
Block a user