Hi, I’m unable to create a new widget on my Xiaomi Pad 5 which is running on HyperOS (Android). Whenever I create, it gives the unable to create widget error. Anyone has similar issues?
any errors in the companion app logs?
Hi I just solved it. Basically third party widgets must be created via the OS, not through the app directly.
thats a launcher issue it seems, in fact the OS should properly report that it does not allow apps to do that so we dont show the option ![]()
Hello, it seems that I have the same issue. How did you create a Widget by the OS?
Edit : Noah understood your remark. By long press on the screen a menu is popping up where you can select widget and then under the list of all apps you can select home assistant in the categories where the by selecting the category you can select the detailed entity or similar like before from home assistant so at the end same story but different way…
can you check the companion app logs for any errors? ideally the option should not show up but maybe there is a bug in the code that needs to be fixed.
I have the same issue. I realized I have this issue when I tried to edit an existing widget. I am using Xiaomi 11T Pro, HyperOS
07-09 09:23:46.543 24779 24779 I HandWritingStubImpl: refreshLastKeyboardType: 1
07-09 09:23:46.543 24779 24779 I HandWritingStubImpl: getCurrentKeyboardType: 1
07-09 09:23:49.498 24779 24779 E WebSocketCoreImpl$sendMessage: Exception while sending message
07-09 09:23:49.498 24779 24779 E WebSocketCoreImpl$sendMessage: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelling}@5c843c4
07-09 09:23:49.499 24779 24779 E EntityWidgetConfigureActivity$onCreate: Failed to query entities
07-09 09:23:49.499 24779 24779 E EntityWidgetConfigureActivity$onCreate: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelling}@5c843c4
07-09 09:23:49.499 24779 24779 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Activity$$ExternalSyntheticLambda0@52f5c4b
07-09 09:23:50.210 24779 24779 I ForceDarkHelperStubImpl: setViewRootImplForceDark: false for io.homeassistant.companion.android.settings.SettingsActivity@dd6619f, reason: DarkModeEnabled
07-09 09:23:50.238 24779 24779 D IntegrationRepositoryImpl: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1752045823939, currentMillis: 1752045830238)
07-09 09:23:50.246 24779 30560 D AppScoutStateMachine: 24779-ScoutStateMachinecreated
07-09 09:23:50.276 24779 24779 W libc : Access denied finding property "vendor.display.enable_optimal_refresh_rate"
07-09 09:23:50.277 24779 24779 D VRI[SettingsActivity]: vri.reportNextDraw android.view.ViewRootImpl.performTraversals:4360 android.view.ViewRootImpl.doTraversal:2989 android.view.ViewRootImpl$TraversalRunnable.run:10304 android.view.Choreographer$CallbackRecord.run:1594 android.view.Choreographer$CallbackRecord.run:1603
07-09 09:23:50.278 24779 8188 E OpenGLRenderer: Unable to match the desired swap behavior.
07-09 09:23:50.278 24779 24779 D VRI[SettingsActivity]: vri.Setup new sync=wmsSync-VRI[SettingsActivity]#16
07-09 09:23:50.324 24779 24779 D VRI[SettingsActivity]: vri.reportDrawFinished
07-09 09:23:50.336 24779 24779 D IntegrationRepositoryImpl: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1752045823939, currentMillis: 1752045830336)
07-09 09:23:50.336 24779 24779 D IntegrationRepositoryImpl: setAppActive(): true
07-09 09:23:50.337 24779 24779 I HandWritingStubImpl: refreshLastKeyboardType: 1
07-09 09:23:50.337 24779 24779 I HandWritingStubImpl: getCurrentKeyboardType: 1
07-09 09:23:51.703
This has been fixed today after the last update.