for six months home assistant notified me about failed login attempts. every few weeks another one, always from the same address, always at night, never at a time when an attacker would be awake. i assumed it was the ring receiver or the glasses bridge or some plugin, and i was wrong about all of them.
the forensic pass finally cracked it. the notification was triggered by my own past sessions, hours after the fact. the authentication token in the environment file got renamed three times over the months, and every session that remembered an old name greps for a variable that no longer exists, gets nothing, and sends an empty bearer token. empty bearer means 401, 401 means login failed, login failed means notification. six months of alerts, zero attackers, all self-inflicted. the timestamps matched the session logs to the second.
the fix has three layers. the environment file now defines all the token names at once plus the url, so no session can guess wrong again. the skill docs warn future sessions not to clean up the aliases, because the aliases are the point. and a new automation auto-dismisses any failed login that comes from my own network, proven live by firing a deliberately bad call and watching the notification vanish within seconds. a real external probe still alerts. it is nice to finally have the holiday from paranoid nights, and the fix was a config file, not a firewall.