WTH is companion app so slow?!

For whatever reason Android app takes a really long time to show my dashboards
Lets say i want quickly turn off lights while in bed, i open up app and wait for 3-5 seconds. Get up and press a switch is faster
I wanna turn on thermostat, again, 3 seconds
Whatever i wanna do, i will wait 3-5 seconds
But why? Why cant we cache dashboards? It will ask to refresh page anyway
Please, do something with app

I have no issues at all, so either you android device is underpowered or your dashboards are too heavy.

I use default home dashboard and cant say my device is underpowered
Redmi Note 11 Pro 5G with LineageOS
Just launching the app took some time

LinneageOS?
Make sure your Google WebView is fully updated then.

Thank you!!!
Went through hoops of finding degoogled webview, installed it and it now takes only a second!
Thats pretty usable now

the Companion App is slow mainly due to HA, not the companion app. It is exacerbated (even using normal/modern powered) phones/tablets making the ‘not great’ HA design far more apparent.

There have been several projects to make it faster by stripping out a lot of unnecessary ‘stuff’ HA sends.

Can I jump in here and add that the companion app on macOS is ridiculously slow. Viewing desktops in a web browser on macOS is also slow. If anyone can suggest a fix I would love to hear it but I suspect it is an ‘we are apple and we do things out way’ thing.

There is no companion app for MacOS.
There is one for iOS that can run in a native VM on MacOS.

MacOS are usually more powerful than iPhone and iPad, and that extra power should be more than enough to outweigh the VM emulation.
Is the Mac old?

Well, i take my words back, its still slow

HAs fashboards can be a bit mouthful for a device to load, but there might be things that can be improved.

Like

  • do not shutdown the app, so it needs to fully initiaæize again before it can be used.
  • do not let it go completely to sleep in the background either, because it needs to clear old values before it can load in updated ones.
  • make sure the device have enough processing power and memory for the dashboard. Background pictures and animated cards can be heavy and so can graph cards that are not pre-rendered.
  • make sure your WiFi, if that is used somewhere in the connection path, do not use a bandwidth congested frequency. Zigbee, Thread, Bluetooth, Wireless RF devices might all use the same frequency and so might your close neighbors.
  • make sure the route to the server does not traverse through your router and maybe over your internet connection, which can happen if you have misconfigured remote access.
  • make sure the HA server use a wired connection, since WiFi just takes longer due to having handshakes and reauthentication to do.
  • make sure the HA server have enough processing power and memory and if it is a Pi also make sure the chips are properly cooled.

As already mentioned, there is no “real” companion app for macOS but an iPadOS app which runs by way of Mac Catalyst. I really cannot recommend using it however as Catalyst has some longstanding bug which breaks copy-paste and for whatever reason it seems Apple is refusing to fix it. (Unless they finally did for macOS 27, I haven’t checked.)

Personally I run HA as a standalone Safari web app and have no complaints about performance. This is on five year old M1 level Macs, a Mac mini and a MacBook Pro 14".

I am also using an M1 MacBook air. I use the (nonexistent :grin:) companion app interchangeably with safari. They are both significantly slower than my old pixel phone or my desktop with the app slower than Safari. I have read elsewhere (maybe here) that all browsers on apple are forced to use the same engine so maybe that is the reason…
UPDATE:
Tonight I tried the macOS (not) companion app and I withdraw my previous comment. It is acceptably fast! Previously to render my main energy dashboard would take 10-15 secs. Now it is 1-2 secs. Not sure what/when it changed as I have avoided using the laptop for HA, but happy it has.