Device controls do not work ("Compatible controls unavailable")
See original GitHub issueHome Assistant Android version: beta-2234-6c64b31f-full
EDIT: I noticed that the play store was serving an old version of the beta, grabbed the APK for beta-2278-ec6ae434-full – issue persists. Android version: Android 13 Beta 1 (Though, this issue also existed on Android 12L Beta) Phone model: Pixel 6 Pro Home Assistant version: 2022.4.6
Last working Home Assistant release (if known): N/A Description of problem: I cannot use any device controls, it results in “Compatible controls unavailable” being shown when I go to “Add Controls”, despite having set up one of them with a light entity. Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):
04-27 11:41:33.897 4978 6581 E HaConProService: Error getting list of entities
04-27 11:41:33.897 4978 6581 E HaConProService: java.lang.IllegalArgumentException: Mode 4 not supported in flag.
04-27 11:41:33.897 4978 6581 E HaConProService: at android.service.controls.templates.TemperatureControlTemplate.<init>(TemperatureControlTemplate.java:188)
04-27 11:41:33.897 4978 6581 E HaConProService: at io.homeassistant.companion.android.controls.ClimateControl.provideControlFeatures(ClimateControl.kt:86)
04-27 11:41:33.897 4978 6581 E HaConProService: at io.homeassistant.companion.android.controls.HaControl$DefaultImpls.createControl(HaControl.kt:43)
04-27 11:41:33.897 4978 6581 E HaConProService: at io.homeassistant.companion.android.controls.ClimateControl.createControl(ClimateControl.kt:18)
04-27 11:41:33.897 4978 6581 E HaConProService: at io.homeassistant.companion.android.controls.HaControlsProviderService$createPublisherForAllAvailable$1$1.invokeSuspend(HaControlsProviderService.kt:82)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:39)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
04-27 11:41:33.897 4978 6581 E HaConProService: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665
Screenshot of problem:
Additional information:
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Yeah, these hive devices are certainly something haha…
Tested this and it works fine. 👍
Interestingly this has lead me to another bug that is when I press and hold on a control it completely crashes systemui, this could be related to Android 13 Beta I spose, but press and hold works fine for controls from the Google Home app, although I suppose that’s for another bug report
Ah ok, good to know it’s already known.