Files
Franck NijhofandClaude 9c5d2ecce6 Handle invalid IP addresses in ip_bans.yaml gracefully
When an invalid IP address entry exists in ip_bans.yaml (e.g., a typo
like "Eo128.199.160.243"), Home Assistant would crash with a ValueError
during startup, making the web UI completely unreachable.

This change catches ValueError exceptions when parsing IP addresses
from the ban file and logs an error message while skipping the invalid
entry. Valid IP bans continue to be loaded and enforced normally.

Fixes #157180

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 09:44:17 +00:00
..