Icon problem on dashboard

good evening sorry my stupid but someone definitely can help me, I logged in to my ha from the iphone of a friend of mine to show it, but since then I find the badge with his name in the dash, someone can tell me how to remove it thanks

Make sure you have uninstalled the app on his phone then look for the known_hosts file in your HASS configuration directory. If you open it up in an editor you should find an entry for your friends phone - remove that entry and restart homeassistant and you should be good.

i open this file but i don’t find this device… i see only my but i have this situations where iphone mauro is the intruder …

There’s a hidden .ios.conf in the configuration directory.

you are the best