It would be very useful if each contact entity in Home Assistant exposed a contact_url attribute. This URL can be generated using the MeshCore CLI command:
meshcore export_contact <PUBLIC_KEY>
Use case:
Easier sharing of repeater/companion details across automations and platforms (Discord, Wiki, etc.).
Proposed implementation:
When creating or updating contact entities, call the CLI meshcore export_contact and store the returned URL in the entity attributes.
Attribute name suggestion: contact_url.