Merge remote-tracking branch 'upstream/string_ref_for_all_incoming_api_strings' into integration

This commit is contained in:
J. Nick Koston
2025-12-25 09:02:03 -10:00
22 changed files with 537 additions and 297 deletions
@@ -75,3 +75,11 @@ button:
- uart.write: !lambda |-
std::string cmd = "VALUE=" + str_sprintf("%.0f", id(test_number).state) + "\r\n";
return std::vector<uint8_t>(cmd.begin(), cmd.end());
event:
- platform: uart
uart_id: uart_uart
name: "UART Event"
event_types:
- "string_event_A": "*A#"
- "bytes_event_B": [0x2A, 0x42, 0x23]
@@ -31,3 +31,11 @@ button:
name: "UART Button"
uart_id: uart_uart
data: [0xFF, 0xEE]
event:
- platform: uart
uart_id: uart_uart
name: "UART Event"
event_types:
- "string_event_A": "*A#"
- "bytes_event_B": [0x2A, 0x42, 0x23]