Skip to content

fix!: Expose ZclFrame on message event#1473

Merged
Koenkk merged 1 commit into
fix/zh-6from
fix/event-frame
Aug 8, 2025
Merged

fix!: Expose ZclFrame on message event#1473
Koenkk merged 1 commit into
fix/zh-6from
fix/event-frame

Conversation

@Koenkk
Copy link
Copy Markdown
Owner

@Koenkk Koenkk commented Aug 6, 2025

Expose the whole frame in just attributes separately, required for e.g. Koenkk/zigbee-herdsman-converters#9711 where the raw frame is needed.

@Koenkk Koenkk requested a review from Nerivec August 6, 2025 19:03
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Aug 6, 2025

CodSpeed Performance Report

Merging #1473 will not alter performance

Comparing fix/event-frame (f168e6d) with master (7f47140)

Summary

✅ 12 untouched benchmarks

@Nerivec
Copy link
Copy Markdown
Collaborator

Nerivec commented Aug 6, 2025

I don't really like the fact it opens up ZHC (and external converters) to manipulate what should be only ZH/spec-derived data. It's very bug-prone, especially in cases where the frame might be used after by some other process and it comes up with unexpected formats (not sure if/how, but reference issues are very hard to track down/debug).

@Koenkk Koenkk changed the base branch from master to fix/zh-6 August 8, 2025 17:45
@Koenkk Koenkk merged commit f724cdb into fix/zh-6 Aug 8, 2025
5 checks passed
@Koenkk Koenkk deleted the fix/event-frame branch August 8, 2025 17:45
Koenkk added a commit that referenced this pull request Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants