mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 15:27:33 +00:00
Follow the acknowledgement pattern from #18312: set_mode now returns a SerialProxyResult and the handler answers with SerialProxyRequestResponse (type SET_MODE). This matters most for a client switching to RAW before flashing firmware through the port: without an ack, a refused request (another client holds the port) is silently dropped and the client cannot tell that protocol bytes may still be injected.