Home Assistant connected but cannot get entity

Hi there - I home assistant as an app on my dashboard, provided it with a long-lived access token, and the green ping is activated. But when I try to add an entity, I get an "entity not found" error. My home assistant log says "2024-01-29 16:30:48.871 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.17.0.10 (172.17.0.10). Requested URL: '/api/states/light.bedroom'. (undici)". There is no IP ban document in the config. That IP appears to be of my homarr unraid container. I added it to the trusted network/proxies in the homeassistant config.yaml, but still not working.
6 Replies
Manicraft1001
Manicraft100110mo ago
You are sure that the long lived token is correct?
benjipewpew
benjipewpewOP10mo ago
yup I've triple checked, and deleted/recreated it several times
Manicraft1001
Manicraft100110mo ago
What version of Homarr are you using? Have you tried using a different entity? As far as I'm concerned, the light entity is not supported yet. The warning in your log does not really say if it was a failure or not. So it could be that it's just warning that someone is trying to log in.
Thomas
Thomas10mo ago
@benjipewpew
benjipewpew
benjipewpewOP10mo ago
ah I see. What entities are supported? I should start with one that works to see if that could troubleshoot this
akro
akro5mo ago
I haven't set up homeassistant so I may be way off here but that IP looks like an internal bridge IP. Based on configuration issues for other integrations maybe check the following quetions.
Is homeassitant in the same container as homarr? Is it homeassistant allowing remote connections? Are you pointing the integration to the correct place? Have you tested it in networking host mode?
Want results from more Discord servers?
Add your server