Companion app no longer uses dark theme if companion app settings are "Dark" or "Follow System Settings" but Home Assistant is set to "Auto"
See original GitHub issueHome Assistant Android version: 2022.10.2-full
Android version: 10
Phone model: Pixel 3a
Home Assistant version: 2022.10.5
Last working Home Assistant release (if known): note that it’s the companion app that’s the problem, and the last known working version of that is 2022.10.0-full
Description of problem: In Android Companion App > Settings > Companion App > Theme I choose either “Dark” or “Follow System Settings” (which should be equivalent to “Dark” on my system). While the companion app settings screen stays in dark mode, the rest of Home Assistant within the app is light. (Home Assistant’s theme itself is set to “Auto” in “My User” > Theme.)
Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs): N/A
Screenshot of problem: The settings page is dark, which is correct:
…but hitting the back button and going to the rest of Home Assistant in the companion app ignores the chosen “Dark” theme.
Additional information: PR 2923 is almost certainly the culprit, and I’m guessing it has something to do with “Removing webview force dark settings”
Issue Analytics
- State:
- Created a year ago
- Comments:57 (20 by maintainers)
Top GitHub Comments
Yes, I’m running Lineage. I guess the out of date WebView is the culprit after all.
@dshokouhi Running latest WebView on this Android 9 device, with the latest beta Home Assistant app and still observing the issue.
It seems to ignore what HA’s dark/light mode preference is set to.
Combined with Android 9 having no native night mode, it always results in it selecting the light theme.