-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: "Key" commands end up with key being "held down" #323
Comments
This is weirdly working in a notepad window but whenever I have steam big picture open and try to use it in a game it gets stuck 🤔 |
Some logs :) |
I've been able to reproduce this on staging-main branch. |
Yeah, looks like we're not doing it properly - missing "KEYEVENTF_KEYUP". |
Same problem here with media keys. I've an automation running what sends a media player command when the mic is open for a webcall and always my 'Alt" key is stuck after the agent sends the command! Its very annoying! service: media_player.media_stop Actually whatever media player command hass agent executes, alt key is always stuck and i need to press the alt 2-3 times to recover my keyboard. |
When can we expect this in a new version? |
+1 |
Silly q, but wahts the easiest way for me to run the beta hass-agent/HASS.Agent#1 since it says it fixes this problem? |
The issue you've linked is a different repo. If you to that repo and find the releases section you can grab the installer. I think there's some migration instructions in the readme to follow first though. |
Describe the bug
I'm using the button entity created by a "key" command in HASS Agent on a Home Assistant dashboard. When I press said button it sends they key command correctly however it then appears to be continually sending it, almost like holding the key down on a real keyboard. Not 100% sure if this is a Home Assistant issue or not but I don't have issues with non HASS Agent Home Assistant buttons triggering more than once so I think it's something here.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A single key press to happen per press of the button on the dashboard.
Screenshots
If applicable, add screenshots to help explain your problem.
Misc info (please complete the following information):
Windows build (ideally screenshot/info of
winver.exe
output):Windows' UI language: English UK
HASS.Agent version: 2022.14.0
Please check what's applicable (multiple answers possible):
Additional context
Add any other context about the problem here.
Logs
If possible, please provide the logs of HASS.Agent and - if applicable - the Satellite Service. You can find HASS.Agent's logs by going to the main window, then
Configuration
->Logging
->open logs folder
. The Satellite Service's logs are in the same window, but theSatellite Service
tab ->open service logs folder
. If you want, you can mail them to lab02research@outlook.comThe text was updated successfully, but these errors were encountered: