#Devicescanner

1 messages ยท Page 1 of 1 (latest)

graceful terrace
#

As in, if we now add a unique id or change the name, it would create new entities (which we generally don't count as a breaking change)

rare juniper
#

There are a bunch of scannerentity migration PRs open actually

#

@sacred kindle has handled them before (and closed most of them).

#

my guts says it would be similar with the ones currently open

#

๐Ÿ˜„

graceful terrace
sacred kindle
#

We could try use an entity name that will generate the same entity_id as the old entity. The old entity won't be setup anymore and does not exist in the entity registry so there won't be a conflict.

graceful terrace
#

(another bonus, opnsense, seems to use arp for devices, and given that we ourselves disallow get_mac as dependency because of ARP, I'm doubting if we should use the existing methods)

sacred kindle
#

If we can avoid a breaking change it's nice.

graceful terrace
#

Right, so we're kinda saying like, we should try not to break it, but if we can't then that's ok