forked from OHF-Voice/linux-voice-assistant
-
Notifications
You must be signed in to change notification settings - Fork 1
Expose peripheral LEDs as a HA Light entity #5
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
Merged
omaramin-2000
merged 32 commits into
omaramin-2000:leds-and-buttons-events
from
genericJE:feat/peripheral-led-light-entity
Jun 10, 2026
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
c57e587
Add light_command event and register_light command to the protocol
genericJE 035130d
Add LEDLightEntity with peripheral-declared capabilities
genericJE 43bfc0f
Wire register_light into the satellite and command dispatcher
genericJE 5654ee3
Wait briefly for peripherals to register before HA enumerates
genericJE a0811b2
Register a Light entity with LVA and honor light_command
genericJE fd8bf17
Add Rainbow effect example
genericJE 208be78
Document the Light entity protocol additions
genericJE 5bcda27
Pass black, isort, and mypy
genericJE c2278a6
Build liblgpio from source in the 2-mic peripheral Dockerfile
genericJE c9ed765
Update 2-mic peripheral Dockerfile to Debian trixie base
genericJE f200720
Pass GPIO and SPI GIDs to the container instead of group names
genericJE 48a82d8
Make /app writable so lgpio can initialise as non-root
genericJE 3f1d676
Route LightCommandRequest to entities and recover NOT_READY on reconnect
genericJE fd50278
Toggle mute on idle single press (matches HAVPE centre button)
genericJE c265bc6
Rename Rainbow effect to Loop, cycle all LEDs in unison
genericJE 705d82e
Don't emit empty event_type on subscribe (button press entity)
genericJE 8ac7e31
Collapse implicit string concatenation in log messages
genericJE de99b73
Make satellite.py pass mypy/pylint cleanly
genericJE ab8f231
Emit volume_muted so peripherals can track mute state
genericJE a3d790d
Tighten comments on the LED Light additions
genericJE f949c83
Tighten the volume_muted and ButtonEventSensor comments
genericJE 1f7cdfe
Wire the multipress handler so its sounds actually fire
genericJE aa2cdd7
Align button press timing with HAVPE
genericJE 305d8f6
Defer the single-click action until the multipress window resolves
genericJE c7f63a6
Tighten the multipress comments
genericJE f038d48
Merge branch 'leds-and-buttons-events' into feat/peripheral-led-light…
omaramin-2000 414abad
Change idle state action from mute to start listening
omaramin-2000 fecec1d
Revise button control commands in DOCS.md
omaramin-2000 e7f3d5d
Refactor _set_muted to simplify state handling
omaramin-2000 d9f7418
Merge branch 'leds-and-buttons-events' into feat/peripheral-led-light…
omaramin-2000 b26c470
Trim ReSpeaker LED example to the VPE Voice Assistant effect
genericJE d1dc6fe
Match the Voice PE LED Ring idle behaviour
genericJE File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.