LAB02-Research / HASS.Agent

Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
https://hassagent.lab02-research.org
MIT License
1.56k stars 68 forks source link

Bug: PC wake is done using "arrow up" key, which affect many applications. F13 should be used. #383

Open BarsMonster opened 9 months ago

BarsMonster commented 9 months ago

Describe the bug When waking computer up - "arrow up" key is pressed which can affect some foreground applications. It's a popular key.

To Reproduce

  1. Trigger computer wake event
  2. See that while computer wakes up, application receives arrow up event which is unexpected.

Expected behavior Some rare key is pressed instead. I've tested F13 (which regular users almost never use), and it work as expected with no side effects.

Misc info (please complete the following information):

Please check what's applicable (multiple answers possible):

Additional context

Logs

BenjyP1235 commented 7 months ago

I believe you can overcome this by using the multiplekeys command and sending [{F13]} although I do agree the monitor wake command should be changed to this. You can even rename it to the monitorwake command in HASS Agent if you already have automation set up using it.