1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-01 01:22:20 +01:00
This commit is contained in:
J. Nick Koston
2025-09-22 22:43:56 -05:00
parent cf7fad9c14
commit 8a54b6d76e
2 changed files with 18 additions and 2 deletions

View File

@@ -2126,7 +2126,12 @@ void UpdateCommandRequest::dump_to(std::string &out) const {
}
#endif
#ifdef USE_ZWAVE_PROXY
void ZWaveProxyFrame::dump_to(std::string &out) const { dump_field(out, "data", this->data); }
void ZWaveProxyFrame::dump_to(std::string &out) const {
MessageDumpHelper helper(out, "ZWaveProxyFrame");
out.append(" data: ");
out.append(format_hex_pretty(this->data, this->data_len));
out.append("\n");
}
void ZWaveProxyRequest::dump_to(std::string &out) const {
MessageDumpHelper helper(out, "ZWaveProxyRequest");
dump_field(out, "type", static_cast<enums::ZWaveProxyRequestType>(this->type));