Skip to content

Commit 9642ff6

Browse files
authored
Remove duplicate call of format_mac() (home-assistant#162469)
1 parent 5a18624 commit 9642ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homeassistant/components/esphome/config_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ async def async_step_dhcp(
443443
) -> ConfigFlowResult:
444444
"""Handle DHCP discovery."""
445445
mac_address = format_mac(discovery_info.macaddress)
446-
await self.async_set_unique_id(format_mac(mac_address))
446+
await self.async_set_unique_id(mac_address)
447447
await self._async_validate_mac_abort_configured(
448448
mac_address, discovery_info.ip, None
449449
)

0 commit comments

Comments
 (0)