Skip to content
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

Remove reconnect delay after standby #26

Merged
merged 3 commits into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

_Changes in the next release_

### Fixed
- Remove reconnect delay after standby. Requires new Remote Two firmware ([unfoldedcircle/feature-and-bug-tracker#320](https://github.com/unfoldedcircle/feature-and-bug-tracker/issues/320)).

---

## v0.4.5 - 2024-01-09
Expand Down
1 change: 1 addition & 0 deletions intg-androidtv/apps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Application link and identifier mappings."""

# Application launch links
Apps = {
"Youtube": {"url": "https://www.youtube.com"},
Expand Down
2 changes: 0 additions & 2 deletions intg-androidtv/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ async def on_exit_standby():
Connect all Denon AVR instances.
"""
_LOG.debug("Exit standby event: connecting device(s)")
# delay is only a temporary workaround, until the core verifies first that the network is up with an IP address
await asyncio.sleep(2)

for configured in _configured_android_tvs.values():
# start background task
Expand Down
1 change: 1 addition & 0 deletions intg-androidtv/inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

See https://github.com/tronikos/androidtvremote2/blob/v0.0.14/src/androidtvremote2/remotemessage.proto#L681-L731
"""

KeyCode = {
"HDMI 1": "KEYCODE_TV_INPUT_HDMI_1",
"HDMI 2": "KEYCODE_TV_INPUT_HDMI_2",
Expand Down
Loading