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(
"DISCONNECT_REASON_UNSPECIFIED");
133 return ESPHOME_PSTR(
"DISCONNECT_REASON_PROVISIONING_CLOSED");
135 return ESPHOME_PSTR(
"UNKNOWN");
141 return ESPHOME_PSTR(
"SERIAL_PROXY_PORT_TYPE_TTL");
143 return ESPHOME_PSTR(
"SERIAL_PROXY_PORT_TYPE_RS232");
145 return ESPHOME_PSTR(
"SERIAL_PROXY_PORT_TYPE_RS485");
147 return ESPHOME_PSTR(
"UNKNOWN");
153 return ESPHOME_PSTR(
"ENTITY_CATEGORY_NONE");
155 return ESPHOME_PSTR(
"ENTITY_CATEGORY_CONFIG");
157 return ESPHOME_PSTR(
"ENTITY_CATEGORY_DIAGNOSTIC");
159 return ESPHOME_PSTR(
"UNKNOWN");
166 return ESPHOME_PSTR(
"COVER_OPERATION_IDLE");
168 return ESPHOME_PSTR(
"COVER_OPERATION_IS_OPENING");
170 return ESPHOME_PSTR(
"COVER_OPERATION_IS_CLOSING");
172 return ESPHOME_PSTR(
"UNKNOWN");
180 return ESPHOME_PSTR(
"FAN_DIRECTION_FORWARD");
182 return ESPHOME_PSTR(
"FAN_DIRECTION_REVERSE");
184 return ESPHOME_PSTR(
"UNKNOWN");
192 return ESPHOME_PSTR(
"COLOR_MODE_UNKNOWN");
194 return ESPHOME_PSTR(
"COLOR_MODE_ON_OFF");
196 return ESPHOME_PSTR(
"COLOR_MODE_LEGACY_BRIGHTNESS");
198 return ESPHOME_PSTR(
"COLOR_MODE_BRIGHTNESS");
200 return ESPHOME_PSTR(
"COLOR_MODE_WHITE");
202 return ESPHOME_PSTR(
"COLOR_MODE_COLOR_TEMPERATURE");
204 return ESPHOME_PSTR(
"COLOR_MODE_COLD_WARM_WHITE");
206 return ESPHOME_PSTR(
"COLOR_MODE_RGB");
208 return ESPHOME_PSTR(
"COLOR_MODE_RGB_WHITE");
210 return ESPHOME_PSTR(
"COLOR_MODE_RGB_COLOR_TEMPERATURE");
212 return ESPHOME_PSTR(
"COLOR_MODE_RGB_COLD_WARM_WHITE");
214 return ESPHOME_PSTR(
"UNKNOWN");
222 return ESPHOME_PSTR(
"STATE_CLASS_NONE");
224 return ESPHOME_PSTR(
"STATE_CLASS_MEASUREMENT");
226 return ESPHOME_PSTR(
"STATE_CLASS_TOTAL_INCREASING");
228 return ESPHOME_PSTR(
"STATE_CLASS_TOTAL");
230 return ESPHOME_PSTR(
"STATE_CLASS_MEASUREMENT_ANGLE");
232 return ESPHOME_PSTR(
"UNKNOWN");
239 return ESPHOME_PSTR(
"LOG_LEVEL_NONE");
241 return ESPHOME_PSTR(
"LOG_LEVEL_ERROR");
243 return ESPHOME_PSTR(
"LOG_LEVEL_WARN");
245 return ESPHOME_PSTR(
"LOG_LEVEL_INFO");
247 return ESPHOME_PSTR(
"LOG_LEVEL_CONFIG");
249 return ESPHOME_PSTR(
"LOG_LEVEL_DEBUG");
251 return ESPHOME_PSTR(
"LOG_LEVEL_VERBOSE");
253 return ESPHOME_PSTR(
"LOG_LEVEL_VERY_VERBOSE");
255 return ESPHOME_PSTR(
"UNKNOWN");
261 return ESPHOME_PSTR(
"DST_RULE_TYPE_NONE");
263 return ESPHOME_PSTR(
"DST_RULE_TYPE_MONTH_WEEK_DAY");
265 return ESPHOME_PSTR(
"DST_RULE_TYPE_JULIAN_NO_LEAP");
267 return ESPHOME_PSTR(
"DST_RULE_TYPE_DAY_OF_YEAR");
269 return ESPHOME_PSTR(
"UNKNOWN");
272#ifdef USE_API_USER_DEFINED_ACTIONS
276 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_BOOL");
278 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_INT");
280 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_FLOAT");
282 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_STRING");
284 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_BOOL_ARRAY");
286 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_INT_ARRAY");
288 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_FLOAT_ARRAY");
290 return ESPHOME_PSTR(
"SERVICE_ARG_TYPE_STRING_ARRAY");
292 return ESPHOME_PSTR(
"UNKNOWN");
298 return ESPHOME_PSTR(
"SUPPORTS_RESPONSE_NONE");
300 return ESPHOME_PSTR(
"SUPPORTS_RESPONSE_OPTIONAL");
302 return ESPHOME_PSTR(
"SUPPORTS_RESPONSE_ONLY");
304 return ESPHOME_PSTR(
"SUPPORTS_RESPONSE_STATUS");
306 return ESPHOME_PSTR(
"UNKNOWN");
313 return ESPHOME_PSTR(
"TEMPERATURE_UNIT_CELSIUS");
315 return ESPHOME_PSTR(
"TEMPERATURE_UNIT_FAHRENHEIT");
317 return ESPHOME_PSTR(
"TEMPERATURE_UNIT_KELVIN");
319 return ESPHOME_PSTR(
"UNKNOWN");
326 return ESPHOME_PSTR(
"CLIMATE_MODE_OFF");
328 return ESPHOME_PSTR(
"CLIMATE_MODE_HEAT_COOL");
330 return ESPHOME_PSTR(
"CLIMATE_MODE_COOL");
332 return ESPHOME_PSTR(
"CLIMATE_MODE_HEAT");
334 return ESPHOME_PSTR(
"CLIMATE_MODE_FAN_ONLY");
336 return ESPHOME_PSTR(
"CLIMATE_MODE_DRY");
338 return ESPHOME_PSTR(
"CLIMATE_MODE_AUTO");
340 return ESPHOME_PSTR(
"UNKNOWN");
346 return ESPHOME_PSTR(
"CLIMATE_FAN_ON");
348 return ESPHOME_PSTR(
"CLIMATE_FAN_OFF");
350 return ESPHOME_PSTR(
"CLIMATE_FAN_AUTO");
352 return ESPHOME_PSTR(
"CLIMATE_FAN_LOW");
354 return ESPHOME_PSTR(
"CLIMATE_FAN_MEDIUM");
356 return ESPHOME_PSTR(
"CLIMATE_FAN_HIGH");
358 return ESPHOME_PSTR(
"CLIMATE_FAN_MIDDLE");
360 return ESPHOME_PSTR(
"CLIMATE_FAN_FOCUS");
362 return ESPHOME_PSTR(
"CLIMATE_FAN_DIFFUSE");
364 return ESPHOME_PSTR(
"CLIMATE_FAN_QUIET");
366 return ESPHOME_PSTR(
"UNKNOWN");
372 return ESPHOME_PSTR(
"CLIMATE_SWING_OFF");
374 return ESPHOME_PSTR(
"CLIMATE_SWING_BOTH");
376 return ESPHOME_PSTR(
"CLIMATE_SWING_VERTICAL");
378 return ESPHOME_PSTR(
"CLIMATE_SWING_HORIZONTAL");
380 return ESPHOME_PSTR(
"UNKNOWN");
386 return ESPHOME_PSTR(
"CLIMATE_ACTION_OFF");
388 return ESPHOME_PSTR(
"CLIMATE_ACTION_COOLING");
390 return ESPHOME_PSTR(
"CLIMATE_ACTION_HEATING");
392 return ESPHOME_PSTR(
"CLIMATE_ACTION_IDLE");
394 return ESPHOME_PSTR(
"CLIMATE_ACTION_DRYING");
396 return ESPHOME_PSTR(
"CLIMATE_ACTION_FAN");
398 return ESPHOME_PSTR(
"CLIMATE_ACTION_DEFROSTING");
400 return ESPHOME_PSTR(
"UNKNOWN");
406 return ESPHOME_PSTR(
"CLIMATE_PRESET_NONE");
408 return ESPHOME_PSTR(
"CLIMATE_PRESET_HOME");
410 return ESPHOME_PSTR(
"CLIMATE_PRESET_AWAY");
412 return ESPHOME_PSTR(
"CLIMATE_PRESET_BOOST");
414 return ESPHOME_PSTR(
"CLIMATE_PRESET_COMFORT");
416 return ESPHOME_PSTR(
"CLIMATE_PRESET_ECO");
418 return ESPHOME_PSTR(
"CLIMATE_PRESET_SLEEP");
420 return ESPHOME_PSTR(
"CLIMATE_PRESET_ACTIVITY");
422 return ESPHOME_PSTR(
"UNKNOWN");
426#ifdef USE_WATER_HEATER
430 return ESPHOME_PSTR(
"WATER_HEATER_MODE_OFF");
432 return ESPHOME_PSTR(
"WATER_HEATER_MODE_ECO");
434 return ESPHOME_PSTR(
"WATER_HEATER_MODE_ELECTRIC");
436 return ESPHOME_PSTR(
"WATER_HEATER_MODE_PERFORMANCE");
438 return ESPHOME_PSTR(
"WATER_HEATER_MODE_HIGH_DEMAND");
440 return ESPHOME_PSTR(
"WATER_HEATER_MODE_HEAT_PUMP");
442 return ESPHOME_PSTR(
"WATER_HEATER_MODE_GAS");
444 return ESPHOME_PSTR(
"UNKNOWN");
452 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_NONE");
454 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_MODE");
456 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE");
458 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_STATE");
460 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_LOW");
462 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_HIGH");
464 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_ON_STATE");
466 return ESPHOME_PSTR(
"WATER_HEATER_COMMAND_HAS_AWAY_STATE");
468 return ESPHOME_PSTR(
"UNKNOWN");
475 return ESPHOME_PSTR(
"NUMBER_MODE_AUTO");
477 return ESPHOME_PSTR(
"NUMBER_MODE_BOX");
479 return ESPHOME_PSTR(
"NUMBER_MODE_SLIDER");
481 return ESPHOME_PSTR(
"UNKNOWN");
489 return ESPHOME_PSTR(
"LOCK_STATE_NONE");
491 return ESPHOME_PSTR(
"LOCK_STATE_LOCKED");
493 return ESPHOME_PSTR(
"LOCK_STATE_UNLOCKED");
495 return ESPHOME_PSTR(
"LOCK_STATE_JAMMED");
497 return ESPHOME_PSTR(
"LOCK_STATE_LOCKING");
499 return ESPHOME_PSTR(
"LOCK_STATE_UNLOCKING");
501 return ESPHOME_PSTR(
"LOCK_STATE_OPENING");
503 return ESPHOME_PSTR(
"LOCK_STATE_OPEN");
505 return ESPHOME_PSTR(
"UNKNOWN");
511 return ESPHOME_PSTR(
"LOCK_UNLOCK");
513 return ESPHOME_PSTR(
"LOCK_LOCK");
515 return ESPHOME_PSTR(
"LOCK_OPEN");
517 return ESPHOME_PSTR(
"UNKNOWN");
521#ifdef USE_MEDIA_PLAYER
525 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_NONE");
527 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_IDLE");
529 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_PLAYING");
531 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_PAUSED");
533 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_ANNOUNCING");
535 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_OFF");
537 return ESPHOME_PSTR(
"MEDIA_PLAYER_STATE_ON");
539 return ESPHOME_PSTR(
"UNKNOWN");
545 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_PLAY");
547 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_PAUSE");
549 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_STOP");
551 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_MUTE");
553 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_UNMUTE");
555 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_TOGGLE");
557 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_VOLUME_UP");
559 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_VOLUME_DOWN");
561 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_ENQUEUE");
563 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_REPEAT_ONE");
565 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_REPEAT_OFF");
567 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_CLEAR_PLAYLIST");
569 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_TURN_ON");
571 return ESPHOME_PSTR(
"MEDIA_PLAYER_COMMAND_TURN_OFF");
573 return ESPHOME_PSTR(
"UNKNOWN");
579 return ESPHOME_PSTR(
"MEDIA_PLAYER_FORMAT_PURPOSE_DEFAULT");
581 return ESPHOME_PSTR(
"MEDIA_PLAYER_FORMAT_PURPOSE_ANNOUNCEMENT");
583 return ESPHOME_PSTR(
"UNKNOWN");
587#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
592 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT");
594 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_DISCONNECT");
596 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_PAIR");
598 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_UNPAIR");
600 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE");
602 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE");
604 return ESPHOME_PSTR(
"BLUETOOTH_DEVICE_REQUEST_TYPE_CLEAR_CACHE");
606 return ESPHOME_PSTR(
"UNKNOWN");
610#ifdef USE_BLUETOOTH_PROXY
614 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_IDLE");
616 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_STARTING");
618 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_RUNNING");
620 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_FAILED");
622 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_STOPPING");
624 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_STATE_STOPPED");
626 return ESPHOME_PSTR(
"UNKNOWN");
632 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_MODE_PASSIVE");
634 return ESPHOME_PSTR(
"BLUETOOTH_SCANNER_MODE_ACTIVE");
636 return ESPHOME_PSTR(
"UNKNOWN");
644 return ESPHOME_PSTR(
"VOICE_ASSISTANT_SUBSCRIBE_NONE");
646 return ESPHOME_PSTR(
"VOICE_ASSISTANT_SUBSCRIBE_API_AUDIO");
648 return ESPHOME_PSTR(
"UNKNOWN");
654 return ESPHOME_PSTR(
"VOICE_ASSISTANT_REQUEST_NONE");
656 return ESPHOME_PSTR(
"VOICE_ASSISTANT_REQUEST_USE_VAD");
658 return ESPHOME_PSTR(
"VOICE_ASSISTANT_REQUEST_USE_WAKE_WORD");
660 return ESPHOME_PSTR(
"UNKNOWN");
663#ifdef USE_VOICE_ASSISTANT
667 return ESPHOME_PSTR(
"VOICE_ASSISTANT_ERROR");
669 return ESPHOME_PSTR(
"VOICE_ASSISTANT_RUN_START");
671 return ESPHOME_PSTR(
"VOICE_ASSISTANT_RUN_END");
673 return ESPHOME_PSTR(
"VOICE_ASSISTANT_STT_START");
675 return ESPHOME_PSTR(
"VOICE_ASSISTANT_STT_END");
677 return ESPHOME_PSTR(
"VOICE_ASSISTANT_INTENT_START");
679 return ESPHOME_PSTR(
"VOICE_ASSISTANT_INTENT_END");
681 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TTS_START");
683 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TTS_END");
685 return ESPHOME_PSTR(
"VOICE_ASSISTANT_WAKE_WORD_START");
687 return ESPHOME_PSTR(
"VOICE_ASSISTANT_WAKE_WORD_END");
689 return ESPHOME_PSTR(
"VOICE_ASSISTANT_STT_VAD_START");
691 return ESPHOME_PSTR(
"VOICE_ASSISTANT_STT_VAD_END");
693 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TTS_STREAM_START");
695 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TTS_STREAM_END");
697 return ESPHOME_PSTR(
"VOICE_ASSISTANT_INTENT_PROGRESS");
699 return ESPHOME_PSTR(
"UNKNOWN");
705 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TIMER_STARTED");
707 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TIMER_UPDATED");
709 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TIMER_CANCELLED");
711 return ESPHOME_PSTR(
"VOICE_ASSISTANT_TIMER_FINISHED");
713 return ESPHOME_PSTR(
"UNKNOWN");
717#ifdef USE_ALARM_CONTROL_PANEL
721 return ESPHOME_PSTR(
"ALARM_STATE_DISARMED");
723 return ESPHOME_PSTR(
"ALARM_STATE_ARMED_HOME");
725 return ESPHOME_PSTR(
"ALARM_STATE_ARMED_AWAY");
727 return ESPHOME_PSTR(
"ALARM_STATE_ARMED_NIGHT");
729 return ESPHOME_PSTR(
"ALARM_STATE_ARMED_VACATION");
731 return ESPHOME_PSTR(
"ALARM_STATE_ARMED_CUSTOM_BYPASS");
733 return ESPHOME_PSTR(
"ALARM_STATE_PENDING");
735 return ESPHOME_PSTR(
"ALARM_STATE_ARMING");
737 return ESPHOME_PSTR(
"ALARM_STATE_DISARMING");
739 return ESPHOME_PSTR(
"ALARM_STATE_TRIGGERED");
741 return ESPHOME_PSTR(
"UNKNOWN");
748 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_DISARM");
750 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_ARM_AWAY");
752 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_ARM_HOME");
754 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_ARM_NIGHT");
756 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_ARM_VACATION");
758 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_ARM_CUSTOM_BYPASS");
760 return ESPHOME_PSTR(
"ALARM_CONTROL_PANEL_TRIGGER");
762 return ESPHOME_PSTR(
"UNKNOWN");
770 return ESPHOME_PSTR(
"TEXT_MODE_TEXT");
772 return ESPHOME_PSTR(
"TEXT_MODE_PASSWORD");
774 return ESPHOME_PSTR(
"UNKNOWN");
782 return ESPHOME_PSTR(
"VALVE_OPERATION_IDLE");
784 return ESPHOME_PSTR(
"VALVE_OPERATION_IS_OPENING");
786 return ESPHOME_PSTR(
"VALVE_OPERATION_IS_CLOSING");
788 return ESPHOME_PSTR(
"UNKNOWN");
796 return ESPHOME_PSTR(
"UPDATE_COMMAND_NONE");
798 return ESPHOME_PSTR(
"UPDATE_COMMAND_UPDATE");
800 return ESPHOME_PSTR(
"UPDATE_COMMAND_CHECK");
802 return ESPHOME_PSTR(
"UNKNOWN");
806#ifdef USE_ZWAVE_PROXY
810 return ESPHOME_PSTR(
"ZWAVE_PROXY_REQUEST_TYPE_SUBSCRIBE");
812 return ESPHOME_PSTR(
"ZWAVE_PROXY_REQUEST_TYPE_UNSUBSCRIBE");
814 return ESPHOME_PSTR(
"ZWAVE_PROXY_REQUEST_TYPE_HOME_ID_CHANGE");
816 return ESPHOME_PSTR(
"UNKNOWN");
822 return ESPHOME_PSTR(
"ZWAVE_PROXY_STATUS_OK");
824 return ESPHOME_PSTR(
"ZWAVE_PROXY_STATUS_IN_USE");
826 return ESPHOME_PSTR(
"ZWAVE_PROXY_STATUS_NOT_SUPPORTED");
828 return ESPHOME_PSTR(
"UNKNOWN");
832#ifdef USE_SERIAL_PROXY
836 return ESPHOME_PSTR(
"SERIAL_PROXY_PARITY_NONE");
838 return ESPHOME_PSTR(
"SERIAL_PROXY_PARITY_EVEN");
840 return ESPHOME_PSTR(
"SERIAL_PROXY_PARITY_ODD");
842 return ESPHOME_PSTR(
"UNKNOWN");
848 return ESPHOME_PSTR(
"SERIAL_PROXY_REQUEST_TYPE_SUBSCRIBE");
850 return ESPHOME_PSTR(
"SERIAL_PROXY_REQUEST_TYPE_UNSUBSCRIBE");
852 return ESPHOME_PSTR(
"SERIAL_PROXY_REQUEST_TYPE_FLUSH");
854 return ESPHOME_PSTR(
"SERIAL_PROXY_REQUEST_TYPE_CONFIGURE");
856 return ESPHOME_PSTR(
"SERIAL_PROXY_REQUEST_TYPE_SET_MODEM_PINS");
858 return ESPHOME_PSTR(
"UNKNOWN");
864 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_OK");
866 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_ASSUMED_SUCCESS");
868 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_ERROR");
870 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_TIMEOUT");
872 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_NOT_SUPPORTED");
874 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_PORT_IN_USE");
876 return ESPHOME_PSTR(
"SERIAL_PROXY_STATUS_INVALID_ARGUMENT");
878 return ESPHOME_PSTR(
"UNKNOWN");
884 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HelloRequest"));
885 dump_field(out, ESPHOME_PSTR(
"client_info"), this->
client_info);
891 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HelloResponse"));
894 dump_field(out, ESPHOME_PSTR(
"server_info"), this->
server_info);
895 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
899 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DisconnectRequest"));
904 out.
append_p(ESPHOME_PSTR(
"DisconnectResponse {}"));
908 out.
append_p(ESPHOME_PSTR(
"PingRequest {}"));
912 out.
append_p(ESPHOME_PSTR(
"PingResponse {}"));
917 MessageDumpHelper helper(out, ESPHOME_PSTR(
"AreaInfo"));
918 dump_field(out, ESPHOME_PSTR(
"area_id"), this->
area_id);
919 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
925 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DeviceInfo"));
926 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
927 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
928 dump_field(out, ESPHOME_PSTR(
"area_id"), this->
area_id);
932#ifdef USE_SERIAL_PROXY
934 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyInfo"));
935 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
942 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DeviceInfoResponse"));
943 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
944 dump_field(out, ESPHOME_PSTR(
"mac_address"), this->
mac_address);
945 dump_field(out, ESPHOME_PSTR(
"esphome_version"), this->
esphome_version);
947 dump_field(out, ESPHOME_PSTR(
"model"), this->
model);
949 dump_field(out, ESPHOME_PSTR(
"has_deep_sleep"), this->
has_deep_sleep);
951#ifdef ESPHOME_PROJECT_NAME
952 dump_field(out, ESPHOME_PSTR(
"project_name"), this->
project_name);
954#ifdef ESPHOME_PROJECT_NAME
955 dump_field(out, ESPHOME_PSTR(
"project_version"), this->
project_version);
958 dump_field(out, ESPHOME_PSTR(
"webserver_port"), this->
webserver_port);
960#ifdef USE_BLUETOOTH_PROXY
963 dump_field(out, ESPHOME_PSTR(
"manufacturer"), this->
manufacturer);
964 dump_field(out, ESPHOME_PSTR(
"friendly_name"), this->
friendly_name);
965#ifdef USE_VOICE_ASSISTANT
969 dump_field(out, ESPHOME_PSTR(
"suggested_area"), this->
suggested_area);
971#ifdef USE_BLUETOOTH_PROXY
978 for (
const auto &it : this->
devices) {
985 for (
const auto &it : this->
areas) {
996#ifdef USE_ZWAVE_PROXY
999#ifdef USE_ZWAVE_PROXY
1000 dump_field(out, ESPHOME_PSTR(
"zwave_home_id"), this->
zwave_home_id);
1002#ifdef USE_SERIAL_PROXY
1014#ifdef USE_BLUETOOTH_PROXY
1016 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothProxyCapabilities"));
1017 dump_field(out, ESPHOME_PSTR(
"feature_flags"), this->
feature_flags);
1018 dump_field(out, ESPHOME_PSTR(
"mac_address"), this->
mac_address);
1022#ifdef USE_VOICE_ASSISTANT
1024 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantCapabilities"));
1025 dump_field(out, ESPHOME_PSTR(
"feature_flags"), this->
feature_flags);
1029#ifdef USE_ZWAVE_PROXY
1031 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ZWaveProxyCapabilities"));
1032 dump_field(out, ESPHOME_PSTR(
"feature_flags"), this->
feature_flags);
1033 dump_field(out, ESPHOME_PSTR(
"home_id"), this->
home_id);
1038 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DeviceCapabilitiesResponse"));
1039#ifdef USE_BLUETOOTH_PROXY
1044#ifdef USE_VOICE_ASSISTANT
1049#ifdef USE_ZWAVE_PROXY
1054#ifdef USE_SERIAL_PROXY
1064 out.
append_p(ESPHOME_PSTR(
"ListEntitiesDoneResponse {}"));
1067#ifdef USE_BINARY_SENSOR
1069 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesBinarySensorResponse"));
1070 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1071 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1072 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1073 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1076#ifdef USE_ENTITY_ICON
1077 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1081 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1086 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BinarySensorStateResponse"));
1087 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1088 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1089 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
1091 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1098 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesCoverResponse"));
1099 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1100 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1101 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1102 dump_field(out, ESPHOME_PSTR(
"assumed_state"), this->
assumed_state);
1104 dump_field(out, ESPHOME_PSTR(
"supports_tilt"), this->
supports_tilt);
1105 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1107#ifdef USE_ENTITY_ICON
1108 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1111 dump_field(out, ESPHOME_PSTR(
"supports_stop"), this->
supports_stop);
1113 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1118 MessageDumpHelper helper(out, ESPHOME_PSTR(
"CoverStateResponse"));
1119 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1120 dump_field(out, ESPHOME_PSTR(
"position"), this->
position);
1121 dump_field(out, ESPHOME_PSTR(
"tilt"), this->
tilt);
1124 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1129 MessageDumpHelper helper(out, ESPHOME_PSTR(
"CoverCommandRequest"));
1130 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1131 dump_field(out, ESPHOME_PSTR(
"has_position"), this->
has_position);
1132 dump_field(out, ESPHOME_PSTR(
"position"), this->
position);
1133 dump_field(out, ESPHOME_PSTR(
"has_tilt"), this->
has_tilt);
1134 dump_field(out, ESPHOME_PSTR(
"tilt"), this->
tilt);
1135 dump_field(out, ESPHOME_PSTR(
"stop"), this->
stop);
1137 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1144 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesFanResponse"));
1145 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1146 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1147 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1149 dump_field(out, ESPHOME_PSTR(
"supports_speed"), this->
supports_speed);
1153#ifdef USE_ENTITY_ICON
1154 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1158 dump_field(out, ESPHOME_PSTR(
"supported_preset_modes"), it, 4);
1161 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1166 MessageDumpHelper helper(out, ESPHOME_PSTR(
"FanStateResponse"));
1167 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1168 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1169 dump_field(out, ESPHOME_PSTR(
"oscillating"), this->
oscillating);
1171 dump_field(out, ESPHOME_PSTR(
"speed_level"), this->
speed_level);
1172 dump_field(out, ESPHOME_PSTR(
"preset_mode"), this->
preset_mode);
1174 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1179 MessageDumpHelper helper(out, ESPHOME_PSTR(
"FanCommandRequest"));
1180 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1181 dump_field(out, ESPHOME_PSTR(
"has_state"), this->
has_state);
1182 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1183 dump_field(out, ESPHOME_PSTR(
"has_oscillating"), this->
has_oscillating);
1184 dump_field(out, ESPHOME_PSTR(
"oscillating"), this->
oscillating);
1185 dump_field(out, ESPHOME_PSTR(
"has_direction"), this->
has_direction);
1187 dump_field(out, ESPHOME_PSTR(
"has_speed_level"), this->
has_speed_level);
1188 dump_field(out, ESPHOME_PSTR(
"speed_level"), this->
speed_level);
1189 dump_field(out, ESPHOME_PSTR(
"has_preset_mode"), this->
has_preset_mode);
1190 dump_field(out, ESPHOME_PSTR(
"preset_mode"), this->
preset_mode);
1192 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1199 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesLightResponse"));
1200 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1201 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1202 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1204 dump_field(out, ESPHOME_PSTR(
"supported_color_modes"),
static_cast<enums::ColorMode>(it), 4);
1206 dump_field(out, ESPHOME_PSTR(
"min_mireds"), this->
min_mireds);
1207 dump_field(out, ESPHOME_PSTR(
"max_mireds"), this->
max_mireds);
1208 for (
const auto &it : *this->
effects) {
1209 dump_field(out, ESPHOME_PSTR(
"effects"), it, 4);
1212#ifdef USE_ENTITY_ICON
1213 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1217 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1222 MessageDumpHelper helper(out, ESPHOME_PSTR(
"LightStateResponse"));
1223 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1224 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1225 dump_field(out, ESPHOME_PSTR(
"brightness"), this->
brightness);
1228 dump_field(out, ESPHOME_PSTR(
"red"), this->
red);
1229 dump_field(out, ESPHOME_PSTR(
"green"), this->
green);
1230 dump_field(out, ESPHOME_PSTR(
"blue"), this->
blue);
1231 dump_field(out, ESPHOME_PSTR(
"white"), this->
white);
1233 dump_field(out, ESPHOME_PSTR(
"cold_white"), this->
cold_white);
1234 dump_field(out, ESPHOME_PSTR(
"warm_white"), this->
warm_white);
1235 dump_field(out, ESPHOME_PSTR(
"effect"), this->
effect);
1237 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1242 MessageDumpHelper helper(out, ESPHOME_PSTR(
"LightCommandRequest"));
1243 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1244 dump_field(out, ESPHOME_PSTR(
"has_state"), this->
has_state);
1245 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1246 dump_field(out, ESPHOME_PSTR(
"has_brightness"), this->
has_brightness);
1247 dump_field(out, ESPHOME_PSTR(
"brightness"), this->
brightness);
1248 dump_field(out, ESPHOME_PSTR(
"has_color_mode"), this->
has_color_mode);
1252 dump_field(out, ESPHOME_PSTR(
"has_rgb"), this->
has_rgb);
1253 dump_field(out, ESPHOME_PSTR(
"red"), this->
red);
1254 dump_field(out, ESPHOME_PSTR(
"green"), this->
green);
1255 dump_field(out, ESPHOME_PSTR(
"blue"), this->
blue);
1256 dump_field(out, ESPHOME_PSTR(
"has_white"), this->
has_white);
1257 dump_field(out, ESPHOME_PSTR(
"white"), this->
white);
1260 dump_field(out, ESPHOME_PSTR(
"has_cold_white"), this->
has_cold_white);
1261 dump_field(out, ESPHOME_PSTR(
"cold_white"), this->
cold_white);
1262 dump_field(out, ESPHOME_PSTR(
"has_warm_white"), this->
has_warm_white);
1263 dump_field(out, ESPHOME_PSTR(
"warm_white"), this->
warm_white);
1267 dump_field(out, ESPHOME_PSTR(
"flash_length"), this->
flash_length);
1268 dump_field(out, ESPHOME_PSTR(
"has_effect"), this->
has_effect);
1269 dump_field(out, ESPHOME_PSTR(
"effect"), this->
effect);
1271 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1278 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesSensorResponse"));
1279 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1280 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1281 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1282#ifdef USE_ENTITY_ICON
1283 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1287 dump_field(out, ESPHOME_PSTR(
"force_update"), this->
force_update);
1288 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1293 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1298 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SensorStateResponse"));
1299 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1300 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1301 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
1303 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1310 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesSwitchResponse"));
1311 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1312 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1313 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1314#ifdef USE_ENTITY_ICON
1315 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1317 dump_field(out, ESPHOME_PSTR(
"assumed_state"), this->
assumed_state);
1320 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1322 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1327 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SwitchStateResponse"));
1328 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1329 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1331 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1336 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SwitchCommandRequest"));
1337 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1338 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1340 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1345#ifdef USE_TEXT_SENSOR
1347 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesTextSensorResponse"));
1348 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1349 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1350 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1351#ifdef USE_ENTITY_ICON
1352 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1356 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1358 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1363 MessageDumpHelper helper(out, ESPHOME_PSTR(
"TextSensorStateResponse"));
1364 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1365 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1366 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
1368 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1374 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SubscribeLogsRequest"));
1376 dump_field(out, ESPHOME_PSTR(
"dump_config"), this->
dump_config);
1380 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SubscribeLogsResponse"));
1387 MessageDumpHelper helper(out, ESPHOME_PSTR(
"NoiseEncryptionSetKeyRequest"));
1388 dump_bytes_field(out, ESPHOME_PSTR(
"key"), this->
key, this->
key_len);
1392 MessageDumpHelper helper(out, ESPHOME_PSTR(
"NoiseEncryptionSetKeyResponse"));
1393 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
1397#ifdef USE_API_HOMEASSISTANT_SERVICES
1399 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HomeassistantServiceMap"));
1400 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1401 dump_field(out, ESPHOME_PSTR(
"value"), this->value);
1405 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HomeassistantActionRequest"));
1406 dump_field(out, ESPHOME_PSTR(
"service"), this->
service);
1407 for (
const auto &it : this->data) {
1417 for (
const auto &it : this->
variables) {
1422 dump_field(out, ESPHOME_PSTR(
"is_event"), this->
is_event);
1423#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
1424 dump_field(out, ESPHOME_PSTR(
"call_id"), this->
call_id);
1426#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1427 dump_field(out, ESPHOME_PSTR(
"wants_response"), this->
wants_response);
1429#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1435#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
1437 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HomeassistantActionResponse"));
1438 dump_field(out, ESPHOME_PSTR(
"call_id"), this->
call_id);
1439 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
1440 dump_field(out, ESPHOME_PSTR(
"error_message"), this->
error_message);
1441#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1447#ifdef USE_API_HOMEASSISTANT_STATES
1449 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SubscribeHomeAssistantStateResponse"));
1450 dump_field(out, ESPHOME_PSTR(
"entity_id"), this->
entity_id);
1451 dump_field(out, ESPHOME_PSTR(
"attribute"), this->
attribute);
1452 dump_field(out, ESPHOME_PSTR(
"once"), this->
once);
1456 MessageDumpHelper helper(out, ESPHOME_PSTR(
"HomeAssistantStateResponse"));
1457 dump_field(out, ESPHOME_PSTR(
"entity_id"), this->
entity_id);
1458 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1459 dump_field(out, ESPHOME_PSTR(
"attribute"), this->
attribute);
1464 out.
append_p(ESPHOME_PSTR(
"GetTimeRequest {}"));
1468 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DSTRule"));
1469 dump_field(out, ESPHOME_PSTR(
"time_seconds"), this->
time_seconds);
1470 dump_field(out, ESPHOME_PSTR(
"day"), this->
day);
1472 dump_field(out, ESPHOME_PSTR(
"month"), this->
month);
1473 dump_field(out, ESPHOME_PSTR(
"week"), this->
week);
1474 dump_field(out, ESPHOME_PSTR(
"day_of_week"), this->
day_of_week);
1478 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ParsedTimezone"));
1490 MessageDumpHelper helper(out, ESPHOME_PSTR(
"GetTimeResponse"));
1491 dump_field(out, ESPHOME_PSTR(
"epoch_seconds"), this->
epoch_seconds);
1498#ifdef USE_API_USER_DEFINED_ACTIONS
1500 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesServicesArgument"));
1501 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1503#ifdef USE_API_USER_DEFINED_ACTION_METADATA
1504 dump_field(out, ESPHOME_PSTR(
"description"), this->
description);
1506#ifdef USE_API_USER_DEFINED_ACTION_METADATA
1507 dump_field(out, ESPHOME_PSTR(
"example"), this->
example);
1512 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesServicesResponse"));
1513 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1514 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1515 for (
const auto &it : this->
args) {
1521#ifdef USE_API_USER_DEFINED_ACTION_METADATA
1522 dump_field(out, ESPHOME_PSTR(
"description"), this->
description);
1527 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ExecuteServiceArgument"));
1528 dump_field(out, ESPHOME_PSTR(
"bool_"), this->
bool_);
1529 dump_field(out, ESPHOME_PSTR(
"legacy_int"), this->
legacy_int);
1530 dump_field(out, ESPHOME_PSTR(
"float_"), this->
float_);
1531 dump_field(out, ESPHOME_PSTR(
"string_"), this->
string_);
1532 dump_field(out, ESPHOME_PSTR(
"int_"), this->
int_);
1534 dump_field(out, ESPHOME_PSTR(
"bool_array"),
static_cast<bool>(it), 4);
1536 for (
const auto &it : this->
int_array) {
1537 dump_field(out, ESPHOME_PSTR(
"int_array"), it, 4);
1540 dump_field(out, ESPHOME_PSTR(
"float_array"), it, 4);
1543 dump_field(out, ESPHOME_PSTR(
"string_array"), it, 4);
1548 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ExecuteServiceRequest"));
1549 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1550 for (
const auto &it : this->
args) {
1555#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1556 dump_field(out, ESPHOME_PSTR(
"call_id"), this->
call_id);
1558#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1559 dump_field(out, ESPHOME_PSTR(
"return_response"), this->
return_response);
1564#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1566 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ExecuteServiceResponse"));
1567 dump_field(out, ESPHOME_PSTR(
"call_id"), this->
call_id);
1568 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
1569 dump_field(out, ESPHOME_PSTR(
"error_message"), this->
error_message);
1570#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES_JSON
1578 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesCameraResponse"));
1579 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1580 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1581 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1583#ifdef USE_ENTITY_ICON
1584 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1588 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1593 MessageDumpHelper helper(out, ESPHOME_PSTR(
"CameraImageResponse"));
1594 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1596 dump_field(out, ESPHOME_PSTR(
"done"), this->
done);
1598 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1603 MessageDumpHelper helper(out, ESPHOME_PSTR(
"CameraImageRequest"));
1604 dump_field(out, ESPHOME_PSTR(
"single"), this->
single);
1605 dump_field(out, ESPHOME_PSTR(
"stream"), this->
stream);
1611 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesClimateResponse"));
1612 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1613 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1614 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1618 dump_field(out, ESPHOME_PSTR(
"supported_modes"),
static_cast<enums::ClimateMode>(it), 4);
1623 dump_field(out, ESPHOME_PSTR(
"supports_action"), this->
supports_action);
1631 dump_field(out, ESPHOME_PSTR(
"supported_custom_fan_modes"), it, 4);
1637 dump_field(out, ESPHOME_PSTR(
"supported_custom_presets"), it, 4);
1640#ifdef USE_ENTITY_ICON
1641 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1650 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1652 dump_field(out, ESPHOME_PSTR(
"feature_flags"), this->
feature_flags);
1657 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ClimateStateResponse"));
1658 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1667 dump_field(out, ESPHOME_PSTR(
"custom_fan_mode"), this->
custom_fan_mode);
1669 dump_field(out, ESPHOME_PSTR(
"custom_preset"), this->
custom_preset);
1671 dump_field(out, ESPHOME_PSTR(
"target_humidity"), this->
target_humidity);
1673 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1678 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ClimateCommandRequest"));
1679 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1680 dump_field(out, ESPHOME_PSTR(
"has_mode"), this->
has_mode);
1688 dump_field(out, ESPHOME_PSTR(
"has_fan_mode"), this->
has_fan_mode);
1690 dump_field(out, ESPHOME_PSTR(
"has_swing_mode"), this->
has_swing_mode);
1693 dump_field(out, ESPHOME_PSTR(
"custom_fan_mode"), this->
custom_fan_mode);
1694 dump_field(out, ESPHOME_PSTR(
"has_preset"), this->
has_preset);
1697 dump_field(out, ESPHOME_PSTR(
"custom_preset"), this->
custom_preset);
1699 dump_field(out, ESPHOME_PSTR(
"target_humidity"), this->
target_humidity);
1701 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1706#ifdef USE_WATER_HEATER
1708 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesWaterHeaterResponse"));
1709 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1710 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1711 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1712#ifdef USE_ENTITY_ICON
1713 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1718 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1720 dump_field(out, ESPHOME_PSTR(
"min_temperature"), this->
min_temperature);
1721 dump_field(out, ESPHOME_PSTR(
"max_temperature"), this->
max_temperature);
1731 MessageDumpHelper helper(out, ESPHOME_PSTR(
"WaterHeaterStateResponse"));
1732 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1737 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1739 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1745 MessageDumpHelper helper(out, ESPHOME_PSTR(
"WaterHeaterCommandRequest"));
1746 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1747 dump_field(out, ESPHOME_PSTR(
"has_fields"), this->
has_fields);
1751 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1753 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1761 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesNumberResponse"));
1762 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1763 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1764 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1765#ifdef USE_ENTITY_ICON
1766 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1768 dump_field(out, ESPHOME_PSTR(
"min_value"), this->
min_value);
1769 dump_field(out, ESPHOME_PSTR(
"max_value"), this->
max_value);
1770 dump_field(out, ESPHOME_PSTR(
"step"), this->
step);
1775 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1777 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1782 MessageDumpHelper helper(out, ESPHOME_PSTR(
"NumberStateResponse"));
1783 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1784 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1785 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
1787 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1792 MessageDumpHelper helper(out, ESPHOME_PSTR(
"NumberCommandRequest"));
1793 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1794 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1796 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1803 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesSelectResponse"));
1804 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1805 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1806 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1807#ifdef USE_ENTITY_ICON
1808 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1810 for (
const auto &it : *this->
options) {
1811 dump_field(out, ESPHOME_PSTR(
"options"), it, 4);
1816 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1821 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SelectStateResponse"));
1822 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1823 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1824 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
1826 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1831 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SelectCommandRequest"));
1832 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1833 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1835 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1842 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesSirenResponse"));
1843 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1844 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1845 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1846#ifdef USE_ENTITY_ICON
1847 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1850 for (
const auto &it : *this->
tones) {
1851 dump_field(out, ESPHOME_PSTR(
"tones"), it, 4);
1854 dump_field(out, ESPHOME_PSTR(
"supports_volume"), this->
supports_volume);
1857 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1862 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SirenStateResponse"));
1863 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1864 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1866 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1871 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SirenCommandRequest"));
1872 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1873 dump_field(out, ESPHOME_PSTR(
"has_state"), this->
has_state);
1874 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
1875 dump_field(out, ESPHOME_PSTR(
"has_tone"), this->
has_tone);
1876 dump_field(out, ESPHOME_PSTR(
"tone"), this->
tone);
1877 dump_field(out, ESPHOME_PSTR(
"has_duration"), this->
has_duration);
1878 dump_field(out, ESPHOME_PSTR(
"duration"), this->
duration);
1879 dump_field(out, ESPHOME_PSTR(
"has_volume"), this->
has_volume);
1880 dump_field(out, ESPHOME_PSTR(
"volume"), this->
volume);
1882 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1889 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesLockResponse"));
1890 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1891 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1892 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1893#ifdef USE_ENTITY_ICON
1894 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1898 dump_field(out, ESPHOME_PSTR(
"assumed_state"), this->
assumed_state);
1899 dump_field(out, ESPHOME_PSTR(
"supports_open"), this->
supports_open);
1900 dump_field(out, ESPHOME_PSTR(
"requires_code"), this->
requires_code);
1901 dump_field(out, ESPHOME_PSTR(
"code_format"), this->
code_format);
1903 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1908 MessageDumpHelper helper(out, ESPHOME_PSTR(
"LockStateResponse"));
1909 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1912 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1917 MessageDumpHelper helper(out, ESPHOME_PSTR(
"LockCommandRequest"));
1918 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1920 dump_field(out, ESPHOME_PSTR(
"has_code"), this->
has_code);
1921 dump_field(out, ESPHOME_PSTR(
"code"), this->
code);
1923 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1930 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesButtonResponse"));
1931 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1932 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1933 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1934#ifdef USE_ENTITY_ICON
1935 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1939 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
1941 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1946 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ButtonCommandRequest"));
1947 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1949 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1954#ifdef USE_MEDIA_PLAYER
1956 MessageDumpHelper helper(out, ESPHOME_PSTR(
"MediaPlayerSupportedFormat"));
1957 dump_field(out, ESPHOME_PSTR(
"format"), this->
format);
1958 dump_field(out, ESPHOME_PSTR(
"sample_rate"), this->
sample_rate);
1959 dump_field(out, ESPHOME_PSTR(
"num_channels"), this->
num_channels);
1961 dump_field(out, ESPHOME_PSTR(
"sample_bytes"), this->
sample_bytes);
1965 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesMediaPlayerResponse"));
1966 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
1967 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1968 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
1969#ifdef USE_ENTITY_ICON
1970 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
1980 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1982 dump_field(out, ESPHOME_PSTR(
"feature_flags"), this->
feature_flags);
1986 MessageDumpHelper helper(out, ESPHOME_PSTR(
"MediaPlayerStateResponse"));
1987 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1989 dump_field(out, ESPHOME_PSTR(
"volume"), this->
volume);
1990 dump_field(out, ESPHOME_PSTR(
"muted"), this->
muted);
1992 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
1997 MessageDumpHelper helper(out, ESPHOME_PSTR(
"MediaPlayerCommandRequest"));
1998 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
1999 dump_field(out, ESPHOME_PSTR(
"has_command"), this->
has_command);
2001 dump_field(out, ESPHOME_PSTR(
"has_volume"), this->
has_volume);
2002 dump_field(out, ESPHOME_PSTR(
"volume"), this->
volume);
2003 dump_field(out, ESPHOME_PSTR(
"has_media_url"), this->
has_media_url);
2004 dump_field(out, ESPHOME_PSTR(
"media_url"), this->
media_url);
2006 dump_field(out, ESPHOME_PSTR(
"announcement"), this->
announcement);
2008 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2013#ifdef USE_BLUETOOTH_PROXY
2015 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SubscribeBluetoothLEAdvertisementsRequest"));
2016 dump_field(out, ESPHOME_PSTR(
"flags"), this->
flags);
2020 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothLERawAdvertisement"));
2021 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2022 dump_field(out, ESPHOME_PSTR(
"rssi"), this->
rssi);
2023 dump_field(out, ESPHOME_PSTR(
"address_type"), this->
address_type);
2024 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2028 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothLERawAdvertisementsResponse"));
2037#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
2039 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothDeviceRequest"));
2040 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2043 dump_field(out, ESPHOME_PSTR(
"address_type"), this->
address_type);
2047 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothDeviceConnectionResponse"));
2048 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2049 dump_field(out, ESPHOME_PSTR(
"connected"), this->
connected);
2050 dump_field(out, ESPHOME_PSTR(
"mtu"), this->
mtu);
2051 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2055 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTGetServicesRequest"));
2056 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2060 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTDescriptor"));
2061 for (
const auto &it : this->
uuid) {
2062 dump_field(out, ESPHOME_PSTR(
"uuid"), it, 4);
2064 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2065 dump_field(out, ESPHOME_PSTR(
"short_uuid"), this->
short_uuid);
2069 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTCharacteristic"));
2070 for (
const auto &it : this->
uuid) {
2071 dump_field(out, ESPHOME_PSTR(
"uuid"), it, 4);
2073 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2074 dump_field(out, ESPHOME_PSTR(
"properties"), this->
properties);
2080 dump_field(out, ESPHOME_PSTR(
"short_uuid"), this->
short_uuid);
2084 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTService"));
2085 for (
const auto &it : this->
uuid) {
2086 dump_field(out, ESPHOME_PSTR(
"uuid"), it, 4);
2088 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2094 dump_field(out, ESPHOME_PSTR(
"short_uuid"), this->
short_uuid);
2098 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTGetServicesResponse"));
2099 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2100 for (
const auto &it : this->
services) {
2108 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTGetServicesDoneResponse"));
2109 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2113 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTReadRequest"));
2114 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2115 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2119 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTReadResponse"));
2120 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2121 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2126 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTWriteRequest"));
2127 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2128 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2129 dump_field(out, ESPHOME_PSTR(
"response"), this->
response);
2130 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2134 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTReadDescriptorRequest"));
2135 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2136 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2140 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTWriteDescriptorRequest"));
2141 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2142 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2143 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2147 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTNotifyRequest"));
2148 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2149 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2150 dump_field(out, ESPHOME_PSTR(
"enable"), this->
enable);
2154 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTNotifyDataResponse"));
2155 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2156 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2161 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothConnectionsFreeResponse"));
2162 dump_field(out, ESPHOME_PSTR(
"free"), this->
free);
2163 dump_field(out, ESPHOME_PSTR(
"limit"), this->
limit);
2164 for (
const auto &it : this->
allocated) {
2165 dump_field(out, ESPHOME_PSTR(
"allocated"), it, 4);
2170 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTErrorResponse"));
2171 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2172 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2173 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2177 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTWriteResponse"));
2178 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2179 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2183 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothGATTNotifyResponse"));
2184 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2185 dump_field(out, ESPHOME_PSTR(
"handle"), this->
handle);
2189 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothDevicePairingResponse"));
2190 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2191 dump_field(out, ESPHOME_PSTR(
"paired"), this->
paired);
2192 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2196 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothDeviceUnpairingResponse"));
2197 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2198 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
2199 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2203 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothDeviceClearCacheResponse"));
2204 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2205 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
2206 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2210#ifdef USE_BLUETOOTH_PROXY
2212 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothScannerStateResponse"));
2219 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothScannerSetModeRequest"));
2224#ifdef USE_VOICE_ASSISTANT
2226 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SubscribeVoiceAssistantRequest"));
2227 dump_field(out, ESPHOME_PSTR(
"subscribe"), this->
subscribe);
2228 dump_field(out, ESPHOME_PSTR(
"flags"), this->
flags);
2232 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantAudioSettings"));
2234 dump_field(out, ESPHOME_PSTR(
"auto_gain"), this->
auto_gain);
2239 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantRequest"));
2240 dump_field(out, ESPHOME_PSTR(
"start"), this->
start);
2241 dump_field(out, ESPHOME_PSTR(
"conversation_id"), this->
conversation_id);
2242 dump_field(out, ESPHOME_PSTR(
"flags"), this->
flags);
2250 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantResponse"));
2251 dump_field(out, ESPHOME_PSTR(
"port"), this->
port);
2252 dump_field(out, ESPHOME_PSTR(
"error"), this->
error);
2256 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantEventData"));
2257 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2258 dump_field(out, ESPHOME_PSTR(
"value"), this->value);
2262 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantEventResponse"));
2264 for (
const auto &it : this->data) {
2272 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantAudio"));
2273 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2274 dump_field(out, ESPHOME_PSTR(
"end"), this->
end);
2275 dump_bytes_field(out, ESPHOME_PSTR(
"data2"), this->
data2, this->
data2_len);
2279 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantTimerEventResponse"));
2281 dump_field(out, ESPHOME_PSTR(
"timer_id"), this->
timer_id);
2282 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2283 dump_field(out, ESPHOME_PSTR(
"total_seconds"), this->
total_seconds);
2284 dump_field(out, ESPHOME_PSTR(
"seconds_left"), this->
seconds_left);
2285 dump_field(out, ESPHOME_PSTR(
"is_active"), this->
is_active);
2289 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantAnnounceRequest"));
2290 dump_field(out, ESPHOME_PSTR(
"media_id"), this->
media_id);
2291 dump_field(out, ESPHOME_PSTR(
"text"), this->
text);
2297 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantAnnounceFinished"));
2298 dump_field(out, ESPHOME_PSTR(
"success"), this->
success);
2302 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantWakeWord"));
2303 dump_field(out, ESPHOME_PSTR(
"id"), this->
id);
2304 dump_field(out, ESPHOME_PSTR(
"wake_word"), this->
wake_word);
2306 dump_field(out, ESPHOME_PSTR(
"trained_languages"), it, 4);
2311 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantExternalWakeWord"));
2312 dump_field(out, ESPHOME_PSTR(
"id"), this->
id);
2313 dump_field(out, ESPHOME_PSTR(
"wake_word"), this->
wake_word);
2315 dump_field(out, ESPHOME_PSTR(
"trained_languages"), it, 4);
2317 dump_field(out, ESPHOME_PSTR(
"model_type"), this->
model_type);
2318 dump_field(out, ESPHOME_PSTR(
"model_size"), this->
model_size);
2319 dump_field(out, ESPHOME_PSTR(
"model_hash"), this->
model_hash);
2320 dump_field(out, ESPHOME_PSTR(
"url"), this->
url);
2324 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantConfigurationRequest"));
2333 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantConfigurationResponse"));
2340 dump_field(out, ESPHOME_PSTR(
"active_wake_words"), it, 4);
2346 MessageDumpHelper helper(out, ESPHOME_PSTR(
"VoiceAssistantSetConfiguration"));
2348 dump_field(out, ESPHOME_PSTR(
"active_wake_words"), it, 4);
2353#ifdef USE_ALARM_CONTROL_PANEL
2355 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesAlarmControlPanelResponse"));
2356 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2357 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2358 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2359#ifdef USE_ENTITY_ICON
2360 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2365 dump_field(out, ESPHOME_PSTR(
"requires_code"), this->
requires_code);
2368 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2373 MessageDumpHelper helper(out, ESPHOME_PSTR(
"AlarmControlPanelStateResponse"));
2374 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2377 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2382 MessageDumpHelper helper(out, ESPHOME_PSTR(
"AlarmControlPanelCommandRequest"));
2383 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2385 dump_field(out, ESPHOME_PSTR(
"code"), this->
code);
2387 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2394 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesTextResponse"));
2395 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2396 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2397 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2398#ifdef USE_ENTITY_ICON
2399 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2403 dump_field(out, ESPHOME_PSTR(
"min_length"), this->
min_length);
2404 dump_field(out, ESPHOME_PSTR(
"max_length"), this->
max_length);
2405 dump_field(out, ESPHOME_PSTR(
"pattern"), this->
pattern);
2408 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2413 MessageDumpHelper helper(out, ESPHOME_PSTR(
"TextStateResponse"));
2414 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2415 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
2416 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
2418 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2423 MessageDumpHelper helper(out, ESPHOME_PSTR(
"TextCommandRequest"));
2424 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2425 dump_field(out, ESPHOME_PSTR(
"state"), this->
state);
2427 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2432#ifdef USE_DATETIME_DATE
2434 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesDateResponse"));
2435 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2436 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2437 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2438#ifdef USE_ENTITY_ICON
2439 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2444 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2449 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DateStateResponse"));
2450 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2451 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
2452 dump_field(out, ESPHOME_PSTR(
"year"), this->
year);
2453 dump_field(out, ESPHOME_PSTR(
"month"), this->
month);
2454 dump_field(out, ESPHOME_PSTR(
"day"), this->
day);
2456 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2461 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DateCommandRequest"));
2462 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2463 dump_field(out, ESPHOME_PSTR(
"year"), this->
year);
2464 dump_field(out, ESPHOME_PSTR(
"month"), this->
month);
2465 dump_field(out, ESPHOME_PSTR(
"day"), this->
day);
2467 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2472#ifdef USE_DATETIME_TIME
2474 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesTimeResponse"));
2475 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2476 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2477 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2478#ifdef USE_ENTITY_ICON
2479 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2484 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2489 MessageDumpHelper helper(out, ESPHOME_PSTR(
"TimeStateResponse"));
2490 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2491 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
2492 dump_field(out, ESPHOME_PSTR(
"hour"), this->
hour);
2493 dump_field(out, ESPHOME_PSTR(
"minute"), this->
minute);
2494 dump_field(out, ESPHOME_PSTR(
"second"), this->
second);
2496 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2501 MessageDumpHelper helper(out, ESPHOME_PSTR(
"TimeCommandRequest"));
2502 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2503 dump_field(out, ESPHOME_PSTR(
"hour"), this->
hour);
2504 dump_field(out, ESPHOME_PSTR(
"minute"), this->
minute);
2505 dump_field(out, ESPHOME_PSTR(
"second"), this->
second);
2507 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2514 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesEventResponse"));
2515 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2516 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2517 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2518#ifdef USE_ENTITY_ICON
2519 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2523 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
2525 dump_field(out, ESPHOME_PSTR(
"event_types"), it, 4);
2528 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2533 MessageDumpHelper helper(out, ESPHOME_PSTR(
"EventResponse"));
2534 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2535 dump_field(out, ESPHOME_PSTR(
"event_type"), this->
event_type);
2537 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2544 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesValveResponse"));
2545 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2546 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2547 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2548#ifdef USE_ENTITY_ICON
2549 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2553 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
2554 dump_field(out, ESPHOME_PSTR(
"assumed_state"), this->
assumed_state);
2556 dump_field(out, ESPHOME_PSTR(
"supports_stop"), this->
supports_stop);
2558 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2563 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ValveStateResponse"));
2564 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2565 dump_field(out, ESPHOME_PSTR(
"position"), this->
position);
2568 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2573 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ValveCommandRequest"));
2574 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2575 dump_field(out, ESPHOME_PSTR(
"has_position"), this->
has_position);
2576 dump_field(out, ESPHOME_PSTR(
"position"), this->
position);
2577 dump_field(out, ESPHOME_PSTR(
"stop"), this->
stop);
2579 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2584#ifdef USE_DATETIME_DATETIME
2586 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesDateTimeResponse"));
2587 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2588 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2589 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2590#ifdef USE_ENTITY_ICON
2591 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2596 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2601 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DateTimeStateResponse"));
2602 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2603 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
2604 dump_field(out, ESPHOME_PSTR(
"epoch_seconds"), this->
epoch_seconds);
2606 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2611 MessageDumpHelper helper(out, ESPHOME_PSTR(
"DateTimeCommandRequest"));
2612 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2613 dump_field(out, ESPHOME_PSTR(
"epoch_seconds"), this->
epoch_seconds);
2615 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2622 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesUpdateResponse"));
2623 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2624 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2625 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2626#ifdef USE_ENTITY_ICON
2627 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2631 dump_field(out, ESPHOME_PSTR(
"device_class"), this->
device_class);
2633 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2638 MessageDumpHelper helper(out, ESPHOME_PSTR(
"UpdateStateResponse"));
2639 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2640 dump_field(out, ESPHOME_PSTR(
"missing_state"), this->
missing_state);
2641 dump_field(out, ESPHOME_PSTR(
"in_progress"), this->
in_progress);
2642 dump_field(out, ESPHOME_PSTR(
"has_progress"), this->
has_progress);
2643 dump_field(out, ESPHOME_PSTR(
"progress"), this->
progress);
2644 dump_field(out, ESPHOME_PSTR(
"current_version"), this->
current_version);
2645 dump_field(out, ESPHOME_PSTR(
"latest_version"), this->
latest_version);
2646 dump_field(out, ESPHOME_PSTR(
"title"), this->
title);
2647 dump_field(out, ESPHOME_PSTR(
"release_summary"), this->
release_summary);
2648 dump_field(out, ESPHOME_PSTR(
"release_url"), this->
release_url);
2650 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2655 MessageDumpHelper helper(out, ESPHOME_PSTR(
"UpdateCommandRequest"));
2656 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2659 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2664#ifdef USE_ZWAVE_PROXY
2666 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ZWaveProxyFrame"));
2667 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2671 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ZWaveProxyRequest"));
2673 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2677 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ZWaveProxyRequestResponse"));
2685 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesInfraredResponse"));
2686 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2687 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2688 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2689#ifdef USE_ENTITY_ICON
2690 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2695 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2697 dump_field(out, ESPHOME_PSTR(
"capabilities"), this->
capabilities);
2702#if defined(USE_IR_RF) || defined(USE_RADIO_FREQUENCY)
2704 MessageDumpHelper helper(out, ESPHOME_PSTR(
"InfraredRFTransmitRawTimingsRequest"));
2706 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2708 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2710 dump_field(out, ESPHOME_PSTR(
"repeat_count"), this->
repeat_count);
2712 out.
append_p(ESPHOME_PSTR(
"packed buffer ["));
2714 out.
append_p(ESPHOME_PSTR(
" values, "));
2716 out.
append_p(ESPHOME_PSTR(
" bytes]\n"));
2717 dump_field(out, ESPHOME_PSTR(
"modulation"), this->
modulation);
2721 MessageDumpHelper helper(out, ESPHOME_PSTR(
"InfraredRFReceiveEvent"));
2723 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2725 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2726 for (
const auto &it : *this->
timings) {
2727 dump_field(out, ESPHOME_PSTR(
"timings"), it, 4);
2732#ifdef USE_RADIO_FREQUENCY
2734 MessageDumpHelper helper(out, ESPHOME_PSTR(
"ListEntitiesRadioFrequencyResponse"));
2735 dump_field(out, ESPHOME_PSTR(
"object_id"), this->
object_id);
2736 dump_field(out, ESPHOME_PSTR(
"key"), this->
key);
2737 dump_field(out, ESPHOME_PSTR(
"name"), this->
name);
2738#ifdef USE_ENTITY_ICON
2739 dump_field(out, ESPHOME_PSTR(
"icon"), this->
icon);
2744 dump_field(out, ESPHOME_PSTR(
"device_id"), this->
device_id);
2746 dump_field(out, ESPHOME_PSTR(
"capabilities"), this->
capabilities);
2747 dump_field(out, ESPHOME_PSTR(
"frequency_min"), this->
frequency_min);
2748 dump_field(out, ESPHOME_PSTR(
"frequency_max"), this->
frequency_max);
2753#ifdef USE_SERIAL_PROXY
2755 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyConfigureRequest"));
2756 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2757 dump_field(out, ESPHOME_PSTR(
"baudrate"), this->
baudrate);
2758 dump_field(out, ESPHOME_PSTR(
"flow_control"), this->
flow_control);
2760 dump_field(out, ESPHOME_PSTR(
"stop_bits"), this->
stop_bits);
2761 dump_field(out, ESPHOME_PSTR(
"data_size"), this->
data_size);
2765 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyDataReceived"));
2766 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2771 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyWriteRequest"));
2772 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2773 dump_bytes_field(out, ESPHOME_PSTR(
"data"), this->data, this->
data_len);
2777 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxySetModemPinsRequest"));
2778 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2779 dump_field(out, ESPHOME_PSTR(
"line_states"), this->
line_states);
2783 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyGetModemPinsRequest"));
2784 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2788 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyGetModemPinsResponse"));
2789 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2790 dump_field(out, ESPHOME_PSTR(
"line_states"), this->
line_states);
2795 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyRequest"));
2796 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2801 MessageDumpHelper helper(out, ESPHOME_PSTR(
"SerialProxyRequestResponse"));
2802 dump_field(out, ESPHOME_PSTR(
"instance"), this->
instance);
2805 dump_field(out, ESPHOME_PSTR(
"error_message"), this->
error_message);
2809#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
2811 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothSetConnectionParamsRequest"));
2812 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2813 dump_field(out, ESPHOME_PSTR(
"min_interval"), this->
min_interval);
2814 dump_field(out, ESPHOME_PSTR(
"max_interval"), this->
max_interval);
2815 dump_field(out, ESPHOME_PSTR(
"latency"), this->
latency);
2816 dump_field(out, ESPHOME_PSTR(
"timeout"), this->
timeout);
2820 MessageDumpHelper helper(out, ESPHOME_PSTR(
"BluetoothSetConnectionParamsResponse"));
2821 dump_field(out, ESPHOME_PSTR(
"address"), this->
address);
2822 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
const char * dump_to(DumpBuffer &out) const override
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
std::array< SerialProxyInfo, SERIAL_PROXY_COUNT > serial_proxies
VoiceAssistantCapabilities voice_assistant
ZWaveProxyCapabilities zwave_proxy
const char * dump_to(DumpBuffer &out) const override
BluetoothProxyCapabilities bluetooth_proxy
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
bool api_encryption_provisionable
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
enums::DisconnectReason reason
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
enums::TemperatureUnit temperature_unit
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 char * dump_to(DumpBuffer &out) const override
uint32_t supported_modulations
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
enums::TemperatureUnit temperature_unit
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
enums::SerialProxyStatus status
const char * dump_to(DumpBuffer &out) const override
uint32_t configured_line_states
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
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
const char * dump_to(DumpBuffer &out) const override
enums::ZWaveProxyRequestType type
const char * dump_to(DumpBuffer &out) const override
enums::ZWaveProxyRequestType type
enums::ZWaveProxyStatus status
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_SET_MODEM_PINS
@ SERIAL_PROXY_REQUEST_TYPE_FLUSH
@ SERIAL_PROXY_REQUEST_TYPE_CONFIGURE
@ 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
@ ZWAVE_PROXY_STATUS_NOT_SUPPORTED
@ ZWAVE_PROXY_STATUS_IN_USE
@ 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_INVALID_ARGUMENT
@ SERIAL_PROXY_STATUS_ASSUMED_SUCCESS
@ SERIAL_PROXY_STATUS_PORT_IN_USE
@ SERIAL_PROXY_STATUS_NOT_SUPPORTED
@ SERIAL_PROXY_STATUS_ERROR
@ DISCONNECT_REASON_PROVISIONING_CLOSED
@ DISCONNECT_REASON_UNSPECIFIED
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
@ TEMPERATURE_UNIT_KELVIN
@ TEMPERATURE_UNIT_CELSIUS
@ TEMPERATURE_UNIT_FAHRENHEIT
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::TemperatureUnit >(enums::TemperatureUnit 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::ZWaveProxyStatus >(enums::ZWaveProxyStatus 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::DisconnectReason >(enums::DisconnectReason 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".