Since the update to the Android app yesterday the automatic change between light and dark theme no longer works.
It seems like both themes are identical.
At least there is no visible change when I switch between light and dark theme in the app-settings.
I am using the default theme configured in my user settings. It is set to “auto”.
When switching between light and dark theme in my user settings this still works.
So the app now offers a Light and Dark setting and if your device supports one that follows the system theme. If your device does not offer that you will need to stick to light or dark for the theme of the app. There was a lot of issues around themes and this was the best compromise for it. I believe only Android 10 devices support the ability to follow the system theme.
One other thing to check is that android system webview is up to date a well.
Thanks for you reply but I am still confused.
I have a pixel 3a with the current OS and Patchlevel and I do have light and dark theme, and this used to work in HA companion app until the recent update.
Now the light and dark theme in the app are identical. So switching between them does not produce any difference in the visual appearance.
Ally other apps switch the theme only HA companion does not.
From that I conclude that this is not an underlying OS-, component- or device-issue.
As far as I understand, the corresponding themes for dark and light are automatically created based on the current theme when activating this feature.
My device might have been in dark mode, when I updated. Now the themes seem to be messed up.
Even a total reset if the app (deleting cache and storage) and starting from scratch (which is quite cumbersome because I have to rename ALL sensors manually) did not bring any improvement.
So there are 3 options for theming. One is your system wide theme you set in device settings. Second is the app theme that is set in the App Configuration page (new option). Third is the HA front end setting found in our user profile. I was referring to the setting found in App Configuration. You want them all to stay on Auto so it follows the system theme. Hard to see whats going on with out a screenshot.
In the home assistant companion app in the side bar you have “app configuration” > “theme” this setting has three possible values: light, dark, system.
Let’s for the moment ignore “system”
When I switch between light and dark, there is no visual change.
Is this more clear?
Edit: I am pretty sure the automatic switching following the device-theme is actually working it just is not visible because both themes are identical.
So if you don’t see it behaving like this then my next question is about any custom cards and integrations and if they are all up to date and whether or not Android System Webview is up to date.
I am very meticulous in installing updates as they become available, in Android, mobile Apps, HA, HA Companion App, components, integrations an addons.
The switching between light and dark theme works flawlessly on my mobile browser:
I have no idea how this happened and why it has changed with the recent update of the companion app. The only idea I have, as I mentioned is the active theme (dark with auto) when I updated. This might explain, why I seem to be the only one affected.
I have the same problem with my galaxy note 8 so I have installed the old home assistant apk which works fine. In this case the update is not an improvement for me.