今天遇到同样的问题,有大佬发帖说了。
https://bbs.hassbian.com/forum.php?mod=viewthread&tid=13487
在configuration.yaml加入以下代码

http:
use_x_forwarded_for: true
trusted_proxies:
– 172.30.33.0/24  # Add the IP address of the proxy server

172.30.33.0/24改成你的IP段,例如 192.168.2.0/24