Status- and Navigation bars are not being colored anymore on Core 2021.12.0b3
See original GitHub issueHome Assistant Android version: 2021.10.0-full
Android version: 11
Phone model: Xiaomi Mi 9T Pro
Home Assistant version: 2021.12.0b5
Last working Home Assistant release (if known): 2021.11.5
Description of problem: I just updated to Home Assistant 2021.12.0b5 and realised, that the status and navigation bars are not getting colored anymore. This is especially visible in light mode, where they just stay black instead of getting colored blue.
I did some debugging and figured, that the android app is listening on a json object post with the type config/get
which used to be send after the web app loaded. But it is not being send anymore. But when you open the Frontend Settings page, it is loaded, and the status and navigation bar are getting their colors.
But of course this is not how it is supposed to be.
I also opened an Issue on the frontend repo, though I’m not really sure, where this post request comes from etc., so I’m not even sure if thats the right place and also nobody is answering issues on the frontend recently it seems like. See: home-assistant/frontend/issues/10823
I figured that the android app team would be interested in this issue and might help reaching out to the people who are able to fix it 😃
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top GitHub Comments
That’s possible. This is how we fetch themes and subscribe to updates: https://github.com/home-assistant/frontend/blob/dev/src/data/ws-themes.ts#L30-L39
So looks like HA core no longer sends
config/get
upon loading the sidebar as its done in the config screen in this new release. I think we may need to use a websocket call to get the config now. Now that we have websockets in the app we should be able to migrate this.https://developers.home-assistant.io/docs/api/websocket#fetching-config