mirror of
https://github.com/esphome/esphome.git
synced 2026-09-03 19:46:02 +00:00
[config_validation] Fix multicast typo in error message (#17206)
This commit is contained in:
@@ -1455,9 +1455,7 @@ def ipv6address(value):
|
||||
def ipv4address_multi_broadcast(value):
|
||||
address = ipv4address(value)
|
||||
if not (address.is_multicast or (address == IPv4Address("255.255.255.255"))):
|
||||
raise Invalid(
|
||||
f"{value} is not a multicasst address nor local broadcast address"
|
||||
)
|
||||
raise Invalid(f"{value} is not a multicast address nor local broadcast address")
|
||||
return address
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user