core
core copied to clipboard
ADB Command service missing Target selection
The problem
When I try to use the "Android TV: ADB Command" service, The "Data" input field is there, but Target has no input field. If I switch to yaml mode and manually enter the entity as shown in the example from documentation, it works fine. The Target in the UI mode is simply unable to be used
What version of Home Assistant Core has the issue?
2022.8.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Android TV
Link to integration documentation on our website
https://www.home-assistant.io/integrations/androidtv
Diagnostics information
No response
Example YAML snippet
service: androidtv.adb_command
target:
entity_id: media_player.androidtv_tv_living_room
data:
command: "HOME"
Anything in the logs that might be useful for us?
No response
Additional information
Works fine in YAML mode, no ability to select Target(s) in UI mode. I have not tried this in a long time so I am unsure if the recent 2022.8.0 and subsequent 2022.8.1 caused the issue or not. This issue was present on bot 2022.8.0 and 2202.8.1. On 2022.8.0 I also had issues where the app lists for my device did not populate, but since upgrading to 2022.8.1 this issue has resolved.
androidtv documentation androidtv source (message by IssueLinks)
Hey there @jefflirion, @ollo69, mind taking a look at this issue as it has been labeled with an integration (androidtv
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
This works fine when manually making a service request via YAML editing, but cannot be saved as a script because it still detects the entity_id is missing even though it is specified in the YAML, so the workaround only helps for troubleshooting and manually sending the service. The only workaround I see at this time is to make it a shell command and trigger it that way.
also here:
https://github.com/home-assistant/frontend/issues/13332
Confirmed that this is a frontend specific issue. The "target selector" is no longer accepting the "integration" filter. Closing here, as it is not a core or integration specific issue.
Follow up will happen in the frontend issue: https://github.com/home-assistant/frontend/issues/13332