Repository navigation
1.30.2: no Install popup while HA updates; keep-alive example on the home screen (PiPup #76) - #56
Merged
Merged
Conversation
… on the home screen (PiPup #76) Every request carries X-HA-PiPup-Auto-Update: on|off once the first /state is in. "on" only when the nightly update can install on that TV by itself; the nightly tick now asks the same function (auto_update_installs). App >= 0.30.1 then skips its own Install popup, whose button took the remote's focus mid-film. README: the TCL keep-alive example runs only while the launcher is in front (app_id), not whenever the TV is not "playing", and starts with the accessibility service, which usually makes it unnecessary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two fixes for mhoogenbosch/PiPup#76 (PiPup taking over the screen during Plex / Prime Video on a TCL).
No Install popup while Home Assistant updates (app ≥ 0.30.1, mhoogenbosch/PiPup#82)
X-HA-PiPup-Auto-Update: on|offonce the first/stateis in.ononly when the nightly update can install on that TV by itself (switched on, and ADB or a silent app self-update).auto_update_installs()inadb.py; the nightly tick uses it too./state, so an options change counts from the next poll without a reload.TCL keep-alive example in the README
app_idof the Android TV media player). The old condition only skippedplaying, and the Android TV integration decides that per app.app_idwhile the TV is off, the condition also stops the automation from switching the screen on at night.Tests
test_auto_update_installs(7 cases) andtest_auto_update_header(header left out until known, on/off, follows an options change on the next refresh).🤖 Generated with Claude Code