* started work to update keyboard_remote to work with python 3.11
* updated function names
* all checks pass
* fixed asyncio for python 3.11
* cleanup
* Update homeassistant/components/keyboard_remote/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update __init__.py
added:
from __future__ import annotations
* Fix typing
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* added keyboard event type to keyboard_remote
* fix emulated hold event
* Update homeassistant/components/keyboard_remote/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* removed event value
* set key_hold to use string constant
* don't use dict.get() for keyboard event type
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* fix handling of symlinked device decriptors
* make check for symlinked paths more efficient
* make variable names pylint compliant
* move sync io during setup and device connect/disconnect to executor thread pool
* move remaining sync io during setup to executor thread pool
* remove unnecessary lambda functions
* convert keyboard_remote to async and add possibility to trigger on multiple event types, as well as emulate key hold events
* update requirements
* cleanup shutdown handling and config handling as well as address other minor comments
* cleanup unused return values and debug message formatting
* move start and stop event listen to separate coroutine plus minor cleanup
* make setup coroutine a function
* fix import order and attribute defined outside of init
* add to codeowners
* update codeowners