question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

Home 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: settings page is dark

…but hitting the back button and going to the rest of Home Assistant in the companion app ignores the chosen “Dark” theme. but the rest of home assistant is light

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:closed
  • Created a year ago
  • Comments:57 (20 by maintainers)

github_iconTop GitHub Comments

2reactions
jgillulacommented, Oct 22, 2022

Yes, I’m running Lineage. I guess the out of date WebView is the culprit after all.

1reaction
emansomcommented, Dec 12, 2022

no the fix is already live in production but fire OS devices are still impacted due to them running an old version of webview

@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.

Screenshot_20221213-001642~2.png

Screenshot_20221213-002504.png

Screenshot_20221213-002633.png

Read more comments on GitHub >

github_iconTop Results From Across the Web

2022.10.2 breaks light/dark mode - Home Assistant Community
Companion app no longer uses dark theme if companion app settings are "Dark" or "Follow System Settings" but Home Assistant is set to...
Read more >
Light and dark theme no longer follow phone theme
In the home assistant companion app in the side bar you have “app configuration” > “theme” this setting has three possible values: light,...
Read more >
Troubleshooting | Home Assistant Companion Docs
Below is a list of common issues and troubleshooting advice to address them. For more support please look at the more help page....
Read more >
Override system dark mode - Home Assistant Community
I see the Android app now uses dark mode if that's set on your phone. Is there a way to override that? I...
Read more >
Can't get rid of dark mode - Home Assistant Community
my android app is dark as f***, i can't see my switches anymore even ... Setting my whole mobile phone to light mode,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found