{{ message }}
Repository navigation
Improve Alexa debug logging - #184241
Merged
chemelli74 merged 4 commits intoOct 4, 2026
Merged
Improve Alexa debug logging#184241
Conversation
Log the exposure decision once per entity, log every action call with the triggering directive and redacted data, and include the entity ID in the received request log line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Exposure messages are suppressed when debug logging is enabled after ordinary state changes populate the cache.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Improves Alexa Smart Home troubleshooting through more informative debug logs.
Changes:
- Adds target entity IDs to incoming request logs.
- Logs directive-triggered actions with alarm PIN redaction.
- Deduplicates proactive exposure messages per entity.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
raman325
added a commit
to raman325/home-assistant
that referenced
this pull request
Oct 5, 2026
* upstream/dev: (4246 commits) Log when Google Generative AI STT returns no text (home-assistant#180389) Bump pylamarzocco to 2.5.1 (home-assistant#184247) Add event status to remote_calendar (home-assistant#183849) Return HTTP 403 for MCP permission failures (home-assistant#184253) Split user flow init and data submission in rainmachine config flow tests (home-assistant#184164) Bump uiprotect to 23.0.0 (home-assistant#184233) Bump aioaxlevpp to 0.2.0 (home-assistant#184246) Improve Alexa debug logging (home-assistant#184241) Split user flow init and data submission in tomorrowio config flow tests (home-assistant#184176) Fix stale Nibe Heat Pump values at the end of polling (home-assistant#184222) Handle unsupported devices for the my-PV integration (home-assistant#183920) Keep Teslemetry energy history unavailable while the stream is down (home-assistant#184224) Bump radios to 2.0.1 (home-assistant#184205) bosch_shc: bump boschshcpy to 0.6.15 (home-assistant#184220) Split user flow init and data submission in recollect_waste config flow tests (home-assistant#184169) Use a radio list for the Teslemetry local vehicle subentry (home-assistant#184171) Split user flow init and data submission in watttime config flow tests (home-assistant#184173) Always disconnect Teslemetry Bluetooth after a failed pairing step (home-assistant#184190) Do not send a sound to a LaMetric device without audio (home-assistant#184196) Bump uiprotect to 20.2.1 (home-assistant#184208) ...
frenck
pushed a commit
that referenced
this pull request
Oct 5, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.


<!-0000-
You are amazing! Thanks for contributing to our project!
Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->
Proposed change
Improves the debug logging of the Alexa integration to make it easier to troubleshoot Smart Home requests and proactive state reporting:
code(PIN) is redacted.endpointId(for example an integer) no longer crashes with an HTTP 500, but returns aNO_SUCH_ENDPOINTAlexa error response.Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests:
🤖 Generated with Claude Code