9#ifdef HAS_PROTO_MESSAGE_DUMP
16 size_t len = strlen_P(str);
21 memcpy_P(buf_ + pos_, str,
len);
39static inline void append_field_prefix(DumpBuffer &out,
const char *field_name,
int indent) {
40 out.append(indent,
' ').append_p(field_name).append(
": ");
43static inline void append_uint(DumpBuffer &out,
uint32_t value) {
49class MessageDumpHelper {
51 MessageDumpHelper(DumpBuffer &out,
const char *message_name) : out_(out) {
55 ~MessageDumpHelper() { out_.
append(
" }"); }
64#pragma GCC diagnostic push
65#pragma GCC diagnostic ignored "-Wunused-function"
66static void dump_field(DumpBuffer &out,
const char *field_name, int32_t value,
int indent = 2) {
67 append_field_prefix(out, field_name, indent);
68 out.set_pos(buf_append_printf(out.data(),
DumpBuffer::CAPACITY, out.pos(),
"%" PRId32
"\n", value));
71static void dump_field(DumpBuffer &out,
const char *field_name,
uint32_t value,
int indent = 2) {
72 append_field_prefix(out, field_name, indent);
73 out.set_pos(buf_append_printf(out.data(),
DumpBuffer::CAPACITY, out.pos(),
"%" PRIu32
"\n", value));
76static void dump_field(DumpBuffer &out,
const char *field_name,
float value,
int indent = 2) {
77 append_field_prefix(out, field_name, indent);
81static void dump_field(DumpBuffer &out,
const char *field_name, uint64_t value,
int indent = 2) {
82 append_field_prefix(out, field_name, indent);
83 out.set_pos(buf_append_printf(out.data(),
DumpBuffer::CAPACITY, out.pos(),
"%" PRIu64
"\n", value));
86static void dump_field(DumpBuffer &out,
const char *field_name,
bool value,
int indent = 2) {
87 append_field_prefix(out, field_name, indent);
88 out.append(YESNO(value));
92static void dump_field(DumpBuffer &out,
const char *field_name,
const std::string &value,
int indent = 2) {
93 append_field_prefix(out, field_name, indent);
94 out.append(
"'").append(value.c_str()).append(
"'");
98static void dump_field(DumpBuffer &out,
const char *field_name, StringRef value,
int indent = 2) {
99 append_field_prefix(out, field_name, indent);
100 append_quoted_string(out, value);
104static void dump_field(DumpBuffer &out,
const char *field_name,
const char *value,
int indent = 2) {
105 append_field_prefix(out, field_name, indent);
106 out.append(
"'").append(value).append(
"'");
111template<
typename T>
static void dump_field(DumpBuffer &out,
const char *field_name, T value,
int indent = 2) {
112 append_field_prefix(out, field_name, indent);
120static void dump_bytes_field(DumpBuffer &out,
const char *field_name,
const uint8_t *data,
size_t len,
int indent = 2) {
122 append_field_prefix(out, field_name, indent);
124 out.append(hex_buf).append(
"\n");
126#pragma GCC diagnostic pop
131 return ESPHOME_PSTR(
"SERIAL_PROXY_PORT_TYPE_TTL");
133 return ESPHOME_PSTR(
"SERIAL_PROXY_PORT_TYPE_RS232");
135 return ESPHOME_PSTR(
"SERIAL_PROXY_PORT_TYPE_RS485");
137 return ESPHOME_PSTR(
"UNKNOWN");
143 return ESPHOME_PSTR(
"ENTITY_CATEGORY_NONE");
145 return ESPHOME_PSTR(
"ENTITY_CATEGORY_CONFIG");
147 return ESPHOME_PSTR(
"ENTITY_CATEGORY_DIAGNOSTIC");
149 return ESPHOME_PSTR(
"UNKNOWN");
156 return ESPHOME_PSTR(
"COVER_OPERATION_IDLE");
158 return ESPHOME_PSTR(
"COVER_OPERATION_IS_OPENING");
160 return ESPHOME_PSTR(
"COVER_OPERATION_IS_CLOSING");
162 return ESPHOME_PSTR(
"UNKNOWN");
170 return ESPHOME_PSTR(
"FAN_DIRECTION_FORWARD");
172 return ESPHOME_PSTR(
"FAN_DIRECTION_REVERSE");
174 return ESPHOME_PSTR(
"UNKNOWN");
182 return ESPHOME_PSTR(
"COLOR_MODE_UNKNOWN");
184 return ESPHOME_PSTR(
"COLOR_MODE_ON_OFF");
186 return ESPHOME_PSTR(
"COLOR_MODE_LEGACY_BRIGHTNESS");
188 return ESPHOME_PSTR(
"COLOR_MODE_BRIGHTNESS");
190 return ESPHOME_PSTR(
"COLOR_MODE_WHITE");
192 return ESPHOME_PSTR(
"COLOR_MODE_COLOR_TEMPERATURE");
194 return ESPHOME_PSTR(
"COLOR_MODE_COLD_WARM_WHITE");
196 return ESPHOME_PSTR(
"COLOR_MODE_RGB");
198 return ESPHOME_PSTR(
"COLOR_MODE_RGB_WHITE");
200 return ESPHOME_PSTR(
"COLOR_MODE_RGB_COLOR_TEMPERATURE");
202 return ESPHOME_PSTR(
"COLOR_MODE_RGB_COLD_WARM_WHITE");
204 return ESPHOME_PSTR(
"UNKNOWN");
212 return ESPHOME_PSTR(
"STATE_CLASS_NONE");
214 return ESPHOME_PSTR(
"STATE_CLASS_MEASUREMENT");
216 return ESPHOME_PSTR(
"STATE_CLASS_TOTAL_INCREASING");
218 return ESPHOME_PSTR(
"STATE_CLASS_TOTAL");
220 return ESPHOME_PSTR(
"STATE_CLASS_MEASUREMENT_ANGLE");
222 return ESPHOME_PSTR(
"UNKNOWN");
229 return ESPHOME_PSTR(
"LOG_LEVEL_NONE");
231 return ESPHOME_PSTR(
"LOG_LEVEL_ERROR");
233 return ESPHOME_PSTR(
"LOG_LEVEL_WARN");
235 return ESPHOME_PSTR(
"LOG_LEVEL_INFO");
237 return ESPHOME_PSTR(
"LOG_LEVEL_CONFIG");
239 return ESPHOME_PSTR(
"LOG_LEVEL_DEBUG");
241 return ESPHOME_PSTR(
"LOG_LEVEL_VERBOSE");
243 return ESPHOME_PSTR(
"LOG_LEVEL_VERY_VERBOSE");
245 return ESPHOME_PSTR(
"UNKNOWN");
251 return ESPHOME_PSTR(
"DST_RULE_TYPE_NONE");
253 return ESPHOME_PSTR(
"DST_RULE_TYPE_MONTH_WEEK_DAY");
255 return ESPHOME_PSTR(
"DST_RULE_TYPE_JULIAN_NO_LEAP");
257 return ESPHOME_PSTR(
"DST_RULE_TYPE_DAY_OF_YEAR");
259 return ESPHOME_PSTR(
"UNKNOWN");
262#ifdef USE_API_USER_DEFINED_ACTIONS
266 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_BOOL");
268 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_INT");
270 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_FLOAT");
272 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_STRING");
274 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_BOOL_ARRAY");
276 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_INT_ARRAY");
278 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_FLOAT_ARRAY");
280 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_STRING_ARRAY");
282 return ESPHOME_PSTR(
"UNKNOWN");
288 return ESPHOME_PSTR(
"SUPPORTS_RESPONSE_NONE");
290 return ESPHOME_PSTR(
"SUPPORTS_RESPONSE_OPTIONAL");
292 return ESPHOME_PSTR(
"SUPPORTS_RESPONSE_ONLY");
294 return ESPHOME_PSTR(
"SUPPORTS_RESPONSE_STATUS");
296 return ESPHOME_PSTR(
"UNKNOWN");
304 return ESPHOME_PSTR(
"CLIMATE_MODE_OFF");
306 return ESPHOME_PSTR(
"CLIMATE_MODE_HEAT_COOL");
308 return ESPHOME_PSTR(
"CLIMATE_MODE_COOL");
310 return ESPHOME_PSTR(
"CLIMATE_MODE_HEAT");
312 return ESPHOME_PSTR(
"CLIMATE_MODE_FAN_ONLY");
314 return ESPHOME_PSTR(
"CLIMATE_MODE_DRY");
316 return ESPHOME_PSTR(
"CLIMATE_MODE_AUTO");
318 return ESPHOME_PSTR(
"UNKNOWN");
324 return ESPHOME_PSTR(
"CLIMATE_FAN_ON");
326 return ESPHOME_PSTR(
"CLIMATE_FAN_OFF");
328 return ESPHOME_PSTR(
"CLIMATE_FAN_AUTO");
330 return ESPHOME_PSTR(
"CLIMATE_FAN_LOW");
332 return ESPHOME_PSTR(
"CLIMATE_FAN_MEDIUM");
334 return ESPHOME_PSTR(
"CLIMATE_FAN_HIGH");
336 return ESPHOME_PSTR(
"CLIMATE_FAN_MIDDLE");
338 return ESPHOME_PSTR(
"CLIMATE_FAN_FOCUS");
340 return ESPHOME_PSTR(
"CLIMATE_FAN_DIFFUSE");
342 return ESPHOME_PSTR(
"CLIMATE_FAN_QUIET");
344 return ESPHOME_PSTR(
"UNKNOWN");
350 return ESPHOME_PSTR(
"CLIMATE_SWING_OFF");
352 return ESPHOME_PSTR(
"CLIMATE_SWING_BOTH");
354 return ESPHOME_PSTR(
"CLIMATE_SWING_VERTICAL");
356 return ESPHOME_PSTR(
"CLIMATE_SWING_HORIZONTAL");
358 return ESPHOME_PSTR(
"UNKNOWN");
364 return ESPHOME_PSTR(
"CLIMATE_ACTION_OFF");
366 return ESPHOME_PSTR(
"CLIMATE_ACTION_COOLING");
368 return ESPHOME_PSTR(
"CLIMATE_ACTION_HEATING");
370 return ESPHOME_PSTR(
"CLIMATE_ACTION_IDLE");
372 return ESPHOME_PSTR(
"CLIMATE_ACTION_DRYING");
374 return ESPHOME_PSTR(
"CLIMATE_ACTION_FAN");
376 return ESPHOME_PSTR(
"CLIMATE_ACTION_DEFROSTING");
378 return ESPHOME_PSTR(
"UNKNOWN");
384 return ESPHOME_PSTR(
"CLIMATE_PRESET_NONE");
386 return ESPHOME_PSTR(
"CLIMATE_PRESET_HOME");
388 return ESPHOME_PSTR(
"CLIMATE_PRESET_AWAY");
390 return ESPHOME_PSTR(
"CLIMATE_PRESET_BOOST");
392 return ESPHOME_PSTR(
"CLIMATE_PRESET_COMFORT");
394 return ESPHOME_PSTR(
"CLIMATE_PRESET_ECO");
396 return ESPHOME_PSTR(
"CLIMATE_PRESET_SLEEP");
398 return ESPHOME_PSTR(
"CLIMATE_PRESET_ACTIVITY");
400 return ESPHOME_PSTR(
"UNKNOWN");
404#ifdef USE_WATER_HEATER
408 return ESPHOME_PSTR(
"WATER_HEATER_MODE_OFF");
410 return ESPHOME_PSTR(
"WATER_HEATER_MODE_ECO");
412 return ESPHOME_PSTR(
"WATER_HEATER_MODE_ELECTRIC");
414 return ESPHOME_PSTR(
"WATER_HEATER_MODE_PERFORMANCE");
416 return ESPHOME_PSTR(
"WATER_HEATER_MODE_HIGH_DEMAND");
418 return ESPHOME_PSTR(
"WATER_HEATER_MODE_HEAT_PUMP");
420 return ESPHOME_PSTR(
"WATER_HEATER_MODE_GAS");
422 return ESPHOME_PSTR(
"UNKNOWN");
430 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_NONE");
432 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_MODE");
434 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE");
436 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_STATE");
438 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_LOW");
440 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_HIGH");
442 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_ON_STATE");
444 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_AWAY_STATE");
446 return ESPHOME_PSTR(
"UNKNOWN");
453 return ESPHOME_PSTR(
"NUMBER_MODE_AUTO");
455 return ESPHOME_PSTR(
"NUMBER_MODE_BOX");
457 return ESPHOME_PSTR(
"NUMBER_MODE_SLIDER");
459 return ESPHOME_PSTR(
"UNKNOWN");
467 return ESPHOME_PSTR(
"LOCK_STATE_NONE");
469 return ESPHOME_PSTR(
"LOCK_STATE_LOCKED");
471 return ESPHOME_PSTR(
"LOCK_STATE_UNLOCKED");
473 return ESPHOME_PSTR(
"LOCK_STATE_JAMMED");
475 return ESPHOME_PSTR(
"LOCK_STATE_LOCKING");
477 return ESPHOME_PSTR(
"LOCK_STATE_UNLOCKING");
479 return ESPHOME_PSTR(
"UNKNOWN");
485 return ESPHOME_PSTR(
"LOCK_UNLOCK");
487 return ESPHOME_PSTR(
"LOCK_LOCK");
489 return ESPHOME_PSTR(
"LOCK_OPEN");
491 return ESPHOME_PSTR(
"UNKNOWN");
495#ifdef USE_MEDIA_PLAYER
499 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_NONE");
501 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_IDLE");
503 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_PLAYING");
505 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_PAUSED");
507 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_ANNOUNCING");
509 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_OFF");
511 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_ON");
513 return ESPHOME_PSTR(
"UNKNOWN");
519 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_PLAY");
521 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_PAUSE");
523 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_STOP");
525 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_MUTE");
527 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_UNMUTE");
529 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_TOGGLE");
531 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_VOLUME_UP");
533 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_VOLUME_DOWN");
535 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_ENQUEUE");
537 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_REPEAT_ONE");
539 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_REPEAT_OFF");
541 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_CLEAR_PLAYLIST");
543 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_TURN_ON");
545 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_TURN_OFF");
547 return ESPHOME_PSTR(
"UNKNOWN");
553 return ESPHOME_PSTR(
"MEDIA_PLAYER_FORMAT_PURPOSE_DEFAULT");
555 return ESPHOME_PSTR(
"MEDIA_PLAYER_FORMAT_PURPOSE_ANNOUNCEMENT");
557 return ESPHOME_PSTR(
"UNKNOWN");
561#ifdef USE_BLUETOOTH_PROXY
566 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT");
568 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_DISCONNECT");
570 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_PAIR");
572 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_UNPAIR");
574 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE");
576 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE");
578 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_CLEAR_CACHE");
580 return ESPHOME_PSTR(
"UNKNOWN");
586 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_IDLE");
588 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_STARTING");
590 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_RUNNING");
592 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_FAILED");
594 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_STOPPING");
596 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_STOPPED");
598 return ESPHOME_PSTR(
"UNKNOWN");
604 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_MODE_PASSIVE");
606 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_MODE_ACTIVE");
608 return ESPHOME_PSTR(
"UNKNOWN");
616 return ESPHOME_PSTR(
"VOICE_ASSISTANT_SUBSCRIBE_NONE");
618 return ESPHOME_PSTR(
"VOICE_ASSISTANT_SUBSCRIBE_API_AUDIO");
620 return ESPHOME_PSTR(
"UNKNOWN");
626 return ESPHOME_PSTR(
"VOICE_ASSISTANT_REQUEST_NONE");
628 return ESPHOME_PSTR(
"VOICE_ASSISTANT_REQUEST_USE_VAD");
630 return ESPHOME_PSTR(
"VOICE_ASSISTANT_REQUEST_USE_WAKE_WORD");
632 return ESPHOME_PSTR(
"UNKNOWN");
635#ifdef USE_VOICE_ASSISTANT
639 return ESPHOME_PSTR(
"VOICE_ASSISTANT_ERROR");
641 return ESPHOME_PSTR(
"VOICE_ASSISTANT_RUN_START");
643 return ESPHOME_PSTR(
"VOICE_ASSISTANT_RUN_END");
645 return ESPHOME_PSTR(
"VOICE_ASSISTANT_STT_START");
647 return ESPHOME_PSTR(
"VOICE_ASSISTANT_STT_END");
649 return ESPHOME_PSTR(
"VOICE_ASSISTANT_INTENT_START");
651 return ESPHOME_PSTR(
"VOICE_ASSISTANT_INTENT_END");
653 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TTS_START");
655 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TTS_END");
657 return ESPHOME_PSTR(
"VOICE_ASSISTANT_WAKE_WORD_START");
659 return ESPHOME_PSTR(
"VOICE_ASSISTANT_WAKE_WORD_END");
661 return ESPHOME_PSTR(
"VOICE_ASSISTANT_STT_VAD_START");
663 return ESPHOME_PSTR(
"VOICE_ASSISTANT_STT_VAD_END");
665 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TTS_STREAM_START");
667 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TTS_STREAM_END");
669 return ESPHOME_PSTR(
"VOICE_ASSISTANT_INTENT_PROGRESS");
671 return ESPHOME_PSTR(
"UNKNOWN");
677 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TIMER_STARTED");
679 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TIMER_UPDATED");
681 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TIMER_CANCELLED");
683 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TIMER_FINISHED");
685 return ESPHOME_PSTR(
"UNKNOWN");
689#ifdef USE_ALARM_CONTROL_PANEL
693 return ESPHOME_PSTR(
"ALARM_STATE_DISARMED");
695 return ESPHOME_PSTR(
"ALARM_STATE_ARMED_HOME");
697 return ESPHOME_PSTR(
"ALARM_STATE_ARMED_AWAY");
699 return ESPHOME_PSTR(
"ALARM_STATE_ARMED_NIGHT");
701 return ESPHOME_PSTR(
"ALARM_STATE_ARMED_VACATION");
703 return ESPHOME_PSTR(
"ALARM_STATE_ARMED_CUSTOM_BYPASS");
705 return ESPHOME_PSTR(
"ALARM_STATE_PENDING");
707 return ESPHOME_PSTR(
"ALARM_STATE_ARMING");
709 return ESPHOME_PSTR(
"ALARM_STATE_DISARMING");
711 return ESPHOME_PSTR(
"ALARM_STATE_TRIGGERED");
713 return ESPHOME_PSTR(
"UNKNOWN");
720 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_DISARM");
722 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_ARM_AWAY");
724 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_ARM_HOME");
726 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_ARM_NIGHT");
728 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_ARM_VACATION");
730 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_ARM_CUSTOM_BYPASS");
732 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_TRIGGER");
734 return ESPHOME_PSTR(
"UNKNOWN");
742 return ESPHOME_PSTR(
"TEXT_MODE_TEXT");
744 return ESPHOME_PSTR(
"TEXT_MODE_PASSWORD");
746 return ESPHOME_PSTR(
"UNKNOWN");
754 return ESPHOME_PSTR(
"VALVE_OPERATION_IDLE");
756 return ESPHOME_PSTR(
"VALVE_OPERATION_IS_OPENING");
758 return ESPHOME_PSTR(
"VALVE_OPERATION_IS_CLOSING");
760 return ESPHOME_PSTR(
"UNKNOWN");
768 return ESPHOME_PSTR(
"UPDATE_COMMAND_NONE");
770 return ESPHOME_PSTR(
"UPDATE_COMMAND_UPDATE");
772 return ESPHOME_PSTR(
"UPDATE_COMMAND_CHECK");
774 return ESPHOME_PSTR(
"UNKNOWN");
778#ifdef USE_ZWAVE_PROXY
782 return ESPHOME_PSTR(
"ZWAVE_PROXY_REQUEST_TYPE_SUBSCRIBE");
784 return ESPHOME_PSTR(
"ZWAVE_PROXY_REQUEST_TYPE_UNSUBSCRIBE");
786 return ESPHOME_PSTR(
"ZWAVE_PROXY_REQUEST_TYPE_HOME_ID_CHANGE");
788 return ESPHOME_PSTR(
"UNKNOWN");
792#ifdef USE_SERIAL_PROXY
796 return ESPHOME_PSTR(
"SERIAL_PROXY_PARITY_NONE");
798 return ESPHOME_PSTR(
"SERIAL_PROXY_PARITY_EVEN");
800 return ESPHOME_PSTR(
"SERIAL_PROXY_PARITY_ODD");
802 return ESPHOME_PSTR(
"UNKNOWN");
808 return ESPHOME_PSTR(
"SERIAL_PROXY_REQUEST_TYPE_SUBSCRIBE");
810 return ESPHOME_PSTR(
"SERIAL_PROXY_REQUEST_TYPE_UNSUBSCRIBE");
812 return ESPHOME_PSTR(
"SERIAL_PROXY_REQUEST_TYPE_FLUSH");
814 return ESPHOME_PSTR(
"UNKNOWN");
820 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_OK");
822 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_ASSUMED_SUCCESS");
824 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_ERROR");
826 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_TIMEOUT");
828 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_NOT_SUPPORTED");
830 return ESPHOME_PSTR(
"UNKNOWN");
836 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HelloRequest"));
837 dump_field(out, ESPHOME_PSTR(
"client_info"), this->
client_info);
843 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HelloResponse"));
846 dump_field(out, ESPHOME_PSTR(
"server_info"), this->
server_info);
847 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
851 out.
append_p(ESPHOME_PSTR(
"DisconnectRequest {}"));
855 out.
append_p(ESPHOME_PSTR(
"DisconnectResponse {}"));
859 out.
append_p(ESPHOME_PSTR(
"PingRequest {}"));
863 out.
append_p(ESPHOME_PSTR(
"PingResponse {}"));
868 MessageDumpHelper helper(out, ESPHOME_PSTR(
"AreaInfo"));
869 dump_field(out, ESPHOME_PSTR(
"area_id"), this->
area_id);
870 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
876 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DeviceInfo"));
877 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
878 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
879 dump_field(out, ESPHOME_PSTR(
"area_id"), this->
area_id);
883#ifdef USE_SERIAL_PROXY
885 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyInfo"));
886 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
892 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DeviceInfoResponse"));
893 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
894 dump_field(out, ESPHOME_PSTR(
"mac_address"), this->
mac_address);
895 dump_field(out, ESPHOME_PSTR(
"esphome_version"), this->
esphome_version);
897 dump_field(out, ESPHOME_PSTR(
"model"), this->
model);
899 dump_field(out, ESPHOME_PSTR(
"has_deep_sleep"), this->
has_deep_sleep);
901#ifdef ESPHOME_PROJECT_NAME
902 dump_field(out, ESPHOME_PSTR(
"project_name"), this->
project_name);
904#ifdef ESPHOME_PROJECT_NAME
905 dump_field(out, ESPHOME_PSTR(
"project_version"), this->
project_version);
908 dump_field(out, ESPHOME_PSTR(
"webserver_port"), this->
webserver_port);
910#ifdef USE_BLUETOOTH_PROXY
913 dump_field(out, ESPHOME_PSTR(
"manufacturer"), this->
manufacturer);
914 dump_field(out, ESPHOME_PSTR(
"friendly_name"), this->
friendly_name);
915#ifdef USE_VOICE_ASSISTANT
919 dump_field(out, ESPHOME_PSTR(
"suggested_area"), this->
suggested_area);
921#ifdef USE_BLUETOOTH_PROXY
928 for (
const auto &it : this->
devices) {
935 for (
const auto &it : this->
areas) {
946#ifdef USE_ZWAVE_PROXY
949#ifdef USE_ZWAVE_PROXY
950 dump_field(out, ESPHOME_PSTR(
"zwave_home_id"), this->
zwave_home_id);
952#ifdef USE_SERIAL_PROXY
962 out.
append_p(ESPHOME_PSTR(
"ListEntitiesDoneResponse {}"));
965#ifdef USE_BINARY_SENSOR
967 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesBinarySensorResponse"));
968 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
969 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
970 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
971 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
974#ifdef USE_ENTITY_ICON
975 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
979 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
984 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BinarySensorStateResponse"));
985 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
986 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
987 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
989 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
996 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesCoverResponse"));
997 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
998 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
999 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1000 dump_field(out, ESPHOME_PSTR(
"assumed_state"), this->
assumed_state);
1002 dump_field(out, ESPHOME_PSTR(
"supports_tilt"), this->
supports_tilt);
1003 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1005#ifdef USE_ENTITY_ICON
1006 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1009 dump_field(out, ESPHOME_PSTR(
"supports_stop"), this->
supports_stop);
1011 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1016 MessageDumpHelper helper(out, ESPHOME_PSTR(
"CoverStateResponse"));
1017 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1018 dump_field(out, ESPHOME_PSTR(
"position"), this->
position);
1019 dump_field(out, ESPHOME_PSTR(
"tilt"), this->
tilt);
1022 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1027 MessageDumpHelper helper(out, ESPHOME_PSTR(
"CoverCommandRequest"));
1028 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1029 dump_field(out, ESPHOME_PSTR(
"has_position"), this->
has_position);
1030 dump_field(out, ESPHOME_PSTR(
"position"), this->
position);
1031 dump_field(out, ESPHOME_PSTR(
"has_tilt"), this->
has_tilt);
1032 dump_field(out, ESPHOME_PSTR(
"tilt"), this->
tilt);
1033 dump_field(out, ESPHOME_PSTR(
"stop"), this->
stop);
1035 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1042 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesFanResponse"));
1043 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1044 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1045 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1047 dump_field(out, ESPHOME_PSTR(
"supports_speed"), this->
supports_speed);
1051#ifdef USE_ENTITY_ICON
1052 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1056 dump_field(out, ESPHOME_PSTR(
"supported_preset_modes"), it, 4);
1059 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1064 MessageDumpHelper helper(out, ESPHOME_PSTR(
"FanStateResponse"));
1065 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1066 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1067 dump_field(out, ESPHOME_PSTR(
"oscillating"), this->
oscillating);
1069 dump_field(out, ESPHOME_PSTR(
"speed_level"), this->
speed_level);
1070 dump_field(out, ESPHOME_PSTR(
"preset_mode"), this->
preset_mode);
1072 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1077 MessageDumpHelper helper(out, ESPHOME_PSTR(
"FanCommandRequest"));
1078 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1079 dump_field(out, ESPHOME_PSTR(
"has_state"), this->
has_state);
1080 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1081 dump_field(out, ESPHOME_PSTR(
"has_oscillating"), this->
has_oscillating);
1082 dump_field(out, ESPHOME_PSTR(
"oscillating"), this->
oscillating);
1083 dump_field(out, ESPHOME_PSTR(
"has_direction"), this->
has_direction);
1085 dump_field(out, ESPHOME_PSTR(
"has_speed_level"), this->
has_speed_level);
1086 dump_field(out, ESPHOME_PSTR(
"speed_level"), this->
speed_level);
1087 dump_field(out, ESPHOME_PSTR(
"has_preset_mode"), this->
has_preset_mode);
1088 dump_field(out, ESPHOME_PSTR(
"preset_mode"), this->
preset_mode);
1090 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1097 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesLightResponse"));
1098 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1099 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1100 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1102 dump_field(out, ESPHOME_PSTR(
"supported_color_modes"),
static_cast<enums::ColorMode>(it), 4);
1104 dump_field(out, ESPHOME_PSTR(
"min_mireds"), this->
min_mireds);
1105 dump_field(out, ESPHOME_PSTR(
"max_mireds"), this->
max_mireds);
1106 for (
const auto &it : *this->
effects) {
1107 dump_field(out, ESPHOME_PSTR(
"effects"), it, 4);
1110#ifdef USE_ENTITY_ICON
1111 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1115 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1120 MessageDumpHelper helper(out, ESPHOME_PSTR(
"LightStateResponse"));
1121 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1122 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1123 dump_field(out, ESPHOME_PSTR(
"brightness"), this->
brightness);
1126 dump_field(out, ESPHOME_PSTR(
"red"), this->
red);
1127 dump_field(out, ESPHOME_PSTR(
"green"), this->
green);
1128 dump_field(out, ESPHOME_PSTR(
"blue"), this->
blue);
1129 dump_field(out, ESPHOME_PSTR(
"white"), this->
white);
1131 dump_field(out, ESPHOME_PSTR(
"cold_white"), this->
cold_white);
1132 dump_field(out, ESPHOME_PSTR(
"warm_white"), this->
warm_white);
1133 dump_field(out, ESPHOME_PSTR(
"effect"), this->
effect);
1135 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1140 MessageDumpHelper helper(out, ESPHOME_PSTR(
"LightCommandRequest"));
1141 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1142 dump_field(out, ESPHOME_PSTR(
"has_state"), this->
has_state);
1143 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1144 dump_field(out, ESPHOME_PSTR(
"has_brightness"), this->
has_brightness);
1145 dump_field(out, ESPHOME_PSTR(
"brightness"), this->
brightness);
1146 dump_field(out, ESPHOME_PSTR(
"has_color_mode"), this->
has_color_mode);
1150 dump_field(out, ESPHOME_PSTR(
"has_rgb"), this->
has_rgb);
1151 dump_field(out, ESPHOME_PSTR(
"red"), this->
red);
1152 dump_field(out, ESPHOME_PSTR(
"green"), this->
green);
1153 dump_field(out, ESPHOME_PSTR(
"blue"), this->
blue);
1154 dump_field(out, ESPHOME_PSTR(
"has_white"), this->
has_white);
1155 dump_field(out, ESPHOME_PSTR(
"white"), this->
white);
1158 dump_field(out, ESPHOME_PSTR(
"has_cold_white"), this->
has_cold_white);
1159 dump_field(out, ESPHOME_PSTR(
"cold_white"), this->
cold_white);
1160 dump_field(out, ESPHOME_PSTR(
"has_warm_white"), this->
has_warm_white);
1161 dump_field(out, ESPHOME_PSTR(
"warm_white"), this->
warm_white);
1165 dump_field(out, ESPHOME_PSTR(
"flash_length"), this->
flash_length);
1166 dump_field(out, ESPHOME_PSTR(
"has_effect"), this->
has_effect);
1167 dump_field(out, ESPHOME_PSTR(
"effect"), this->
effect);
1169 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1176 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesSensorResponse"));
1177 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1178 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1179 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1180#ifdef USE_ENTITY_ICON
1181 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1185 dump_field(out, ESPHOME_PSTR(
"force_update"), this->
force_update);
1186 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1191 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1196 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SensorStateResponse"));
1197 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1198 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1199 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
1201 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1208 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesSwitchResponse"));
1209 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1210 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1211 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1212#ifdef USE_ENTITY_ICON
1213 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1215 dump_field(out, ESPHOME_PSTR(
"assumed_state"), this->
assumed_state);
1218 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1220 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1225 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SwitchStateResponse"));
1226 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1227 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1229 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1234 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SwitchCommandRequest"));
1235 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1236 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1238 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1243#ifdef USE_TEXT_SENSOR
1245 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesTextSensorResponse"));
1246 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1247 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1248 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1249#ifdef USE_ENTITY_ICON
1250 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1254 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1256 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1261 MessageDumpHelper helper(out, ESPHOME_PSTR(
"TextSensorStateResponse"));
1262 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1263 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1264 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
1266 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1272 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SubscribeLogsRequest"));
1274 dump_field(out, ESPHOME_PSTR(
"dump_config"), this->
dump_config);
1278 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SubscribeLogsResponse"));
1285 MessageDumpHelper helper(out, ESPHOME_PSTR(
"NoiseEncryptionSetKeyRequest"));
1286 dump_bytes_field(out, ESPHOME_PSTR(
"key"), this->
key, this->
key_len);
1290 MessageDumpHelper helper(out, ESPHOME_PSTR(
"NoiseEncryptionSetKeyResponse"));
1291 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
1295#ifdef USE_API_HOMEASSISTANT_SERVICES
1297 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HomeassistantServiceMap"));
1298 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1299 dump_field(out, ESPHOME_PSTR(
"value"), this->value);
1303 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HomeassistantActionRequest"));
1304 dump_field(out, ESPHOME_PSTR(
"service"), this->
service);
1305 for (
const auto &it : this->data) {
1315 for (
const auto &it : this->
variables) {
1320 dump_field(out, ESPHOME_PSTR(
"is_event"), this->
is_event);
1321#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
1322 dump_field(out, ESPHOME_PSTR(
"call_id"), this->
call_id);
1324#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1325 dump_field(out, ESPHOME_PSTR(
"wants_response"), this->
wants_response);
1327#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1333#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
1335 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HomeassistantActionResponse"));
1336 dump_field(out, ESPHOME_PSTR(
"call_id"), this->
call_id);
1337 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
1338 dump_field(out, ESPHOME_PSTR(
"error_message"), this->
error_message);
1339#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1345#ifdef USE_API_HOMEASSISTANT_STATES
1347 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SubscribeHomeAssistantStateResponse"));
1348 dump_field(out, ESPHOME_PSTR(
"entity_id"), this->
entity_id);
1349 dump_field(out, ESPHOME_PSTR(
"attribute"), this->
attribute);
1350 dump_field(out, ESPHOME_PSTR(
"once"), this->
once);
1354 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HomeAssistantStateResponse"));
1355 dump_field(out, ESPHOME_PSTR(
"entity_id"), this->
entity_id);
1356 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1357 dump_field(out, ESPHOME_PSTR(
"attribute"), this->
attribute);
1362 out.
append_p(ESPHOME_PSTR(
"GetTimeRequest {}"));
1366 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DSTRule"));
1367 dump_field(out, ESPHOME_PSTR(
"time_seconds"), this->
time_seconds);
1368 dump_field(out, ESPHOME_PSTR(
"day"), this->
day);
1370 dump_field(out, ESPHOME_PSTR(
"month"), this->
month);
1371 dump_field(out, ESPHOME_PSTR(
"week"), this->
week);
1372 dump_field(out, ESPHOME_PSTR(
"day_of_week"), this->
day_of_week);
1376 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ParsedTimezone"));
1388 MessageDumpHelper helper(out, ESPHOME_PSTR(
"GetTimeResponse"));
1389 dump_field(out, ESPHOME_PSTR(
"epoch_seconds"), this->
epoch_seconds);
1390 dump_field(out, ESPHOME_PSTR(
"timezone"), this->
timezone);
1396#ifdef USE_API_USER_DEFINED_ACTIONS
1398 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesServicesArgument"));
1399 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1404 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesServicesResponse"));
1405 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1406 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1407 for (
const auto &it : this->
args) {
1416 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ExecuteServiceArgument"));
1417 dump_field(out, ESPHOME_PSTR(
"bool_"), this->
bool_);
1418 dump_field(out, ESPHOME_PSTR(
"legacy_int"), this->
legacy_int);
1419 dump_field(out, ESPHOME_PSTR(
"float_"), this->
float_);
1420 dump_field(out, ESPHOME_PSTR(
"string_"), this->
string_);
1421 dump_field(out, ESPHOME_PSTR(
"int_"), this->
int_);
1423 dump_field(out, ESPHOME_PSTR(
"bool_array"),
static_cast<bool>(it), 4);
1425 for (
const auto &it : this->
int_array) {
1426 dump_field(out, ESPHOME_PSTR(
"int_array"), it, 4);
1429 dump_field(out, ESPHOME_PSTR(
"float_array"), it, 4);
1432 dump_field(out, ESPHOME_PSTR(
"string_array"), it, 4);
1437 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ExecuteServiceRequest"));
1438 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1439 for (
const auto &it : this->
args) {
1444#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1445 dump_field(out, ESPHOME_PSTR(
"call_id"), this->
call_id);
1447#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1448 dump_field(out, ESPHOME_PSTR(
"return_response"), this->
return_response);
1453#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1455 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ExecuteServiceResponse"));
1456 dump_field(out, ESPHOME_PSTR(
"call_id"), this->
call_id);
1457 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
1458 dump_field(out, ESPHOME_PSTR(
"error_message"), this->
error_message);
1459#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES_JSON
1467 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesCameraResponse"));
1468 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1469 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1470 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1472#ifdef USE_ENTITY_ICON
1473 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1477 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1482 MessageDumpHelper helper(out, ESPHOME_PSTR(
"CameraImageResponse"));
1483 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1485 dump_field(out, ESPHOME_PSTR(
"done"), this->
done);
1487 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1492 MessageDumpHelper helper(out, ESPHOME_PSTR(
"CameraImageRequest"));
1493 dump_field(out, ESPHOME_PSTR(
"single"), this->
single);
1494 dump_field(out, ESPHOME_PSTR(
"stream"), this->
stream);
1500 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesClimateResponse"));
1501 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1502 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1503 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1507 dump_field(out, ESPHOME_PSTR(
"supported_modes"),
static_cast<enums::ClimateMode>(it), 4);
1512 dump_field(out, ESPHOME_PSTR(
"supports_action"), this->
supports_action);
1520 dump_field(out, ESPHOME_PSTR(
"supported_custom_fan_modes"), it, 4);
1526 dump_field(out, ESPHOME_PSTR(
"supported_custom_presets"), it, 4);
1529#ifdef USE_ENTITY_ICON
1530 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1539 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1541 dump_field(out, ESPHOME_PSTR(
"feature_flags"), this->
feature_flags);
1545 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ClimateStateResponse"));
1546 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1555 dump_field(out, ESPHOME_PSTR(
"custom_fan_mode"), this->
custom_fan_mode);
1557 dump_field(out, ESPHOME_PSTR(
"custom_preset"), this->
custom_preset);
1559 dump_field(out, ESPHOME_PSTR(
"target_humidity"), this->
target_humidity);
1561 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1566 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ClimateCommandRequest"));
1567 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1568 dump_field(out, ESPHOME_PSTR(
"has_mode"), this->
has_mode);
1576 dump_field(out, ESPHOME_PSTR(
"has_fan_mode"), this->
has_fan_mode);
1578 dump_field(out, ESPHOME_PSTR(
"has_swing_mode"), this->
has_swing_mode);
1581 dump_field(out, ESPHOME_PSTR(
"custom_fan_mode"), this->
custom_fan_mode);
1582 dump_field(out, ESPHOME_PSTR(
"has_preset"), this->
has_preset);
1585 dump_field(out, ESPHOME_PSTR(
"custom_preset"), this->
custom_preset);
1587 dump_field(out, ESPHOME_PSTR(
"target_humidity"), this->
target_humidity);
1589 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1594#ifdef USE_WATER_HEATER
1596 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesWaterHeaterResponse"));
1597 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1598 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1599 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1600#ifdef USE_ENTITY_ICON
1601 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1606 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1608 dump_field(out, ESPHOME_PSTR(
"min_temperature"), this->
min_temperature);
1609 dump_field(out, ESPHOME_PSTR(
"max_temperature"), this->
max_temperature);
1618 MessageDumpHelper helper(out, ESPHOME_PSTR(
"WaterHeaterStateResponse"));
1619 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1624 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1626 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1632 MessageDumpHelper helper(out, ESPHOME_PSTR(
"WaterHeaterCommandRequest"));
1633 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1634 dump_field(out, ESPHOME_PSTR(
"has_fields"), this->
has_fields);
1638 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1640 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1648 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesNumberResponse"));
1649 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1650 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1651 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1652#ifdef USE_ENTITY_ICON
1653 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1655 dump_field(out, ESPHOME_PSTR(
"min_value"), this->
min_value);
1656 dump_field(out, ESPHOME_PSTR(
"max_value"), this->
max_value);
1657 dump_field(out, ESPHOME_PSTR(
"step"), this->
step);
1662 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1664 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1669 MessageDumpHelper helper(out, ESPHOME_PSTR(
"NumberStateResponse"));
1670 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1671 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1672 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
1674 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1679 MessageDumpHelper helper(out, ESPHOME_PSTR(
"NumberCommandRequest"));
1680 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1681 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1683 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1690 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesSelectResponse"));
1691 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1692 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1693 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1694#ifdef USE_ENTITY_ICON
1695 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1697 for (
const auto &it : *this->
options) {
1698 dump_field(out, ESPHOME_PSTR(
"options"), it, 4);
1703 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1708 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SelectStateResponse"));
1709 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1710 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1711 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
1713 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1718 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SelectCommandRequest"));
1719 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1720 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1722 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1729 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesSirenResponse"));
1730 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1731 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1732 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1733#ifdef USE_ENTITY_ICON
1734 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1737 for (
const auto &it : *this->
tones) {
1738 dump_field(out, ESPHOME_PSTR(
"tones"), it, 4);
1741 dump_field(out, ESPHOME_PSTR(
"supports_volume"), this->
supports_volume);
1744 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1749 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SirenStateResponse"));
1750 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1751 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1753 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1758 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SirenCommandRequest"));
1759 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1760 dump_field(out, ESPHOME_PSTR(
"has_state"), this->
has_state);
1761 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1762 dump_field(out, ESPHOME_PSTR(
"has_tone"), this->
has_tone);
1763 dump_field(out, ESPHOME_PSTR(
"tone"), this->
tone);
1764 dump_field(out, ESPHOME_PSTR(
"has_duration"), this->
has_duration);
1765 dump_field(out, ESPHOME_PSTR(
"duration"), this->
duration);
1766 dump_field(out, ESPHOME_PSTR(
"has_volume"), this->
has_volume);
1767 dump_field(out, ESPHOME_PSTR(
"volume"), this->
volume);
1769 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1776 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesLockResponse"));
1777 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1778 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1779 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1780#ifdef USE_ENTITY_ICON
1781 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1785 dump_field(out, ESPHOME_PSTR(
"assumed_state"), this->
assumed_state);
1786 dump_field(out, ESPHOME_PSTR(
"supports_open"), this->
supports_open);
1787 dump_field(out, ESPHOME_PSTR(
"requires_code"), this->
requires_code);
1788 dump_field(out, ESPHOME_PSTR(
"code_format"), this->
code_format);
1790 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1795 MessageDumpHelper helper(out, ESPHOME_PSTR(
"LockStateResponse"));
1796 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1799 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1804 MessageDumpHelper helper(out, ESPHOME_PSTR(
"LockCommandRequest"));
1805 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1807 dump_field(out, ESPHOME_PSTR(
"has_code"), this->
has_code);
1808 dump_field(out, ESPHOME_PSTR(
"code"), this->
code);
1810 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1817 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesButtonResponse"));
1818 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1819 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1820 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1821#ifdef USE_ENTITY_ICON
1822 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1826 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1828 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1833 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ButtonCommandRequest"));
1834 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1836 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1841#ifdef USE_MEDIA_PLAYER
1843 MessageDumpHelper helper(out, ESPHOME_PSTR(
"MediaPlayerSupportedFormat"));
1844 dump_field(out, ESPHOME_PSTR(
"format"), this->
format);
1845 dump_field(out, ESPHOME_PSTR(
"sample_rate"), this->
sample_rate);
1846 dump_field(out, ESPHOME_PSTR(
"num_channels"), this->
num_channels);
1848 dump_field(out, ESPHOME_PSTR(
"sample_bytes"), this->
sample_bytes);
1852 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesMediaPlayerResponse"));
1853 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1854 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1855 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1856#ifdef USE_ENTITY_ICON
1857 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1861 dump_field(out, ESPHOME_PSTR(
"supports_pause"), this->
supports_pause);
1868 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1870 dump_field(out, ESPHOME_PSTR(
"feature_flags"), this->
feature_flags);
1874 MessageDumpHelper helper(out, ESPHOME_PSTR(
"MediaPlayerStateResponse"));
1875 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1877 dump_field(out, ESPHOME_PSTR(
"volume"), this->
volume);
1878 dump_field(out, ESPHOME_PSTR(
"muted"), this->
muted);
1880 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1885 MessageDumpHelper helper(out, ESPHOME_PSTR(
"MediaPlayerCommandRequest"));
1886 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1887 dump_field(out, ESPHOME_PSTR(
"has_command"), this->
has_command);
1889 dump_field(out, ESPHOME_PSTR(
"has_volume"), this->
has_volume);
1890 dump_field(out, ESPHOME_PSTR(
"volume"), this->
volume);
1891 dump_field(out, ESPHOME_PSTR(
"has_media_url"), this->
has_media_url);
1892 dump_field(out, ESPHOME_PSTR(
"media_url"), this->
media_url);
1894 dump_field(out, ESPHOME_PSTR(
"announcement"), this->
announcement);
1896 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1901#ifdef USE_BLUETOOTH_PROXY
1903 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SubscribeBluetoothLEAdvertisementsRequest"));
1904 dump_field(out, ESPHOME_PSTR(
"flags"), this->
flags);
1908 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothLERawAdvertisement"));
1909 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
1910 dump_field(out, ESPHOME_PSTR(
"rssi"), this->
rssi);
1911 dump_field(out, ESPHOME_PSTR(
"address_type"), this->
address_type);
1912 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
1916 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothLERawAdvertisementsResponse"));
1925 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothDeviceRequest"));
1926 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
1929 dump_field(out, ESPHOME_PSTR(
"address_type"), this->
address_type);
1933 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothDeviceConnectionResponse"));
1934 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
1935 dump_field(out, ESPHOME_PSTR(
"connected"), this->
connected);
1936 dump_field(out, ESPHOME_PSTR(
"mtu"), this->
mtu);
1937 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
1941 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTGetServicesRequest"));
1942 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
1946 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTDescriptor"));
1947 for (
const auto &it : this->
uuid) {
1948 dump_field(out, ESPHOME_PSTR(
"uuid"), it, 4);
1950 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
1951 dump_field(out, ESPHOME_PSTR(
"short_uuid"), this->
short_uuid);
1955 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTCharacteristic"));
1956 for (
const auto &it : this->
uuid) {
1957 dump_field(out, ESPHOME_PSTR(
"uuid"), it, 4);
1959 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
1960 dump_field(out, ESPHOME_PSTR(
"properties"), this->
properties);
1966 dump_field(out, ESPHOME_PSTR(
"short_uuid"), this->
short_uuid);
1970 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTService"));
1971 for (
const auto &it : this->
uuid) {
1972 dump_field(out, ESPHOME_PSTR(
"uuid"), it, 4);
1974 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
1980 dump_field(out, ESPHOME_PSTR(
"short_uuid"), this->
short_uuid);
1984 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTGetServicesResponse"));
1985 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
1986 for (
const auto &it : this->
services) {
1994 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTGetServicesDoneResponse"));
1995 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
1999 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTReadRequest"));
2000 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2001 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2005 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTReadResponse"));
2006 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2007 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2012 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTWriteRequest"));
2013 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2014 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2015 dump_field(out, ESPHOME_PSTR(
"response"), this->
response);
2016 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2020 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTReadDescriptorRequest"));
2021 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2022 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2026 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTWriteDescriptorRequest"));
2027 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2028 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2029 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2033 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTNotifyRequest"));
2034 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2035 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2036 dump_field(out, ESPHOME_PSTR(
"enable"), this->
enable);
2040 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTNotifyDataResponse"));
2041 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2042 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2047 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothConnectionsFreeResponse"));
2048 dump_field(out, ESPHOME_PSTR(
"free"), this->
free);
2049 dump_field(out, ESPHOME_PSTR(
"limit"), this->
limit);
2050 for (
const auto &it : this->
allocated) {
2051 dump_field(out, ESPHOME_PSTR(
"allocated"), it, 4);
2056 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTErrorResponse"));
2057 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2058 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2059 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2063 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTWriteResponse"));
2064 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2065 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2069 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTNotifyResponse"));
2070 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2071 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2075 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothDevicePairingResponse"));
2076 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2077 dump_field(out, ESPHOME_PSTR(
"paired"), this->
paired);
2078 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2082 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothDeviceUnpairingResponse"));
2083 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2084 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
2085 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2089 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothDeviceClearCacheResponse"));
2090 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2091 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
2092 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2096 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothScannerStateResponse"));
2103 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothScannerSetModeRequest"));
2108#ifdef USE_VOICE_ASSISTANT
2110 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SubscribeVoiceAssistantRequest"));
2111 dump_field(out, ESPHOME_PSTR(
"subscribe"), this->
subscribe);
2112 dump_field(out, ESPHOME_PSTR(
"flags"), this->
flags);
2116 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantAudioSettings"));
2118 dump_field(out, ESPHOME_PSTR(
"auto_gain"), this->
auto_gain);
2123 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantRequest"));
2124 dump_field(out, ESPHOME_PSTR(
"start"), this->
start);
2125 dump_field(out, ESPHOME_PSTR(
"conversation_id"), this->
conversation_id);
2126 dump_field(out, ESPHOME_PSTR(
"flags"), this->
flags);
2134 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantResponse"));
2135 dump_field(out, ESPHOME_PSTR(
"port"), this->
port);
2136 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2140 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantEventData"));
2141 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2142 dump_field(out, ESPHOME_PSTR(
"value"), this->value);
2146 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantEventResponse"));
2148 for (
const auto &it : this->data) {
2156 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantAudio"));
2157 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2158 dump_field(out, ESPHOME_PSTR(
"end"), this->
end);
2162 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantTimerEventResponse"));
2164 dump_field(out, ESPHOME_PSTR(
"timer_id"), this->
timer_id);
2165 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2166 dump_field(out, ESPHOME_PSTR(
"total_seconds"), this->
total_seconds);
2167 dump_field(out, ESPHOME_PSTR(
"seconds_left"), this->
seconds_left);
2168 dump_field(out, ESPHOME_PSTR(
"is_active"), this->
is_active);
2172 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantAnnounceRequest"));
2173 dump_field(out, ESPHOME_PSTR(
"media_id"), this->
media_id);
2174 dump_field(out, ESPHOME_PSTR(
"text"), this->
text);
2180 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantAnnounceFinished"));
2181 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
2185 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantWakeWord"));
2186 dump_field(out, ESPHOME_PSTR(
"id"), this->
id);
2187 dump_field(out, ESPHOME_PSTR(
"wake_word"), this->
wake_word);
2189 dump_field(out, ESPHOME_PSTR(
"trained_languages"), it, 4);
2194 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantExternalWakeWord"));
2195 dump_field(out, ESPHOME_PSTR(
"id"), this->
id);
2196 dump_field(out, ESPHOME_PSTR(
"wake_word"), this->
wake_word);
2198 dump_field(out, ESPHOME_PSTR(
"trained_languages"), it, 4);
2200 dump_field(out, ESPHOME_PSTR(
"model_type"), this->
model_type);
2201 dump_field(out, ESPHOME_PSTR(
"model_size"), this->
model_size);
2202 dump_field(out, ESPHOME_PSTR(
"model_hash"), this->
model_hash);
2203 dump_field(out, ESPHOME_PSTR(
"url"), this->
url);
2207 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantConfigurationRequest"));
2216 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantConfigurationResponse"));
2223 dump_field(out, ESPHOME_PSTR(
"active_wake_words"), it, 4);
2229 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantSetConfiguration"));
2231 dump_field(out, ESPHOME_PSTR(
"active_wake_words"), it, 4);
2236#ifdef USE_ALARM_CONTROL_PANEL
2238 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesAlarmControlPanelResponse"));
2239 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2240 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2241 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2242#ifdef USE_ENTITY_ICON
2243 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2248 dump_field(out, ESPHOME_PSTR(
"requires_code"), this->
requires_code);
2251 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2256 MessageDumpHelper helper(out, ESPHOME_PSTR(
"AlarmControlPanelStateResponse"));
2257 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2260 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2265 MessageDumpHelper helper(out, ESPHOME_PSTR(
"AlarmControlPanelCommandRequest"));
2266 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2268 dump_field(out, ESPHOME_PSTR(
"code"), this->
code);
2270 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2277 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesTextResponse"));
2278 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2279 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2280 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2281#ifdef USE_ENTITY_ICON
2282 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2286 dump_field(out, ESPHOME_PSTR(
"min_length"), this->
min_length);
2287 dump_field(out, ESPHOME_PSTR(
"max_length"), this->
max_length);
2288 dump_field(out, ESPHOME_PSTR(
"pattern"), this->
pattern);
2291 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2296 MessageDumpHelper helper(out, ESPHOME_PSTR(
"TextStateResponse"));
2297 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2298 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
2299 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
2301 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2306 MessageDumpHelper helper(out, ESPHOME_PSTR(
"TextCommandRequest"));
2307 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2308 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
2310 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2315#ifdef USE_DATETIME_DATE
2317 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesDateResponse"));
2318 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2319 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2320 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2321#ifdef USE_ENTITY_ICON
2322 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2327 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2332 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DateStateResponse"));
2333 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2334 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
2335 dump_field(out, ESPHOME_PSTR(
"year"), this->
year);
2336 dump_field(out, ESPHOME_PSTR(
"month"), this->
month);
2337 dump_field(out, ESPHOME_PSTR(
"day"), this->
day);
2339 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2344 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DateCommandRequest"));
2345 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2346 dump_field(out, ESPHOME_PSTR(
"year"), this->
year);
2347 dump_field(out, ESPHOME_PSTR(
"month"), this->
month);
2348 dump_field(out, ESPHOME_PSTR(
"day"), this->
day);
2350 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2355#ifdef USE_DATETIME_TIME
2357 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesTimeResponse"));
2358 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2359 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2360 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2361#ifdef USE_ENTITY_ICON
2362 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2367 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2372 MessageDumpHelper helper(out, ESPHOME_PSTR(
"TimeStateResponse"));
2373 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2374 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
2375 dump_field(out, ESPHOME_PSTR(
"hour"), this->
hour);
2376 dump_field(out, ESPHOME_PSTR(
"minute"), this->
minute);
2377 dump_field(out, ESPHOME_PSTR(
"second"), this->
second);
2379 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2384 MessageDumpHelper helper(out, ESPHOME_PSTR(
"TimeCommandRequest"));
2385 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2386 dump_field(out, ESPHOME_PSTR(
"hour"), this->
hour);
2387 dump_field(out, ESPHOME_PSTR(
"minute"), this->
minute);
2388 dump_field(out, ESPHOME_PSTR(
"second"), this->
second);
2390 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2397 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesEventResponse"));
2398 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2399 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2400 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2401#ifdef USE_ENTITY_ICON
2402 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2406 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
2408 dump_field(out, ESPHOME_PSTR(
"event_types"), it, 4);
2411 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2416 MessageDumpHelper helper(out, ESPHOME_PSTR(
"EventResponse"));
2417 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2418 dump_field(out, ESPHOME_PSTR(
"event_type"), this->
event_type);
2420 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2427 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesValveResponse"));
2428 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2429 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2430 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2431#ifdef USE_ENTITY_ICON
2432 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2436 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
2437 dump_field(out, ESPHOME_PSTR(
"assumed_state"), this->
assumed_state);
2439 dump_field(out, ESPHOME_PSTR(
"supports_stop"), this->
supports_stop);
2441 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2446 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ValveStateResponse"));
2447 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2448 dump_field(out, ESPHOME_PSTR(
"position"), this->
position);
2451 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2456 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ValveCommandRequest"));
2457 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2458 dump_field(out, ESPHOME_PSTR(
"has_position"), this->
has_position);
2459 dump_field(out, ESPHOME_PSTR(
"position"), this->
position);
2460 dump_field(out, ESPHOME_PSTR(
"stop"), this->
stop);
2462 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2467#ifdef USE_DATETIME_DATETIME
2469 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesDateTimeResponse"));
2470 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2471 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2472 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2473#ifdef USE_ENTITY_ICON
2474 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2479 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2484 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DateTimeStateResponse"));
2485 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2486 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
2487 dump_field(out, ESPHOME_PSTR(
"epoch_seconds"), this->
epoch_seconds);
2489 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2494 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DateTimeCommandRequest"));
2495 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2496 dump_field(out, ESPHOME_PSTR(
"epoch_seconds"), this->
epoch_seconds);
2498 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2505 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesUpdateResponse"));
2506 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2507 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2508 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2509#ifdef USE_ENTITY_ICON
2510 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2514 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
2516 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2521 MessageDumpHelper helper(out, ESPHOME_PSTR(
"UpdateStateResponse"));
2522 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2523 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
2524 dump_field(out, ESPHOME_PSTR(
"in_progress"), this->
in_progress);
2525 dump_field(out, ESPHOME_PSTR(
"has_progress"), this->
has_progress);
2526 dump_field(out, ESPHOME_PSTR(
"progress"), this->
progress);
2527 dump_field(out, ESPHOME_PSTR(
"current_version"), this->
current_version);
2528 dump_field(out, ESPHOME_PSTR(
"latest_version"), this->
latest_version);
2529 dump_field(out, ESPHOME_PSTR(
"title"), this->
title);
2530 dump_field(out, ESPHOME_PSTR(
"release_summary"), this->
release_summary);
2531 dump_field(out, ESPHOME_PSTR(
"release_url"), this->
release_url);
2533 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2538 MessageDumpHelper helper(out, ESPHOME_PSTR(
"UpdateCommandRequest"));
2539 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2542 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2547#ifdef USE_ZWAVE_PROXY
2549 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ZWaveProxyFrame"));
2550 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2554 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ZWaveProxyRequest"));
2556 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2562 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesInfraredResponse"));
2563 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2564 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2565 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2566#ifdef USE_ENTITY_ICON
2567 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2572 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2574 dump_field(out, ESPHOME_PSTR(
"capabilities"), this->
capabilities);
2581 MessageDumpHelper helper(out, ESPHOME_PSTR(
"InfraredRFTransmitRawTimingsRequest"));
2583 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2585 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2587 dump_field(out, ESPHOME_PSTR(
"repeat_count"), this->
repeat_count);
2589 out.
append_p(ESPHOME_PSTR(
"packed buffer ["));
2591 out.
append_p(ESPHOME_PSTR(
" values, "));
2593 out.
append_p(ESPHOME_PSTR(
" bytes]\n"));
2597 MessageDumpHelper helper(out, ESPHOME_PSTR(
"InfraredRFReceiveEvent"));
2599 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2601 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2602 for (
const auto &it : *this->
timings) {
2603 dump_field(out, ESPHOME_PSTR(
"timings"), it, 4);
2608#ifdef USE_SERIAL_PROXY
2610 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyConfigureRequest"));
2611 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2612 dump_field(out, ESPHOME_PSTR(
"baudrate"), this->
baudrate);
2613 dump_field(out, ESPHOME_PSTR(
"flow_control"), this->
flow_control);
2615 dump_field(out, ESPHOME_PSTR(
"stop_bits"), this->
stop_bits);
2616 dump_field(out, ESPHOME_PSTR(
"data_size"), this->
data_size);
2620 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyDataReceived"));
2621 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2626 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyWriteRequest"));
2627 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2628 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2632 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxySetModemPinsRequest"));
2633 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2634 dump_field(out, ESPHOME_PSTR(
"line_states"), this->
line_states);
2638 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyGetModemPinsRequest"));
2639 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2643 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyGetModemPinsResponse"));
2644 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2645 dump_field(out, ESPHOME_PSTR(
"line_states"), this->
line_states);
2649 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyRequest"));
2650 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2655 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyRequestResponse"));
2656 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2659 dump_field(out, ESPHOME_PSTR(
"error_message"), this->
error_message);
2663#ifdef USE_BLUETOOTH_PROXY
2665 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothSetConnectionParamsRequest"));
2666 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2667 dump_field(out, ESPHOME_PSTR(
"min_interval"), this->
min_interval);
2668 dump_field(out, ESPHOME_PSTR(
"max_interval"), this->
max_interval);
2669 dump_field(out, ESPHOME_PSTR(
"latency"), this->
latency);
2670 dump_field(out, ESPHOME_PSTR(
"timeout"), this->
timeout);
2674 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothSetConnectionParamsResponse"));
2675 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2676 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
StringRef is a reference to a string owned by something else.
constexpr const char * c_str() const
constexpr bool empty() const
constexpr size_type size() const
const char * dump_to(DumpBuffer &out) const override
enums::AlarmControlPanelStateCommand command
const char * dump_to(DumpBuffer &out) const override
enums::AlarmControlPanelState state
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
std::array< uint64_t, BLUETOOTH_PROXY_MAX_CONNECTIONS > allocated
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
enums::BluetoothDeviceRequestType request_type
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
FixedVector< BluetoothGATTDescriptor > descriptors
const char * dump_to(DumpBuffer &out) const override
std::array< uint64_t, 2 > uuid
std::array< uint64_t, 2 > uuid
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
std::vector< BluetoothGATTService > services
const char * dump_to(DumpBuffer &out) const override
const uint8_t * data_ptr_
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const uint8_t * data_ptr_
FixedVector< BluetoothGATTCharacteristic > characteristics
const char * dump_to(DumpBuffer &out) const override
std::array< uint64_t, 2 > uuid
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
std::array< BluetoothLERawAdvertisement, BLUETOOTH_PROXY_ADVERTISEMENT_BATCH_SIZE > advertisements
const char * dump_to(DumpBuffer &out) const override
uint16_t advertisements_len
enums::BluetoothScannerMode mode
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
enums::BluetoothScannerMode mode
enums::BluetoothScannerState state
enums::BluetoothScannerMode configured_mode
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const uint8_t * data_ptr_
bool has_target_temperature_high
float target_temperature_low
bool has_target_temperature_low
StringRef custom_fan_mode
float target_temperature_high
const char * dump_to(DumpBuffer &out) const override
enums::ClimateSwingMode swing_mode
enums::ClimateFanMode fan_mode
bool has_target_temperature
enums::ClimatePreset preset
enums::ClimateFanMode fan_mode
float target_temperature_low
enums::ClimateSwingMode swing_mode
const char * dump_to(DumpBuffer &out) const override
enums::ClimateAction action
enums::ClimatePreset preset
StringRef custom_fan_mode
float current_temperature
float target_temperature_high
const char * dump_to(DumpBuffer &out) const override
enums::CoverOperation current_operation
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
StringRef project_version
uint32_t zwave_proxy_feature_flags
StringRef esphome_version
std::array< AreaInfo, ESPHOME_AREA_COUNT > areas
StringRef bluetooth_mac_address
uint32_t bluetooth_proxy_feature_flags
StringRef compilation_time
uint32_t voice_assistant_feature_flags
bool api_encryption_supported
std::array< SerialProxyInfo, SERIAL_PROXY_COUNT > serial_proxies
std::array< DeviceInfo, ESPHOME_DEVICE_COUNT > devices
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
Fixed-size buffer for message dumps - avoids heap allocation.
const char * c_str() const
void append_p_esp8266(const char *str)
Out-of-line ESP8266 PROGMEM append to avoid inlining strlen_P/memcpy_P at every call site.
DumpBuffer & append_p(const char *str)
Append a PROGMEM string (flash-safe on ESP8266, regular append on other platforms)
static constexpr size_t CAPACITY
DumpBuffer & append(const char *str)
const char * dump_to(DumpBuffer &out) const override
FixedVector< bool > bool_array
FixedVector< float > float_array
FixedVector< std::string > string_array
FixedVector< int32_t > int_array
const char * dump_to(DumpBuffer &out) const override
FixedVector< ExecuteServiceArgument > args
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
uint16_t response_data_len
const uint8_t * response_data
const char * dump_to(DumpBuffer &out) const override
enums::FanDirection direction
enums::FanDirection direction
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
ParsedTimezone parsed_timezone
uint32_t api_version_major
uint32_t api_version_minor
const char * dump_to(DumpBuffer &out) const override
uint32_t api_version_minor
const char * dump_to(DumpBuffer &out) const override
uint32_t api_version_major
const char * dump_to(DumpBuffer &out) const override
FixedVector< HomeassistantServiceMap > variables
StringRef response_template
FixedVector< HomeassistantServiceMap > data_template
const char * dump_to(DumpBuffer &out) const override
const uint8_t * response_data
const char * dump_to(DumpBuffer &out) const override
uint16_t response_data_len
const char * dump_to(DumpBuffer &out) const override
enums::EntityCategory entity_category
const std::vector< int32_t > * timings
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
uint32_t carrier_frequency
bool has_color_temperature
enums::ColorMode color_mode
const char * dump_to(DumpBuffer &out) const override
bool has_transition_length
uint32_t transition_length
bool has_color_brightness
enums::ColorMode color_mode
const char * dump_to(DumpBuffer &out) const override
bool requires_code_to_arm
const char * dump_to(DumpBuffer &out) const override
uint32_t supported_features
bool is_status_binary_sensor
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const std::vector< const char * > * supported_custom_presets
const climate::ClimateSwingModeMask * supported_swing_modes
float visual_max_humidity
const std::vector< const char * > * supported_custom_fan_modes
bool supports_current_temperature
bool supports_current_humidity
bool supports_target_humidity
float visual_min_humidity
float visual_max_temperature
float visual_target_temperature_step
bool supports_two_point_target_temperature
const climate::ClimatePresetMask * supported_presets
const climate::ClimateFanModeMask * supported_fan_modes
const char * dump_to(DumpBuffer &out) const override
const climate::ClimateModeMask * supported_modes
float visual_min_temperature
float visual_current_temperature_step
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const FixedVector< const char * > * event_types
const char * dump_to(DumpBuffer &out) const override
const std::vector< const char * > * supported_preset_modes
const char * dump_to(DumpBuffer &out) const override
int32_t supported_speed_count
bool supports_oscillation
const char * dump_to(DumpBuffer &out) const override
uint32_t receiver_frequency
const char * dump_to(DumpBuffer &out) const override
const FixedVector< const char * > * effects
const light::ColorModeMask * supported_color_modes
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
StringRef unit_of_measurement
const FixedVector< const char * > * options
const char * dump_to(DumpBuffer &out) const override
int32_t accuracy_decimals
StringRef unit_of_measurement
const char * dump_to(DumpBuffer &out) const override
enums::SensorStateClass state_class
const char * dump_to(DumpBuffer &out) const override
enums::ServiceArgType type
const char * dump_to(DumpBuffer &out) const override
enums::SupportsResponseType supports_response
FixedVector< ListEntitiesServicesArgument > args
const char * dump_to(DumpBuffer &out) const override
const FixedVector< const char * > * tones
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
float target_temperature_step
const water_heater::WaterHeaterModeMask * supported_modes
uint32_t supported_features
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
enums::LockCommand command
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
int32_t std_offset_seconds
const char * dump_to(DumpBuffer &out) const override
int32_t dst_offset_seconds
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const uint8_t * data_ptr_
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
enums::SerialProxyPortType port_type
const char * dump_to(DumpBuffer &out) const override
enums::SerialProxyRequestType type
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
enums::SerialProxyRequestType type
enums::SerialProxyStatus status
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const uint8_t * message_ptr_
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
enums::UpdateCommand command
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
StringRef current_version
StringRef release_summary
const char * dump_to(DumpBuffer &out) const override
enums::ValveOperation current_operation
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
StringRef preannounce_media_id
const char * dump_to(DumpBuffer &out) const override
uint32_t noise_suppression_level
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
std::vector< VoiceAssistantExternalWakeWord > external_wake_words
std::vector< VoiceAssistantWakeWord > available_wake_words
uint32_t max_active_wake_words
const std::vector< std::string > * active_wake_words
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
enums::VoiceAssistantEvent event_type
const char * dump_to(DumpBuffer &out) const override
std::vector< std::string > trained_languages
StringRef conversation_id
const char * dump_to(DumpBuffer &out) const override
StringRef wake_word_phrase
VoiceAssistantAudioSettings audio_settings
const char * dump_to(DumpBuffer &out) const override
std::vector< std::string > active_wake_words
const char * dump_to(DumpBuffer &out) const override
enums::VoiceAssistantTimerEvent event_type
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
std::vector< std::string > trained_languages
float target_temperature_low
enums::WaterHeaterMode mode
float target_temperature_high
const char * dump_to(DumpBuffer &out) const override
float current_temperature
float target_temperature_low
float target_temperature_high
enums::WaterHeaterMode mode
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
enums::ZWaveProxyRequestType type
const char * dump_to(DumpBuffer &out) const override
@ MEDIA_PLAYER_STATE_NONE
@ MEDIA_PLAYER_STATE_IDLE
@ MEDIA_PLAYER_STATE_ANNOUNCING
@ MEDIA_PLAYER_STATE_PAUSED
@ MEDIA_PLAYER_STATE_PLAYING
@ ALARM_STATE_ARMED_VACATION
@ ALARM_STATE_ARMED_NIGHT
@ ALARM_STATE_ARMED_CUSTOM_BYPASS
@ SERVICE_ARG_TYPE_INT_ARRAY
@ SERVICE_ARG_TYPE_BOOL_ARRAY
@ SERVICE_ARG_TYPE_STRING
@ SERVICE_ARG_TYPE_STRING_ARRAY
@ SERVICE_ARG_TYPE_FLOAT_ARRAY
@ SERIAL_PROXY_PORT_TYPE_RS232
@ SERIAL_PROXY_PORT_TYPE_RS485
@ SERIAL_PROXY_PORT_TYPE_TTL
@ VALVE_OPERATION_IS_OPENING
@ VALVE_OPERATION_IS_CLOSING
VoiceAssistantRequestFlag
@ VOICE_ASSISTANT_REQUEST_USE_WAKE_WORD
@ VOICE_ASSISTANT_REQUEST_NONE
@ VOICE_ASSISTANT_REQUEST_USE_VAD
@ WATER_HEATER_MODE_PERFORMANCE
@ WATER_HEATER_MODE_ELECTRIC
@ WATER_HEATER_MODE_HIGH_DEMAND
@ WATER_HEATER_MODE_HEAT_PUMP
@ SUPPORTS_RESPONSE_STATUS
@ SUPPORTS_RESPONSE_OPTIONAL
@ SERIAL_PROXY_REQUEST_TYPE_UNSUBSCRIBE
@ SERIAL_PROXY_REQUEST_TYPE_FLUSH
@ SERIAL_PROXY_REQUEST_TYPE_SUBSCRIBE
@ MEDIA_PLAYER_FORMAT_PURPOSE_ANNOUNCEMENT
@ MEDIA_PLAYER_FORMAT_PURPOSE_DEFAULT
@ SERIAL_PROXY_PARITY_EVEN
@ SERIAL_PROXY_PARITY_ODD
@ SERIAL_PROXY_PARITY_NONE
@ COLOR_MODE_LEGACY_BRIGHTNESS
@ COLOR_MODE_RGB_COLOR_TEMPERATURE
@ COLOR_MODE_COLD_WARM_WHITE
@ COLOR_MODE_COLOR_TEMPERATURE
@ COLOR_MODE_RGB_COLD_WARM_WHITE
@ CLIMATE_ACTION_DEFROSTING
@ VOICE_ASSISTANT_TIMER_UPDATED
@ VOICE_ASSISTANT_TIMER_STARTED
@ VOICE_ASSISTANT_TIMER_FINISHED
@ VOICE_ASSISTANT_TIMER_CANCELLED
@ MEDIA_PLAYER_COMMAND_UNMUTE
@ MEDIA_PLAYER_COMMAND_TURN_ON
@ MEDIA_PLAYER_COMMAND_REPEAT_ONE
@ MEDIA_PLAYER_COMMAND_PLAY
@ MEDIA_PLAYER_COMMAND_STOP
@ MEDIA_PLAYER_COMMAND_REPEAT_OFF
@ MEDIA_PLAYER_COMMAND_VOLUME_DOWN
@ MEDIA_PLAYER_COMMAND_PAUSE
@ MEDIA_PLAYER_COMMAND_VOLUME_UP
@ MEDIA_PLAYER_COMMAND_TOGGLE
@ MEDIA_PLAYER_COMMAND_TURN_OFF
@ MEDIA_PLAYER_COMMAND_CLEAR_PLAYLIST
@ MEDIA_PLAYER_COMMAND_MUTE
@ MEDIA_PLAYER_COMMAND_ENQUEUE
@ VOICE_ASSISTANT_INTENT_END
@ VOICE_ASSISTANT_RUN_START
@ VOICE_ASSISTANT_TTS_END
@ VOICE_ASSISTANT_RUN_END
@ VOICE_ASSISTANT_WAKE_WORD_START
@ VOICE_ASSISTANT_TTS_STREAM_END
@ VOICE_ASSISTANT_STT_END
@ VOICE_ASSISTANT_STT_VAD_START
@ VOICE_ASSISTANT_INTENT_PROGRESS
@ VOICE_ASSISTANT_TTS_START
@ VOICE_ASSISTANT_STT_START
@ VOICE_ASSISTANT_INTENT_START
@ VOICE_ASSISTANT_TTS_STREAM_START
@ VOICE_ASSISTANT_STT_VAD_END
@ VOICE_ASSISTANT_WAKE_WORD_END
@ SERIAL_PROXY_STATUS_TIMEOUT
@ SERIAL_PROXY_STATUS_ASSUMED_SUCCESS
@ SERIAL_PROXY_STATUS_NOT_SUPPORTED
@ SERIAL_PROXY_STATUS_ERROR
BluetoothDeviceRequestType
@ BLUETOOTH_DEVICE_REQUEST_TYPE_UNPAIR
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT
@ BLUETOOTH_DEVICE_REQUEST_TYPE_PAIR
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CLEAR_CACHE
@ BLUETOOTH_DEVICE_REQUEST_TYPE_DISCONNECT
@ BLUETOOTH_SCANNER_MODE_PASSIVE
@ BLUETOOTH_SCANNER_MODE_ACTIVE
@ BLUETOOTH_SCANNER_STATE_IDLE
@ BLUETOOTH_SCANNER_STATE_STOPPED
@ BLUETOOTH_SCANNER_STATE_STARTING
@ BLUETOOTH_SCANNER_STATE_STOPPING
@ BLUETOOTH_SCANNER_STATE_RUNNING
@ BLUETOOTH_SCANNER_STATE_FAILED
@ CLIMATE_PRESET_ACTIVITY
@ DST_RULE_TYPE_MONTH_WEEK_DAY
@ DST_RULE_TYPE_DAY_OF_YEAR
@ DST_RULE_TYPE_JULIAN_NO_LEAP
WaterHeaterCommandHasField
@ WATER_HEATER_COMMAND_HAS_ON_STATE
@ WATER_HEATER_COMMAND_HAS_NONE
@ WATER_HEATER_COMMAND_HAS_STATE
@ WATER_HEATER_COMMAND_HAS_AWAY_STATE
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_LOW
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE
@ WATER_HEATER_COMMAND_HAS_MODE
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_HIGH
@ ZWAVE_PROXY_REQUEST_TYPE_SUBSCRIBE
@ ZWAVE_PROXY_REQUEST_TYPE_UNSUBSCRIBE
@ ZWAVE_PROXY_REQUEST_TYPE_HOME_ID_CHANGE
AlarmControlPanelStateCommand
@ ALARM_CONTROL_PANEL_DISARM
@ ALARM_CONTROL_PANEL_ARM_NIGHT
@ ALARM_CONTROL_PANEL_TRIGGER
@ ALARM_CONTROL_PANEL_ARM_AWAY
@ ALARM_CONTROL_PANEL_ARM_CUSTOM_BYPASS
@ ALARM_CONTROL_PANEL_ARM_HOME
@ ALARM_CONTROL_PANEL_ARM_VACATION
@ COVER_OPERATION_IS_OPENING
@ COVER_OPERATION_IS_CLOSING
@ ENTITY_CATEGORY_DIAGNOSTIC
@ CLIMATE_SWING_HORIZONTAL
VoiceAssistantSubscribeFlag
@ VOICE_ASSISTANT_SUBSCRIBE_API_AUDIO
@ VOICE_ASSISTANT_SUBSCRIBE_NONE
@ STATE_CLASS_TOTAL_INCREASING
@ STATE_CLASS_MEASUREMENT
@ STATE_CLASS_MEASUREMENT_ANGLE
const char * proto_enum_to_string< enums::AlarmControlPanelState >(enums::AlarmControlPanelState value)
const char * proto_enum_to_string< enums::VoiceAssistantEvent >(enums::VoiceAssistantEvent value)
const char * proto_enum_to_string< enums::MediaPlayerState >(enums::MediaPlayerState value)
const char * proto_enum_to_string(T value)
const char * proto_enum_to_string< enums::SerialProxyParity >(enums::SerialProxyParity value)
const char * proto_enum_to_string< enums::NumberMode >(enums::NumberMode value)
const char * proto_enum_to_string< enums::ServiceArgType >(enums::ServiceArgType value)
const char * proto_enum_to_string< enums::BluetoothScannerMode >(enums::BluetoothScannerMode value)
const char * proto_enum_to_string< enums::BluetoothScannerState >(enums::BluetoothScannerState value)
const char * proto_enum_to_string< enums::VoiceAssistantSubscribeFlag >(enums::VoiceAssistantSubscribeFlag value)
const char * proto_enum_to_string< enums::ColorMode >(enums::ColorMode value)
const char * proto_enum_to_string< enums::WaterHeaterCommandHasField >(enums::WaterHeaterCommandHasField value)
const char * proto_enum_to_string< enums::LogLevel >(enums::LogLevel value)
const char * proto_enum_to_string< enums::TextMode >(enums::TextMode value)
const char * proto_enum_to_string< enums::LockState >(enums::LockState value)
const char * proto_enum_to_string< enums::ClimateAction >(enums::ClimateAction value)
const char * proto_enum_to_string< enums::SerialProxyPortType >(enums::SerialProxyPortType value)
const char * proto_enum_to_string< enums::FanDirection >(enums::FanDirection value)
const char * proto_enum_to_string< enums::CoverOperation >(enums::CoverOperation value)
const char * proto_enum_to_string< enums::VoiceAssistantRequestFlag >(enums::VoiceAssistantRequestFlag value)
const char * proto_enum_to_string< enums::BluetoothDeviceRequestType >(enums::BluetoothDeviceRequestType value)
const char * proto_enum_to_string< enums::VoiceAssistantTimerEvent >(enums::VoiceAssistantTimerEvent value)
const char * proto_enum_to_string< enums::AlarmControlPanelStateCommand >(enums::AlarmControlPanelStateCommand value)
const char * proto_enum_to_string< enums::ClimatePreset >(enums::ClimatePreset value)
const char * proto_enum_to_string< enums::MediaPlayerFormatPurpose >(enums::MediaPlayerFormatPurpose value)
const char * proto_enum_to_string< enums::ClimateMode >(enums::ClimateMode value)
const char * proto_enum_to_string< enums::WaterHeaterMode >(enums::WaterHeaterMode value)
const char * proto_enum_to_string< enums::MediaPlayerCommand >(enums::MediaPlayerCommand value)
const char * proto_enum_to_string< enums::LockCommand >(enums::LockCommand value)
const char * proto_enum_to_string< enums::ZWaveProxyRequestType >(enums::ZWaveProxyRequestType value)
const char * proto_enum_to_string< enums::ValveOperation >(enums::ValveOperation value)
const char * proto_enum_to_string< enums::UpdateCommand >(enums::UpdateCommand value)
const char * proto_enum_to_string< enums::SerialProxyRequestType >(enums::SerialProxyRequestType value)
const char * proto_enum_to_string< enums::SupportsResponseType >(enums::SupportsResponseType value)
const char * proto_enum_to_string< enums::ClimateFanMode >(enums::ClimateFanMode value)
const char * proto_enum_to_string< enums::SerialProxyStatus >(enums::SerialProxyStatus value)
const char * proto_enum_to_string< enums::DSTRuleType >(enums::DSTRuleType value)
const char * proto_enum_to_string< enums::ClimateSwingMode >(enums::ClimateSwingMode value)
const char * proto_enum_to_string< enums::EntityCategory >(enums::EntityCategory value)
const char * proto_enum_to_string< enums::SensorStateClass >(enums::SensorStateClass value)
char * format_hex_pretty_to(char *buffer, size_t buffer_size, const uint8_t *data, size_t length, char separator)
Format byte array as uppercase hex to buffer (base implementation).
constexpr size_t format_hex_pretty_size(size_t byte_count)
Calculate buffer size needed for format_hex_pretty_to with separator: "XX:XX:...:XX\0".