This change makes the leased attribute of unknown devices a dict of dict object.
The schema of each item is:
[ip]:
hostname: [name]
MAC: [MAC address]
Rationale
This allows my blueprint which fires a notification upon an unknown device connecting to function. Unknown is defined by a list of predefined known MAC addresses.
Breaking Change
This is a breaking change because it changes the previous leased format of [name] [ip]. However:
without specifying MAC addresses there it was probably of little utility to have this sensor.
processing as a string is prone to problems e.g. if the name includes a "." character.
Changes
This change makes the leased attribute of unknown devices a dict of dict object.
The schema of each item is:
Rationale
This allows my blueprint which fires a notification upon an unknown device connecting to function. Unknown is defined by a list of predefined known MAC addresses.
Breaking Change
This is a breaking change because it changes the previous leased format of
[name] [ip]
. However: