Skip to content

feat(uartex): expose last_state for multi-channel light TX#264

Merged
eigger merged 2 commits into
masterfrom
feat/uartex-last-state-kocom-theart
Jul 1, 2026
Merged

feat(uartex): expose last_state for multi-channel light TX#264
eigger merged 2 commits into
masterfrom
feat/uartex-last-state-kocom-theart

Conversation

@eigger

@eigger eigger commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Expose has_last_state() and last_state(index) on UARTExLightState so YAML lambdas can assemble TX from the last RX packet instead of cross-id current_values. Apply to kocom_theart livingroom lights.

eigger and others added 2 commits July 1, 2026 13:29
Expose has_last_state() and last_state(index) on UARTExLightState so YAML
lambdas can assemble TX from the last RX packet instead of cross-id
current_values. Apply to kocom_theart livingroom lights.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use has_last_state() and last_state() in room_0_light_1 command lambdas
so existing esp32/esp8266 test configs validate the YAML API.

Co-authored-by: Cursor <cursoragent@cursor.com>
@eigger
eigger merged commit fcd539a into master Jul 1, 2026
10 checks passed
@eigger
eigger deleted the feat/uartex-last-state-kocom-theart branch July 1, 2026 04:44
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.

1 participant