ESPHome 2026.1.4
Loading...
Searching...
No Matches
api_pb2.h
Go to the documentation of this file.
1// This file was automatically generated with a tool.
2// See script/api_protobuf/api_protobuf.py
3#pragma once
4
7
8#include "proto.h"
9#include "api_pb2_includes.h"
10
11namespace esphome::api {
12
13namespace enums {
14
20#ifdef USE_COVER
26#endif
27#ifdef USE_FAN
32#endif
33#ifdef USE_LIGHT
47#endif
48#ifdef USE_SENSOR
56#endif
67#ifdef USE_API_USER_DEFINED_ACTIONS
84#endif
85#ifdef USE_CLIMATE
131#endif
132#ifdef USE_WATER_HEATER
142#endif
151#ifdef USE_NUMBER
157#endif
158#ifdef USE_LOCK
167enum LockCommand : uint32_t {
171};
172#endif
173#ifdef USE_MEDIA_PLAYER
203#endif
204#ifdef USE_BLUETOOTH_PROXY
226#endif
236#ifdef USE_VOICE_ASSISTANT
261#endif
262#ifdef USE_ALARM_CONTROL_PANEL
284#endif
285#ifdef USE_TEXT
286enum TextMode : uint32_t {
289};
290#endif
291#ifdef USE_VALVE
297#endif
298#ifdef USE_UPDATE
304#endif
305#ifdef USE_ZWAVE_PROXY
311#endif
312
313} // namespace enums
314
316 public:
317 ~InfoResponseProtoMessage() override = default;
319 uint32_t key{0};
322#ifdef USE_ENTITY_ICON
324#endif
326#ifdef USE_DEVICES
327 uint32_t device_id{0};
328#endif
329
330 protected:
331};
332
334 public:
335 ~StateResponseProtoMessage() override = default;
336 uint32_t key{0};
337#ifdef USE_DEVICES
338 uint32_t device_id{0};
339#endif
340
341 protected:
342};
343
345 public:
346 ~CommandProtoMessage() override = default;
347 uint32_t key{0};
348#ifdef USE_DEVICES
349 uint32_t device_id{0};
350#endif
351
352 protected:
353};
355 public:
356 static constexpr uint8_t MESSAGE_TYPE = 1;
357 static constexpr uint8_t ESTIMATED_SIZE = 17;
358#ifdef HAS_PROTO_MESSAGE_DUMP
359 const char *message_name() const override { return "hello_request"; }
360#endif
362 uint32_t api_version_major{0};
363 uint32_t api_version_minor{0};
364#ifdef HAS_PROTO_MESSAGE_DUMP
365 const char *dump_to(DumpBuffer &out) const override;
366#endif
367
368 protected:
369 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
370 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
371};
372class HelloResponse final : public ProtoMessage {
373 public:
374 static constexpr uint8_t MESSAGE_TYPE = 2;
375 static constexpr uint8_t ESTIMATED_SIZE = 26;
376#ifdef HAS_PROTO_MESSAGE_DUMP
377 const char *message_name() const override { return "hello_response"; }
378#endif
379 uint32_t api_version_major{0};
380 uint32_t api_version_minor{0};
383 void encode(ProtoWriteBuffer buffer) const override;
384 void calculate_size(ProtoSize &size) const override;
385#ifdef HAS_PROTO_MESSAGE_DUMP
386 const char *dump_to(DumpBuffer &out) const override;
387#endif
388
389 protected:
390};
391class DisconnectRequest final : public ProtoMessage {
392 public:
393 static constexpr uint8_t MESSAGE_TYPE = 5;
394 static constexpr uint8_t ESTIMATED_SIZE = 0;
395#ifdef HAS_PROTO_MESSAGE_DUMP
396 const char *message_name() const override { return "disconnect_request"; }
397#endif
398#ifdef HAS_PROTO_MESSAGE_DUMP
399 const char *dump_to(DumpBuffer &out) const override;
400#endif
401
402 protected:
403};
404class DisconnectResponse final : public ProtoMessage {
405 public:
406 static constexpr uint8_t MESSAGE_TYPE = 6;
407 static constexpr uint8_t ESTIMATED_SIZE = 0;
408#ifdef HAS_PROTO_MESSAGE_DUMP
409 const char *message_name() const override { return "disconnect_response"; }
410#endif
411#ifdef HAS_PROTO_MESSAGE_DUMP
412 const char *dump_to(DumpBuffer &out) const override;
413#endif
414
415 protected:
416};
417class PingRequest final : public ProtoMessage {
418 public:
419 static constexpr uint8_t MESSAGE_TYPE = 7;
420 static constexpr uint8_t ESTIMATED_SIZE = 0;
421#ifdef HAS_PROTO_MESSAGE_DUMP
422 const char *message_name() const override { return "ping_request"; }
423#endif
424#ifdef HAS_PROTO_MESSAGE_DUMP
425 const char *dump_to(DumpBuffer &out) const override;
426#endif
427
428 protected:
429};
430class PingResponse final : public ProtoMessage {
431 public:
432 static constexpr uint8_t MESSAGE_TYPE = 8;
433 static constexpr uint8_t ESTIMATED_SIZE = 0;
434#ifdef HAS_PROTO_MESSAGE_DUMP
435 const char *message_name() const override { return "ping_response"; }
436#endif
437#ifdef HAS_PROTO_MESSAGE_DUMP
438 const char *dump_to(DumpBuffer &out) const override;
439#endif
440
441 protected:
442};
443class DeviceInfoRequest final : public ProtoMessage {
444 public:
445 static constexpr uint8_t MESSAGE_TYPE = 9;
446 static constexpr uint8_t ESTIMATED_SIZE = 0;
447#ifdef HAS_PROTO_MESSAGE_DUMP
448 const char *message_name() const override { return "device_info_request"; }
449#endif
450#ifdef HAS_PROTO_MESSAGE_DUMP
451 const char *dump_to(DumpBuffer &out) const override;
452#endif
453
454 protected:
455};
456#ifdef USE_AREAS
457class AreaInfo final : public ProtoMessage {
458 public:
459 uint32_t area_id{0};
461 void encode(ProtoWriteBuffer buffer) const override;
462 void calculate_size(ProtoSize &size) const override;
463#ifdef HAS_PROTO_MESSAGE_DUMP
464 const char *dump_to(DumpBuffer &out) const override;
465#endif
466
467 protected:
468};
469#endif
470#ifdef USE_DEVICES
471class DeviceInfo final : public ProtoMessage {
472 public:
473 uint32_t device_id{0};
475 uint32_t area_id{0};
476 void encode(ProtoWriteBuffer buffer) const override;
477 void calculate_size(ProtoSize &size) const override;
478#ifdef HAS_PROTO_MESSAGE_DUMP
479 const char *dump_to(DumpBuffer &out) const override;
480#endif
481
482 protected:
483};
484#endif
485class DeviceInfoResponse final : public ProtoMessage {
486 public:
487 static constexpr uint8_t MESSAGE_TYPE = 10;
488 static constexpr uint8_t ESTIMATED_SIZE = 255;
489#ifdef HAS_PROTO_MESSAGE_DUMP
490 const char *message_name() const override { return "device_info_response"; }
491#endif
497#ifdef USE_DEEP_SLEEP
498 bool has_deep_sleep{false};
499#endif
500#ifdef ESPHOME_PROJECT_NAME
502#endif
503#ifdef ESPHOME_PROJECT_NAME
505#endif
506#ifdef USE_WEBSERVER
507 uint32_t webserver_port{0};
508#endif
509#ifdef USE_BLUETOOTH_PROXY
511#endif
514#ifdef USE_VOICE_ASSISTANT
516#endif
517#ifdef USE_AREAS
519#endif
520#ifdef USE_BLUETOOTH_PROXY
522#endif
523#ifdef USE_API_NOISE
525#endif
526#ifdef USE_DEVICES
527 std::array<DeviceInfo, ESPHOME_DEVICE_COUNT> devices{};
528#endif
529#ifdef USE_AREAS
530 std::array<AreaInfo, ESPHOME_AREA_COUNT> areas{};
531#endif
532#ifdef USE_AREAS
534#endif
535#ifdef USE_ZWAVE_PROXY
537#endif
538#ifdef USE_ZWAVE_PROXY
539 uint32_t zwave_home_id{0};
540#endif
541 void encode(ProtoWriteBuffer buffer) const override;
542 void calculate_size(ProtoSize &size) const override;
543#ifdef HAS_PROTO_MESSAGE_DUMP
544 const char *dump_to(DumpBuffer &out) const override;
545#endif
546
547 protected:
548};
549class ListEntitiesRequest final : public ProtoMessage {
550 public:
551 static constexpr uint8_t MESSAGE_TYPE = 11;
552 static constexpr uint8_t ESTIMATED_SIZE = 0;
553#ifdef HAS_PROTO_MESSAGE_DUMP
554 const char *message_name() const override { return "list_entities_request"; }
555#endif
556#ifdef HAS_PROTO_MESSAGE_DUMP
557 const char *dump_to(DumpBuffer &out) const override;
558#endif
559
560 protected:
561};
563 public:
564 static constexpr uint8_t MESSAGE_TYPE = 19;
565 static constexpr uint8_t ESTIMATED_SIZE = 0;
566#ifdef HAS_PROTO_MESSAGE_DUMP
567 const char *message_name() const override { return "list_entities_done_response"; }
568#endif
569#ifdef HAS_PROTO_MESSAGE_DUMP
570 const char *dump_to(DumpBuffer &out) const override;
571#endif
572
573 protected:
574};
576 public:
577 static constexpr uint8_t MESSAGE_TYPE = 20;
578 static constexpr uint8_t ESTIMATED_SIZE = 0;
579#ifdef HAS_PROTO_MESSAGE_DUMP
580 const char *message_name() const override { return "subscribe_states_request"; }
581#endif
582#ifdef HAS_PROTO_MESSAGE_DUMP
583 const char *dump_to(DumpBuffer &out) const override;
584#endif
585
586 protected:
587};
588#ifdef USE_BINARY_SENSOR
590 public:
591 static constexpr uint8_t MESSAGE_TYPE = 12;
592 static constexpr uint8_t ESTIMATED_SIZE = 51;
593#ifdef HAS_PROTO_MESSAGE_DUMP
594 const char *message_name() const override { return "list_entities_binary_sensor_response"; }
595#endif
598 void encode(ProtoWriteBuffer buffer) const override;
599 void calculate_size(ProtoSize &size) const override;
600#ifdef HAS_PROTO_MESSAGE_DUMP
601 const char *dump_to(DumpBuffer &out) const override;
602#endif
603
604 protected:
605};
607 public:
608 static constexpr uint8_t MESSAGE_TYPE = 21;
609 static constexpr uint8_t ESTIMATED_SIZE = 13;
610#ifdef HAS_PROTO_MESSAGE_DUMP
611 const char *message_name() const override { return "binary_sensor_state_response"; }
612#endif
613 bool state{false};
614 bool missing_state{false};
615 void encode(ProtoWriteBuffer buffer) const override;
616 void calculate_size(ProtoSize &size) const override;
617#ifdef HAS_PROTO_MESSAGE_DUMP
618 const char *dump_to(DumpBuffer &out) const override;
619#endif
620
621 protected:
622};
623#endif
624#ifdef USE_COVER
626 public:
627 static constexpr uint8_t MESSAGE_TYPE = 13;
628 static constexpr uint8_t ESTIMATED_SIZE = 57;
629#ifdef HAS_PROTO_MESSAGE_DUMP
630 const char *message_name() const override { return "list_entities_cover_response"; }
631#endif
632 bool assumed_state{false};
633 bool supports_position{false};
634 bool supports_tilt{false};
636 bool supports_stop{false};
637 void encode(ProtoWriteBuffer buffer) const override;
638 void calculate_size(ProtoSize &size) const override;
639#ifdef HAS_PROTO_MESSAGE_DUMP
640 const char *dump_to(DumpBuffer &out) const override;
641#endif
642
643 protected:
644};
646 public:
647 static constexpr uint8_t MESSAGE_TYPE = 22;
648 static constexpr uint8_t ESTIMATED_SIZE = 21;
649#ifdef HAS_PROTO_MESSAGE_DUMP
650 const char *message_name() const override { return "cover_state_response"; }
651#endif
652 float position{0.0f};
653 float tilt{0.0f};
655 void encode(ProtoWriteBuffer buffer) const override;
656 void calculate_size(ProtoSize &size) const override;
657#ifdef HAS_PROTO_MESSAGE_DUMP
658 const char *dump_to(DumpBuffer &out) const override;
659#endif
660
661 protected:
662};
664 public:
665 static constexpr uint8_t MESSAGE_TYPE = 30;
666 static constexpr uint8_t ESTIMATED_SIZE = 25;
667#ifdef HAS_PROTO_MESSAGE_DUMP
668 const char *message_name() const override { return "cover_command_request"; }
669#endif
670 bool has_position{false};
671 float position{0.0f};
672 bool has_tilt{false};
673 float tilt{0.0f};
674 bool stop{false};
675#ifdef HAS_PROTO_MESSAGE_DUMP
676 const char *dump_to(DumpBuffer &out) const override;
677#endif
678
679 protected:
680 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
681 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
682};
683#endif
684#ifdef USE_FAN
686 public:
687 static constexpr uint8_t MESSAGE_TYPE = 14;
688 static constexpr uint8_t ESTIMATED_SIZE = 68;
689#ifdef HAS_PROTO_MESSAGE_DUMP
690 const char *message_name() const override { return "list_entities_fan_response"; }
691#endif
693 bool supports_speed{false};
696 const std::vector<const char *> *supported_preset_modes{};
697 void encode(ProtoWriteBuffer buffer) const override;
698 void calculate_size(ProtoSize &size) const override;
699#ifdef HAS_PROTO_MESSAGE_DUMP
700 const char *dump_to(DumpBuffer &out) const override;
701#endif
702
703 protected:
704};
706 public:
707 static constexpr uint8_t MESSAGE_TYPE = 23;
708 static constexpr uint8_t ESTIMATED_SIZE = 28;
709#ifdef HAS_PROTO_MESSAGE_DUMP
710 const char *message_name() const override { return "fan_state_response"; }
711#endif
712 bool state{false};
713 bool oscillating{false};
715 int32_t speed_level{0};
717 void encode(ProtoWriteBuffer buffer) const override;
718 void calculate_size(ProtoSize &size) const override;
719#ifdef HAS_PROTO_MESSAGE_DUMP
720 const char *dump_to(DumpBuffer &out) const override;
721#endif
722
723 protected:
724};
726 public:
727 static constexpr uint8_t MESSAGE_TYPE = 31;
728 static constexpr uint8_t ESTIMATED_SIZE = 38;
729#ifdef HAS_PROTO_MESSAGE_DUMP
730 const char *message_name() const override { return "fan_command_request"; }
731#endif
732 bool has_state{false};
733 bool state{false};
734 bool has_oscillating{false};
735 bool oscillating{false};
736 bool has_direction{false};
738 bool has_speed_level{false};
739 int32_t speed_level{0};
740 bool has_preset_mode{false};
742#ifdef HAS_PROTO_MESSAGE_DUMP
743 const char *dump_to(DumpBuffer &out) const override;
744#endif
745
746 protected:
747 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
748 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
749 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
750};
751#endif
752#ifdef USE_LIGHT
754 public:
755 static constexpr uint8_t MESSAGE_TYPE = 15;
756 static constexpr uint8_t ESTIMATED_SIZE = 73;
757#ifdef HAS_PROTO_MESSAGE_DUMP
758 const char *message_name() const override { return "list_entities_light_response"; }
759#endif
761 float min_mireds{0.0f};
762 float max_mireds{0.0f};
764 void encode(ProtoWriteBuffer buffer) const override;
765 void calculate_size(ProtoSize &size) const override;
766#ifdef HAS_PROTO_MESSAGE_DUMP
767 const char *dump_to(DumpBuffer &out) const override;
768#endif
769
770 protected:
771};
773 public:
774 static constexpr uint8_t MESSAGE_TYPE = 24;
775 static constexpr uint8_t ESTIMATED_SIZE = 67;
776#ifdef HAS_PROTO_MESSAGE_DUMP
777 const char *message_name() const override { return "light_state_response"; }
778#endif
779 bool state{false};
780 float brightness{0.0f};
782 float color_brightness{0.0f};
783 float red{0.0f};
784 float green{0.0f};
785 float blue{0.0f};
786 float white{0.0f};
787 float color_temperature{0.0f};
788 float cold_white{0.0f};
789 float warm_white{0.0f};
791 void encode(ProtoWriteBuffer buffer) const override;
792 void calculate_size(ProtoSize &size) const override;
793#ifdef HAS_PROTO_MESSAGE_DUMP
794 const char *dump_to(DumpBuffer &out) const override;
795#endif
796
797 protected:
798};
800 public:
801 static constexpr uint8_t MESSAGE_TYPE = 32;
802 static constexpr uint8_t ESTIMATED_SIZE = 112;
803#ifdef HAS_PROTO_MESSAGE_DUMP
804 const char *message_name() const override { return "light_command_request"; }
805#endif
806 bool has_state{false};
807 bool state{false};
808 bool has_brightness{false};
809 float brightness{0.0f};
810 bool has_color_mode{false};
813 float color_brightness{0.0f};
814 bool has_rgb{false};
815 float red{0.0f};
816 float green{0.0f};
817 float blue{0.0f};
818 bool has_white{false};
819 float white{0.0f};
821 float color_temperature{0.0f};
822 bool has_cold_white{false};
823 float cold_white{0.0f};
824 bool has_warm_white{false};
825 float warm_white{0.0f};
827 uint32_t transition_length{0};
828 bool has_flash_length{false};
829 uint32_t flash_length{0};
830 bool has_effect{false};
832#ifdef HAS_PROTO_MESSAGE_DUMP
833 const char *dump_to(DumpBuffer &out) const override;
834#endif
835
836 protected:
837 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
838 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
839 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
840};
841#endif
842#ifdef USE_SENSOR
844 public:
845 static constexpr uint8_t MESSAGE_TYPE = 16;
846 static constexpr uint8_t ESTIMATED_SIZE = 66;
847#ifdef HAS_PROTO_MESSAGE_DUMP
848 const char *message_name() const override { return "list_entities_sensor_response"; }
849#endif
852 bool force_update{false};
855 void encode(ProtoWriteBuffer buffer) const override;
856 void calculate_size(ProtoSize &size) const override;
857#ifdef HAS_PROTO_MESSAGE_DUMP
858 const char *dump_to(DumpBuffer &out) const override;
859#endif
860
861 protected:
862};
864 public:
865 static constexpr uint8_t MESSAGE_TYPE = 25;
866 static constexpr uint8_t ESTIMATED_SIZE = 16;
867#ifdef HAS_PROTO_MESSAGE_DUMP
868 const char *message_name() const override { return "sensor_state_response"; }
869#endif
870 float state{0.0f};
871 bool missing_state{false};
872 void encode(ProtoWriteBuffer buffer) const override;
873 void calculate_size(ProtoSize &size) const override;
874#ifdef HAS_PROTO_MESSAGE_DUMP
875 const char *dump_to(DumpBuffer &out) const override;
876#endif
877
878 protected:
879};
880#endif
881#ifdef USE_SWITCH
883 public:
884 static constexpr uint8_t MESSAGE_TYPE = 17;
885 static constexpr uint8_t ESTIMATED_SIZE = 51;
886#ifdef HAS_PROTO_MESSAGE_DUMP
887 const char *message_name() const override { return "list_entities_switch_response"; }
888#endif
889 bool assumed_state{false};
891 void encode(ProtoWriteBuffer buffer) const override;
892 void calculate_size(ProtoSize &size) const override;
893#ifdef HAS_PROTO_MESSAGE_DUMP
894 const char *dump_to(DumpBuffer &out) const override;
895#endif
896
897 protected:
898};
900 public:
901 static constexpr uint8_t MESSAGE_TYPE = 26;
902 static constexpr uint8_t ESTIMATED_SIZE = 11;
903#ifdef HAS_PROTO_MESSAGE_DUMP
904 const char *message_name() const override { return "switch_state_response"; }
905#endif
906 bool state{false};
907 void encode(ProtoWriteBuffer buffer) const override;
908 void calculate_size(ProtoSize &size) const override;
909#ifdef HAS_PROTO_MESSAGE_DUMP
910 const char *dump_to(DumpBuffer &out) const override;
911#endif
912
913 protected:
914};
916 public:
917 static constexpr uint8_t MESSAGE_TYPE = 33;
918 static constexpr uint8_t ESTIMATED_SIZE = 11;
919#ifdef HAS_PROTO_MESSAGE_DUMP
920 const char *message_name() const override { return "switch_command_request"; }
921#endif
922 bool state{false};
923#ifdef HAS_PROTO_MESSAGE_DUMP
924 const char *dump_to(DumpBuffer &out) const override;
925#endif
926
927 protected:
928 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
929 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
930};
931#endif
932#ifdef USE_TEXT_SENSOR
934 public:
935 static constexpr uint8_t MESSAGE_TYPE = 18;
936 static constexpr uint8_t ESTIMATED_SIZE = 49;
937#ifdef HAS_PROTO_MESSAGE_DUMP
938 const char *message_name() const override { return "list_entities_text_sensor_response"; }
939#endif
941 void encode(ProtoWriteBuffer buffer) const override;
942 void calculate_size(ProtoSize &size) const override;
943#ifdef HAS_PROTO_MESSAGE_DUMP
944 const char *dump_to(DumpBuffer &out) const override;
945#endif
946
947 protected:
948};
950 public:
951 static constexpr uint8_t MESSAGE_TYPE = 27;
952 static constexpr uint8_t ESTIMATED_SIZE = 20;
953#ifdef HAS_PROTO_MESSAGE_DUMP
954 const char *message_name() const override { return "text_sensor_state_response"; }
955#endif
957 bool missing_state{false};
958 void encode(ProtoWriteBuffer buffer) const override;
959 void calculate_size(ProtoSize &size) const override;
960#ifdef HAS_PROTO_MESSAGE_DUMP
961 const char *dump_to(DumpBuffer &out) const override;
962#endif
963
964 protected:
965};
966#endif
968 public:
969 static constexpr uint8_t MESSAGE_TYPE = 28;
970 static constexpr uint8_t ESTIMATED_SIZE = 4;
971#ifdef HAS_PROTO_MESSAGE_DUMP
972 const char *message_name() const override { return "subscribe_logs_request"; }
973#endif
975 bool dump_config{false};
976#ifdef HAS_PROTO_MESSAGE_DUMP
977 const char *dump_to(DumpBuffer &out) const override;
978#endif
979
980 protected:
981 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
982};
984 public:
985 static constexpr uint8_t MESSAGE_TYPE = 29;
986 static constexpr uint8_t ESTIMATED_SIZE = 21;
987#ifdef HAS_PROTO_MESSAGE_DUMP
988 const char *message_name() const override { return "subscribe_logs_response"; }
989#endif
991 const uint8_t *message_ptr_{nullptr};
992 size_t message_len_{0};
993 void set_message(const uint8_t *data, size_t len) {
994 this->message_ptr_ = data;
995 this->message_len_ = len;
996 }
997 void encode(ProtoWriteBuffer buffer) const override;
998 void calculate_size(ProtoSize &size) const override;
999#ifdef HAS_PROTO_MESSAGE_DUMP
1000 const char *dump_to(DumpBuffer &out) const override;
1001#endif
1002
1003 protected:
1004};
1005#ifdef USE_API_NOISE
1007 public:
1008 static constexpr uint8_t MESSAGE_TYPE = 124;
1009 static constexpr uint8_t ESTIMATED_SIZE = 19;
1010#ifdef HAS_PROTO_MESSAGE_DUMP
1011 const char *message_name() const override { return "noise_encryption_set_key_request"; }
1012#endif
1013 const uint8_t *key{nullptr};
1014 uint16_t key_len{0};
1015#ifdef HAS_PROTO_MESSAGE_DUMP
1016 const char *dump_to(DumpBuffer &out) const override;
1017#endif
1018
1019 protected:
1020 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1021};
1023 public:
1024 static constexpr uint8_t MESSAGE_TYPE = 125;
1025 static constexpr uint8_t ESTIMATED_SIZE = 2;
1026#ifdef HAS_PROTO_MESSAGE_DUMP
1027 const char *message_name() const override { return "noise_encryption_set_key_response"; }
1028#endif
1029 bool success{false};
1030 void encode(ProtoWriteBuffer buffer) const override;
1031 void calculate_size(ProtoSize &size) const override;
1032#ifdef HAS_PROTO_MESSAGE_DUMP
1033 const char *dump_to(DumpBuffer &out) const override;
1034#endif
1035
1036 protected:
1037};
1038#endif
1039#ifdef USE_API_HOMEASSISTANT_SERVICES
1041 public:
1042 static constexpr uint8_t MESSAGE_TYPE = 34;
1043 static constexpr uint8_t ESTIMATED_SIZE = 0;
1044#ifdef HAS_PROTO_MESSAGE_DUMP
1045 const char *message_name() const override { return "subscribe_homeassistant_services_request"; }
1046#endif
1047#ifdef HAS_PROTO_MESSAGE_DUMP
1048 const char *dump_to(DumpBuffer &out) const override;
1049#endif
1050
1051 protected:
1052};
1054 public:
1057 void encode(ProtoWriteBuffer buffer) const override;
1058 void calculate_size(ProtoSize &size) const override;
1059#ifdef HAS_PROTO_MESSAGE_DUMP
1060 const char *dump_to(DumpBuffer &out) const override;
1061#endif
1062
1063 protected:
1064};
1066 public:
1067 static constexpr uint8_t MESSAGE_TYPE = 35;
1068 static constexpr uint8_t ESTIMATED_SIZE = 128;
1069#ifdef HAS_PROTO_MESSAGE_DUMP
1070 const char *message_name() const override { return "homeassistant_action_request"; }
1071#endif
1076 bool is_event{false};
1077#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
1078 uint32_t call_id{0};
1079#endif
1080#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1081 bool wants_response{false};
1082#endif
1083#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1085#endif
1086 void encode(ProtoWriteBuffer buffer) const override;
1087 void calculate_size(ProtoSize &size) const override;
1088#ifdef HAS_PROTO_MESSAGE_DUMP
1089 const char *dump_to(DumpBuffer &out) const override;
1090#endif
1091
1092 protected:
1093};
1094#endif
1095#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
1097 public:
1098 static constexpr uint8_t MESSAGE_TYPE = 130;
1099 static constexpr uint8_t ESTIMATED_SIZE = 34;
1100#ifdef HAS_PROTO_MESSAGE_DUMP
1101 const char *message_name() const override { return "homeassistant_action_response"; }
1102#endif
1103 uint32_t call_id{0};
1104 bool success{false};
1106#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1107 const uint8_t *response_data{nullptr};
1109#endif
1110#ifdef HAS_PROTO_MESSAGE_DUMP
1111 const char *dump_to(DumpBuffer &out) const override;
1112#endif
1113
1114 protected:
1115 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1116 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1117};
1118#endif
1119#ifdef USE_API_HOMEASSISTANT_STATES
1121 public:
1122 static constexpr uint8_t MESSAGE_TYPE = 38;
1123 static constexpr uint8_t ESTIMATED_SIZE = 0;
1124#ifdef HAS_PROTO_MESSAGE_DUMP
1125 const char *message_name() const override { return "subscribe_home_assistant_states_request"; }
1126#endif
1127#ifdef HAS_PROTO_MESSAGE_DUMP
1128 const char *dump_to(DumpBuffer &out) const override;
1129#endif
1130
1131 protected:
1132};
1134 public:
1135 static constexpr uint8_t MESSAGE_TYPE = 39;
1136 static constexpr uint8_t ESTIMATED_SIZE = 20;
1137#ifdef HAS_PROTO_MESSAGE_DUMP
1138 const char *message_name() const override { return "subscribe_home_assistant_state_response"; }
1139#endif
1142 bool once{false};
1143 void encode(ProtoWriteBuffer buffer) const override;
1144 void calculate_size(ProtoSize &size) const override;
1145#ifdef HAS_PROTO_MESSAGE_DUMP
1146 const char *dump_to(DumpBuffer &out) const override;
1147#endif
1148
1149 protected:
1150};
1152 public:
1153 static constexpr uint8_t MESSAGE_TYPE = 40;
1154 static constexpr uint8_t ESTIMATED_SIZE = 27;
1155#ifdef HAS_PROTO_MESSAGE_DUMP
1156 const char *message_name() const override { return "home_assistant_state_response"; }
1157#endif
1161#ifdef HAS_PROTO_MESSAGE_DUMP
1162 const char *dump_to(DumpBuffer &out) const override;
1163#endif
1164
1165 protected:
1166 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1167};
1168#endif
1169class GetTimeRequest final : public ProtoMessage {
1170 public:
1171 static constexpr uint8_t MESSAGE_TYPE = 36;
1172 static constexpr uint8_t ESTIMATED_SIZE = 0;
1173#ifdef HAS_PROTO_MESSAGE_DUMP
1174 const char *message_name() const override { return "get_time_request"; }
1175#endif
1176#ifdef HAS_PROTO_MESSAGE_DUMP
1177 const char *dump_to(DumpBuffer &out) const override;
1178#endif
1179
1180 protected:
1181};
1183 public:
1184 static constexpr uint8_t MESSAGE_TYPE = 37;
1185 static constexpr uint8_t ESTIMATED_SIZE = 14;
1186#ifdef HAS_PROTO_MESSAGE_DUMP
1187 const char *message_name() const override { return "get_time_response"; }
1188#endif
1189 uint32_t epoch_seconds{0};
1191#ifdef HAS_PROTO_MESSAGE_DUMP
1192 const char *dump_to(DumpBuffer &out) const override;
1193#endif
1194
1195 protected:
1196 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1197 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1198};
1199#ifdef USE_API_USER_DEFINED_ACTIONS
1201 public:
1204 void encode(ProtoWriteBuffer buffer) const override;
1205 void calculate_size(ProtoSize &size) const override;
1206#ifdef HAS_PROTO_MESSAGE_DUMP
1207 const char *dump_to(DumpBuffer &out) const override;
1208#endif
1209
1210 protected:
1211};
1213 public:
1214 static constexpr uint8_t MESSAGE_TYPE = 41;
1215 static constexpr uint8_t ESTIMATED_SIZE = 50;
1216#ifdef HAS_PROTO_MESSAGE_DUMP
1217 const char *message_name() const override { return "list_entities_services_response"; }
1218#endif
1220 uint32_t key{0};
1223 void encode(ProtoWriteBuffer buffer) const override;
1224 void calculate_size(ProtoSize &size) const override;
1225#ifdef HAS_PROTO_MESSAGE_DUMP
1226 const char *dump_to(DumpBuffer &out) const override;
1227#endif
1228
1229 protected:
1230};
1232 public:
1233 bool bool_{false};
1234 int32_t legacy_int{0};
1235 float float_{0.0f};
1237 int32_t int_{0};
1242 void decode(const uint8_t *buffer, size_t length) override;
1243#ifdef HAS_PROTO_MESSAGE_DUMP
1244 const char *dump_to(DumpBuffer &out) const override;
1245#endif
1246
1247 protected:
1248 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1249 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1250 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1251};
1253 public:
1254 static constexpr uint8_t MESSAGE_TYPE = 42;
1255 static constexpr uint8_t ESTIMATED_SIZE = 45;
1256#ifdef HAS_PROTO_MESSAGE_DUMP
1257 const char *message_name() const override { return "execute_service_request"; }
1258#endif
1259 uint32_t key{0};
1261#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1262 uint32_t call_id{0};
1263#endif
1264#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1265 bool return_response{false};
1266#endif
1267 void decode(const uint8_t *buffer, size_t length) override;
1268#ifdef HAS_PROTO_MESSAGE_DUMP
1269 const char *dump_to(DumpBuffer &out) const override;
1270#endif
1271
1272 protected:
1273 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1274 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1275 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1276};
1277#endif
1278#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1280 public:
1281 static constexpr uint8_t MESSAGE_TYPE = 131;
1282 static constexpr uint8_t ESTIMATED_SIZE = 34;
1283#ifdef HAS_PROTO_MESSAGE_DUMP
1284 const char *message_name() const override { return "execute_service_response"; }
1285#endif
1286 uint32_t call_id{0};
1287 bool success{false};
1289#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES_JSON
1290 const uint8_t *response_data{nullptr};
1292#endif
1293 void encode(ProtoWriteBuffer buffer) const override;
1294 void calculate_size(ProtoSize &size) const override;
1295#ifdef HAS_PROTO_MESSAGE_DUMP
1296 const char *dump_to(DumpBuffer &out) const override;
1297#endif
1298
1299 protected:
1300};
1301#endif
1302#ifdef USE_CAMERA
1304 public:
1305 static constexpr uint8_t MESSAGE_TYPE = 43;
1306 static constexpr uint8_t ESTIMATED_SIZE = 40;
1307#ifdef HAS_PROTO_MESSAGE_DUMP
1308 const char *message_name() const override { return "list_entities_camera_response"; }
1309#endif
1310 void encode(ProtoWriteBuffer buffer) const override;
1311 void calculate_size(ProtoSize &size) const override;
1312#ifdef HAS_PROTO_MESSAGE_DUMP
1313 const char *dump_to(DumpBuffer &out) const override;
1314#endif
1315
1316 protected:
1317};
1319 public:
1320 static constexpr uint8_t MESSAGE_TYPE = 44;
1321 static constexpr uint8_t ESTIMATED_SIZE = 30;
1322#ifdef HAS_PROTO_MESSAGE_DUMP
1323 const char *message_name() const override { return "camera_image_response"; }
1324#endif
1325 const uint8_t *data_ptr_{nullptr};
1326 size_t data_len_{0};
1327 void set_data(const uint8_t *data, size_t len) {
1328 this->data_ptr_ = data;
1329 this->data_len_ = len;
1330 }
1331 bool done{false};
1332 void encode(ProtoWriteBuffer buffer) const override;
1333 void calculate_size(ProtoSize &size) const override;
1334#ifdef HAS_PROTO_MESSAGE_DUMP
1335 const char *dump_to(DumpBuffer &out) const override;
1336#endif
1337
1338 protected:
1339};
1341 public:
1342 static constexpr uint8_t MESSAGE_TYPE = 45;
1343 static constexpr uint8_t ESTIMATED_SIZE = 4;
1344#ifdef HAS_PROTO_MESSAGE_DUMP
1345 const char *message_name() const override { return "camera_image_request"; }
1346#endif
1347 bool single{false};
1348 bool stream{false};
1349#ifdef HAS_PROTO_MESSAGE_DUMP
1350 const char *dump_to(DumpBuffer &out) const override;
1351#endif
1352
1353 protected:
1354 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1355};
1356#endif
1357#ifdef USE_CLIMATE
1359 public:
1360 static constexpr uint8_t MESSAGE_TYPE = 46;
1361 static constexpr uint8_t ESTIMATED_SIZE = 150;
1362#ifdef HAS_PROTO_MESSAGE_DUMP
1363 const char *message_name() const override { return "list_entities_climate_response"; }
1364#endif
1371 bool supports_action{false};
1374 const std::vector<const char *> *supported_custom_fan_modes{};
1376 const std::vector<const char *> *supported_custom_presets{};
1382 uint32_t feature_flags{0};
1383 void encode(ProtoWriteBuffer buffer) const override;
1384 void calculate_size(ProtoSize &size) const override;
1385#ifdef HAS_PROTO_MESSAGE_DUMP
1386 const char *dump_to(DumpBuffer &out) const override;
1387#endif
1388
1389 protected:
1390};
1392 public:
1393 static constexpr uint8_t MESSAGE_TYPE = 47;
1394 static constexpr uint8_t ESTIMATED_SIZE = 68;
1395#ifdef HAS_PROTO_MESSAGE_DUMP
1396 const char *message_name() const override { return "climate_state_response"; }
1397#endif
1409 float current_humidity{0.0f};
1410 float target_humidity{0.0f};
1411 void encode(ProtoWriteBuffer buffer) const override;
1412 void calculate_size(ProtoSize &size) const override;
1413#ifdef HAS_PROTO_MESSAGE_DUMP
1414 const char *dump_to(DumpBuffer &out) const override;
1415#endif
1416
1417 protected:
1418};
1420 public:
1421 static constexpr uint8_t MESSAGE_TYPE = 48;
1422 static constexpr uint8_t ESTIMATED_SIZE = 84;
1423#ifdef HAS_PROTO_MESSAGE_DUMP
1424 const char *message_name() const override { return "climate_command_request"; }
1425#endif
1426 bool has_mode{false};
1434 bool has_fan_mode{false};
1436 bool has_swing_mode{false};
1440 bool has_preset{false};
1445 float target_humidity{0.0f};
1446#ifdef HAS_PROTO_MESSAGE_DUMP
1447 const char *dump_to(DumpBuffer &out) const override;
1448#endif
1449
1450 protected:
1451 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1452 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1453 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1454};
1455#endif
1456#ifdef USE_WATER_HEATER
1458 public:
1459 static constexpr uint8_t MESSAGE_TYPE = 132;
1460 static constexpr uint8_t ESTIMATED_SIZE = 63;
1461#ifdef HAS_PROTO_MESSAGE_DUMP
1462 const char *message_name() const override { return "list_entities_water_heater_response"; }
1463#endif
1464 float min_temperature{0.0f};
1465 float max_temperature{0.0f};
1469 void encode(ProtoWriteBuffer buffer) const override;
1470 void calculate_size(ProtoSize &size) const override;
1471#ifdef HAS_PROTO_MESSAGE_DUMP
1472 const char *dump_to(DumpBuffer &out) const override;
1473#endif
1474
1475 protected:
1476};
1478 public:
1479 static constexpr uint8_t MESSAGE_TYPE = 133;
1480 static constexpr uint8_t ESTIMATED_SIZE = 35;
1481#ifdef HAS_PROTO_MESSAGE_DUMP
1482 const char *message_name() const override { return "water_heater_state_response"; }
1483#endif
1487 uint32_t state{0};
1490 void encode(ProtoWriteBuffer buffer) const override;
1491 void calculate_size(ProtoSize &size) const override;
1492#ifdef HAS_PROTO_MESSAGE_DUMP
1493 const char *dump_to(DumpBuffer &out) const override;
1494#endif
1495
1496 protected:
1497};
1499 public:
1500 static constexpr uint8_t MESSAGE_TYPE = 134;
1501 static constexpr uint8_t ESTIMATED_SIZE = 34;
1502#ifdef HAS_PROTO_MESSAGE_DUMP
1503 const char *message_name() const override { return "water_heater_command_request"; }
1504#endif
1505 uint32_t has_fields{0};
1508 uint32_t state{0};
1511#ifdef HAS_PROTO_MESSAGE_DUMP
1512 const char *dump_to(DumpBuffer &out) const override;
1513#endif
1514
1515 protected:
1516 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1517 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1518};
1519#endif
1520#ifdef USE_NUMBER
1522 public:
1523 static constexpr uint8_t MESSAGE_TYPE = 49;
1524 static constexpr uint8_t ESTIMATED_SIZE = 75;
1525#ifdef HAS_PROTO_MESSAGE_DUMP
1526 const char *message_name() const override { return "list_entities_number_response"; }
1527#endif
1528 float min_value{0.0f};
1529 float max_value{0.0f};
1530 float step{0.0f};
1534 void encode(ProtoWriteBuffer buffer) const override;
1535 void calculate_size(ProtoSize &size) const override;
1536#ifdef HAS_PROTO_MESSAGE_DUMP
1537 const char *dump_to(DumpBuffer &out) const override;
1538#endif
1539
1540 protected:
1541};
1543 public:
1544 static constexpr uint8_t MESSAGE_TYPE = 50;
1545 static constexpr uint8_t ESTIMATED_SIZE = 16;
1546#ifdef HAS_PROTO_MESSAGE_DUMP
1547 const char *message_name() const override { return "number_state_response"; }
1548#endif
1549 float state{0.0f};
1550 bool missing_state{false};
1551 void encode(ProtoWriteBuffer buffer) const override;
1552 void calculate_size(ProtoSize &size) const override;
1553#ifdef HAS_PROTO_MESSAGE_DUMP
1554 const char *dump_to(DumpBuffer &out) const override;
1555#endif
1556
1557 protected:
1558};
1560 public:
1561 static constexpr uint8_t MESSAGE_TYPE = 51;
1562 static constexpr uint8_t ESTIMATED_SIZE = 14;
1563#ifdef HAS_PROTO_MESSAGE_DUMP
1564 const char *message_name() const override { return "number_command_request"; }
1565#endif
1566 float state{0.0f};
1567#ifdef HAS_PROTO_MESSAGE_DUMP
1568 const char *dump_to(DumpBuffer &out) const override;
1569#endif
1570
1571 protected:
1572 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1573 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1574};
1575#endif
1576#ifdef USE_SELECT
1578 public:
1579 static constexpr uint8_t MESSAGE_TYPE = 52;
1580 static constexpr uint8_t ESTIMATED_SIZE = 58;
1581#ifdef HAS_PROTO_MESSAGE_DUMP
1582 const char *message_name() const override { return "list_entities_select_response"; }
1583#endif
1585 void encode(ProtoWriteBuffer buffer) const override;
1586 void calculate_size(ProtoSize &size) const override;
1587#ifdef HAS_PROTO_MESSAGE_DUMP
1588 const char *dump_to(DumpBuffer &out) const override;
1589#endif
1590
1591 protected:
1592};
1594 public:
1595 static constexpr uint8_t MESSAGE_TYPE = 53;
1596 static constexpr uint8_t ESTIMATED_SIZE = 20;
1597#ifdef HAS_PROTO_MESSAGE_DUMP
1598 const char *message_name() const override { return "select_state_response"; }
1599#endif
1601 bool missing_state{false};
1602 void encode(ProtoWriteBuffer buffer) const override;
1603 void calculate_size(ProtoSize &size) const override;
1604#ifdef HAS_PROTO_MESSAGE_DUMP
1605 const char *dump_to(DumpBuffer &out) const override;
1606#endif
1607
1608 protected:
1609};
1611 public:
1612 static constexpr uint8_t MESSAGE_TYPE = 54;
1613 static constexpr uint8_t ESTIMATED_SIZE = 18;
1614#ifdef HAS_PROTO_MESSAGE_DUMP
1615 const char *message_name() const override { return "select_command_request"; }
1616#endif
1618#ifdef HAS_PROTO_MESSAGE_DUMP
1619 const char *dump_to(DumpBuffer &out) const override;
1620#endif
1621
1622 protected:
1623 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1624 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1625 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1626};
1627#endif
1628#ifdef USE_SIREN
1630 public:
1631 static constexpr uint8_t MESSAGE_TYPE = 55;
1632 static constexpr uint8_t ESTIMATED_SIZE = 62;
1633#ifdef HAS_PROTO_MESSAGE_DUMP
1634 const char *message_name() const override { return "list_entities_siren_response"; }
1635#endif
1638 bool supports_volume{false};
1639 void encode(ProtoWriteBuffer buffer) const override;
1640 void calculate_size(ProtoSize &size) const override;
1641#ifdef HAS_PROTO_MESSAGE_DUMP
1642 const char *dump_to(DumpBuffer &out) const override;
1643#endif
1644
1645 protected:
1646};
1648 public:
1649 static constexpr uint8_t MESSAGE_TYPE = 56;
1650 static constexpr uint8_t ESTIMATED_SIZE = 11;
1651#ifdef HAS_PROTO_MESSAGE_DUMP
1652 const char *message_name() const override { return "siren_state_response"; }
1653#endif
1654 bool state{false};
1655 void encode(ProtoWriteBuffer buffer) const override;
1656 void calculate_size(ProtoSize &size) const override;
1657#ifdef HAS_PROTO_MESSAGE_DUMP
1658 const char *dump_to(DumpBuffer &out) const override;
1659#endif
1660
1661 protected:
1662};
1664 public:
1665 static constexpr uint8_t MESSAGE_TYPE = 57;
1666 static constexpr uint8_t ESTIMATED_SIZE = 37;
1667#ifdef HAS_PROTO_MESSAGE_DUMP
1668 const char *message_name() const override { return "siren_command_request"; }
1669#endif
1670 bool has_state{false};
1671 bool state{false};
1672 bool has_tone{false};
1674 bool has_duration{false};
1675 uint32_t duration{0};
1676 bool has_volume{false};
1677 float volume{0.0f};
1678#ifdef HAS_PROTO_MESSAGE_DUMP
1679 const char *dump_to(DumpBuffer &out) const override;
1680#endif
1681
1682 protected:
1683 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1684 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1685 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1686};
1687#endif
1688#ifdef USE_LOCK
1690 public:
1691 static constexpr uint8_t MESSAGE_TYPE = 58;
1692 static constexpr uint8_t ESTIMATED_SIZE = 55;
1693#ifdef HAS_PROTO_MESSAGE_DUMP
1694 const char *message_name() const override { return "list_entities_lock_response"; }
1695#endif
1696 bool assumed_state{false};
1697 bool supports_open{false};
1698 bool requires_code{false};
1700 void encode(ProtoWriteBuffer buffer) const override;
1701 void calculate_size(ProtoSize &size) const override;
1702#ifdef HAS_PROTO_MESSAGE_DUMP
1703 const char *dump_to(DumpBuffer &out) const override;
1704#endif
1705
1706 protected:
1707};
1709 public:
1710 static constexpr uint8_t MESSAGE_TYPE = 59;
1711 static constexpr uint8_t ESTIMATED_SIZE = 11;
1712#ifdef HAS_PROTO_MESSAGE_DUMP
1713 const char *message_name() const override { return "lock_state_response"; }
1714#endif
1716 void encode(ProtoWriteBuffer buffer) const override;
1717 void calculate_size(ProtoSize &size) const override;
1718#ifdef HAS_PROTO_MESSAGE_DUMP
1719 const char *dump_to(DumpBuffer &out) const override;
1720#endif
1721
1722 protected:
1723};
1725 public:
1726 static constexpr uint8_t MESSAGE_TYPE = 60;
1727 static constexpr uint8_t ESTIMATED_SIZE = 22;
1728#ifdef HAS_PROTO_MESSAGE_DUMP
1729 const char *message_name() const override { return "lock_command_request"; }
1730#endif
1732 bool has_code{false};
1734#ifdef HAS_PROTO_MESSAGE_DUMP
1735 const char *dump_to(DumpBuffer &out) const override;
1736#endif
1737
1738 protected:
1739 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1740 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1741 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1742};
1743#endif
1744#ifdef USE_BUTTON
1746 public:
1747 static constexpr uint8_t MESSAGE_TYPE = 61;
1748 static constexpr uint8_t ESTIMATED_SIZE = 49;
1749#ifdef HAS_PROTO_MESSAGE_DUMP
1750 const char *message_name() const override { return "list_entities_button_response"; }
1751#endif
1753 void encode(ProtoWriteBuffer buffer) const override;
1754 void calculate_size(ProtoSize &size) const override;
1755#ifdef HAS_PROTO_MESSAGE_DUMP
1756 const char *dump_to(DumpBuffer &out) const override;
1757#endif
1758
1759 protected:
1760};
1762 public:
1763 static constexpr uint8_t MESSAGE_TYPE = 62;
1764 static constexpr uint8_t ESTIMATED_SIZE = 9;
1765#ifdef HAS_PROTO_MESSAGE_DUMP
1766 const char *message_name() const override { return "button_command_request"; }
1767#endif
1768#ifdef HAS_PROTO_MESSAGE_DUMP
1769 const char *dump_to(DumpBuffer &out) const override;
1770#endif
1771
1772 protected:
1773 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1774 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1775};
1776#endif
1777#ifdef USE_MEDIA_PLAYER
1779 public:
1781 uint32_t sample_rate{0};
1782 uint32_t num_channels{0};
1784 uint32_t sample_bytes{0};
1785 void encode(ProtoWriteBuffer buffer) const override;
1786 void calculate_size(ProtoSize &size) const override;
1787#ifdef HAS_PROTO_MESSAGE_DUMP
1788 const char *dump_to(DumpBuffer &out) const override;
1789#endif
1790
1791 protected:
1792};
1794 public:
1795 static constexpr uint8_t MESSAGE_TYPE = 63;
1796 static constexpr uint8_t ESTIMATED_SIZE = 80;
1797#ifdef HAS_PROTO_MESSAGE_DUMP
1798 const char *message_name() const override { return "list_entities_media_player_response"; }
1799#endif
1800 bool supports_pause{false};
1801 std::vector<MediaPlayerSupportedFormat> supported_formats{};
1802 uint32_t feature_flags{0};
1803 void encode(ProtoWriteBuffer buffer) const override;
1804 void calculate_size(ProtoSize &size) const override;
1805#ifdef HAS_PROTO_MESSAGE_DUMP
1806 const char *dump_to(DumpBuffer &out) const override;
1807#endif
1808
1809 protected:
1810};
1812 public:
1813 static constexpr uint8_t MESSAGE_TYPE = 64;
1814 static constexpr uint8_t ESTIMATED_SIZE = 18;
1815#ifdef HAS_PROTO_MESSAGE_DUMP
1816 const char *message_name() const override { return "media_player_state_response"; }
1817#endif
1819 float volume{0.0f};
1820 bool muted{false};
1821 void encode(ProtoWriteBuffer buffer) const override;
1822 void calculate_size(ProtoSize &size) const override;
1823#ifdef HAS_PROTO_MESSAGE_DUMP
1824 const char *dump_to(DumpBuffer &out) const override;
1825#endif
1826
1827 protected:
1828};
1830 public:
1831 static constexpr uint8_t MESSAGE_TYPE = 65;
1832 static constexpr uint8_t ESTIMATED_SIZE = 35;
1833#ifdef HAS_PROTO_MESSAGE_DUMP
1834 const char *message_name() const override { return "media_player_command_request"; }
1835#endif
1836 bool has_command{false};
1838 bool has_volume{false};
1839 float volume{0.0f};
1840 bool has_media_url{false};
1842 bool has_announcement{false};
1843 bool announcement{false};
1844#ifdef HAS_PROTO_MESSAGE_DUMP
1845 const char *dump_to(DumpBuffer &out) const override;
1846#endif
1847
1848 protected:
1849 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1850 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1851 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1852};
1853#endif
1854#ifdef USE_BLUETOOTH_PROXY
1856 public:
1857 static constexpr uint8_t MESSAGE_TYPE = 66;
1858 static constexpr uint8_t ESTIMATED_SIZE = 4;
1859#ifdef HAS_PROTO_MESSAGE_DUMP
1860 const char *message_name() const override { return "subscribe_bluetooth_le_advertisements_request"; }
1861#endif
1862 uint32_t flags{0};
1863#ifdef HAS_PROTO_MESSAGE_DUMP
1864 const char *dump_to(DumpBuffer &out) const override;
1865#endif
1866
1867 protected:
1868 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1869};
1871 public:
1872 uint64_t address{0};
1873 int32_t rssi{0};
1874 uint32_t address_type{0};
1875 uint8_t data[62]{};
1876 uint8_t data_len{0};
1877 void encode(ProtoWriteBuffer buffer) const override;
1878 void calculate_size(ProtoSize &size) const override;
1879#ifdef HAS_PROTO_MESSAGE_DUMP
1880 const char *dump_to(DumpBuffer &out) const override;
1881#endif
1882
1883 protected:
1884};
1886 public:
1887 static constexpr uint8_t MESSAGE_TYPE = 93;
1888 static constexpr uint8_t ESTIMATED_SIZE = 136;
1889#ifdef HAS_PROTO_MESSAGE_DUMP
1890 const char *message_name() const override { return "bluetooth_le_raw_advertisements_response"; }
1891#endif
1892 std::array<BluetoothLERawAdvertisement, BLUETOOTH_PROXY_ADVERTISEMENT_BATCH_SIZE> advertisements{};
1894 void encode(ProtoWriteBuffer buffer) const override;
1895 void calculate_size(ProtoSize &size) const override;
1896#ifdef HAS_PROTO_MESSAGE_DUMP
1897 const char *dump_to(DumpBuffer &out) const override;
1898#endif
1899
1900 protected:
1901};
1903 public:
1904 static constexpr uint8_t MESSAGE_TYPE = 68;
1905 static constexpr uint8_t ESTIMATED_SIZE = 12;
1906#ifdef HAS_PROTO_MESSAGE_DUMP
1907 const char *message_name() const override { return "bluetooth_device_request"; }
1908#endif
1909 uint64_t address{0};
1911 bool has_address_type{false};
1912 uint32_t address_type{0};
1913#ifdef HAS_PROTO_MESSAGE_DUMP
1914 const char *dump_to(DumpBuffer &out) const override;
1915#endif
1916
1917 protected:
1918 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1919};
1921 public:
1922 static constexpr uint8_t MESSAGE_TYPE = 69;
1923 static constexpr uint8_t ESTIMATED_SIZE = 14;
1924#ifdef HAS_PROTO_MESSAGE_DUMP
1925 const char *message_name() const override { return "bluetooth_device_connection_response"; }
1926#endif
1927 uint64_t address{0};
1928 bool connected{false};
1929 uint32_t mtu{0};
1930 int32_t error{0};
1931 void encode(ProtoWriteBuffer buffer) const override;
1932 void calculate_size(ProtoSize &size) const override;
1933#ifdef HAS_PROTO_MESSAGE_DUMP
1934 const char *dump_to(DumpBuffer &out) const override;
1935#endif
1936
1937 protected:
1938};
1940 public:
1941 static constexpr uint8_t MESSAGE_TYPE = 70;
1942 static constexpr uint8_t ESTIMATED_SIZE = 4;
1943#ifdef HAS_PROTO_MESSAGE_DUMP
1944 const char *message_name() const override { return "bluetooth_gatt_get_services_request"; }
1945#endif
1946 uint64_t address{0};
1947#ifdef HAS_PROTO_MESSAGE_DUMP
1948 const char *dump_to(DumpBuffer &out) const override;
1949#endif
1950
1951 protected:
1952 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1953};
1955 public:
1956 std::array<uint64_t, 2> uuid{};
1957 uint32_t handle{0};
1958 uint32_t short_uuid{0};
1959 void encode(ProtoWriteBuffer buffer) const override;
1960 void calculate_size(ProtoSize &size) const override;
1961#ifdef HAS_PROTO_MESSAGE_DUMP
1962 const char *dump_to(DumpBuffer &out) const override;
1963#endif
1964
1965 protected:
1966};
1968 public:
1969 std::array<uint64_t, 2> uuid{};
1970 uint32_t handle{0};
1971 uint32_t properties{0};
1973 uint32_t short_uuid{0};
1974 void encode(ProtoWriteBuffer buffer) const override;
1975 void calculate_size(ProtoSize &size) const override;
1976#ifdef HAS_PROTO_MESSAGE_DUMP
1977 const char *dump_to(DumpBuffer &out) const override;
1978#endif
1979
1980 protected:
1981};
1983 public:
1984 std::array<uint64_t, 2> uuid{};
1985 uint32_t handle{0};
1987 uint32_t short_uuid{0};
1988 void encode(ProtoWriteBuffer buffer) const override;
1989 void calculate_size(ProtoSize &size) const override;
1990#ifdef HAS_PROTO_MESSAGE_DUMP
1991 const char *dump_to(DumpBuffer &out) const override;
1992#endif
1993
1994 protected:
1995};
1997 public:
1998 static constexpr uint8_t MESSAGE_TYPE = 71;
1999 static constexpr uint8_t ESTIMATED_SIZE = 38;
2000#ifdef HAS_PROTO_MESSAGE_DUMP
2001 const char *message_name() const override { return "bluetooth_gatt_get_services_response"; }
2002#endif
2003 uint64_t address{0};
2004 std::vector<BluetoothGATTService> services{};
2005 void encode(ProtoWriteBuffer buffer) const override;
2006 void calculate_size(ProtoSize &size) const override;
2007#ifdef HAS_PROTO_MESSAGE_DUMP
2008 const char *dump_to(DumpBuffer &out) const override;
2009#endif
2010
2011 protected:
2012};
2014 public:
2015 static constexpr uint8_t MESSAGE_TYPE = 72;
2016 static constexpr uint8_t ESTIMATED_SIZE = 4;
2017#ifdef HAS_PROTO_MESSAGE_DUMP
2018 const char *message_name() const override { return "bluetooth_gatt_get_services_done_response"; }
2019#endif
2020 uint64_t address{0};
2021 void encode(ProtoWriteBuffer buffer) const override;
2022 void calculate_size(ProtoSize &size) const override;
2023#ifdef HAS_PROTO_MESSAGE_DUMP
2024 const char *dump_to(DumpBuffer &out) const override;
2025#endif
2026
2027 protected:
2028};
2030 public:
2031 static constexpr uint8_t MESSAGE_TYPE = 73;
2032 static constexpr uint8_t ESTIMATED_SIZE = 8;
2033#ifdef HAS_PROTO_MESSAGE_DUMP
2034 const char *message_name() const override { return "bluetooth_gatt_read_request"; }
2035#endif
2036 uint64_t address{0};
2037 uint32_t handle{0};
2038#ifdef HAS_PROTO_MESSAGE_DUMP
2039 const char *dump_to(DumpBuffer &out) const override;
2040#endif
2041
2042 protected:
2043 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2044};
2046 public:
2047 static constexpr uint8_t MESSAGE_TYPE = 74;
2048 static constexpr uint8_t ESTIMATED_SIZE = 27;
2049#ifdef HAS_PROTO_MESSAGE_DUMP
2050 const char *message_name() const override { return "bluetooth_gatt_read_response"; }
2051#endif
2052 uint64_t address{0};
2053 uint32_t handle{0};
2054 const uint8_t *data_ptr_{nullptr};
2055 size_t data_len_{0};
2056 void set_data(const uint8_t *data, size_t len) {
2057 this->data_ptr_ = data;
2058 this->data_len_ = len;
2059 }
2060 void encode(ProtoWriteBuffer buffer) const override;
2061 void calculate_size(ProtoSize &size) const override;
2062#ifdef HAS_PROTO_MESSAGE_DUMP
2063 const char *dump_to(DumpBuffer &out) const override;
2064#endif
2065
2066 protected:
2067};
2069 public:
2070 static constexpr uint8_t MESSAGE_TYPE = 75;
2071 static constexpr uint8_t ESTIMATED_SIZE = 29;
2072#ifdef HAS_PROTO_MESSAGE_DUMP
2073 const char *message_name() const override { return "bluetooth_gatt_write_request"; }
2074#endif
2075 uint64_t address{0};
2076 uint32_t handle{0};
2077 bool response{false};
2078 const uint8_t *data{nullptr};
2079 uint16_t data_len{0};
2080#ifdef HAS_PROTO_MESSAGE_DUMP
2081 const char *dump_to(DumpBuffer &out) const override;
2082#endif
2083
2084 protected:
2085 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2086 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2087};
2089 public:
2090 static constexpr uint8_t MESSAGE_TYPE = 76;
2091 static constexpr uint8_t ESTIMATED_SIZE = 8;
2092#ifdef HAS_PROTO_MESSAGE_DUMP
2093 const char *message_name() const override { return "bluetooth_gatt_read_descriptor_request"; }
2094#endif
2095 uint64_t address{0};
2096 uint32_t handle{0};
2097#ifdef HAS_PROTO_MESSAGE_DUMP
2098 const char *dump_to(DumpBuffer &out) const override;
2099#endif
2100
2101 protected:
2102 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2103};
2105 public:
2106 static constexpr uint8_t MESSAGE_TYPE = 77;
2107 static constexpr uint8_t ESTIMATED_SIZE = 27;
2108#ifdef HAS_PROTO_MESSAGE_DUMP
2109 const char *message_name() const override { return "bluetooth_gatt_write_descriptor_request"; }
2110#endif
2111 uint64_t address{0};
2112 uint32_t handle{0};
2113 const uint8_t *data{nullptr};
2114 uint16_t data_len{0};
2115#ifdef HAS_PROTO_MESSAGE_DUMP
2116 const char *dump_to(DumpBuffer &out) const override;
2117#endif
2118
2119 protected:
2120 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2121 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2122};
2124 public:
2125 static constexpr uint8_t MESSAGE_TYPE = 78;
2126 static constexpr uint8_t ESTIMATED_SIZE = 10;
2127#ifdef HAS_PROTO_MESSAGE_DUMP
2128 const char *message_name() const override { return "bluetooth_gatt_notify_request"; }
2129#endif
2130 uint64_t address{0};
2131 uint32_t handle{0};
2132 bool enable{false};
2133#ifdef HAS_PROTO_MESSAGE_DUMP
2134 const char *dump_to(DumpBuffer &out) const override;
2135#endif
2136
2137 protected:
2138 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2139};
2141 public:
2142 static constexpr uint8_t MESSAGE_TYPE = 79;
2143 static constexpr uint8_t ESTIMATED_SIZE = 27;
2144#ifdef HAS_PROTO_MESSAGE_DUMP
2145 const char *message_name() const override { return "bluetooth_gatt_notify_data_response"; }
2146#endif
2147 uint64_t address{0};
2148 uint32_t handle{0};
2149 const uint8_t *data_ptr_{nullptr};
2150 size_t data_len_{0};
2151 void set_data(const uint8_t *data, size_t len) {
2152 this->data_ptr_ = data;
2153 this->data_len_ = len;
2154 }
2155 void encode(ProtoWriteBuffer buffer) const override;
2156 void calculate_size(ProtoSize &size) const override;
2157#ifdef HAS_PROTO_MESSAGE_DUMP
2158 const char *dump_to(DumpBuffer &out) const override;
2159#endif
2160
2161 protected:
2162};
2164 public:
2165 static constexpr uint8_t MESSAGE_TYPE = 80;
2166 static constexpr uint8_t ESTIMATED_SIZE = 0;
2167#ifdef HAS_PROTO_MESSAGE_DUMP
2168 const char *message_name() const override { return "subscribe_bluetooth_connections_free_request"; }
2169#endif
2170#ifdef HAS_PROTO_MESSAGE_DUMP
2171 const char *dump_to(DumpBuffer &out) const override;
2172#endif
2173
2174 protected:
2175};
2177 public:
2178 static constexpr uint8_t MESSAGE_TYPE = 81;
2179 static constexpr uint8_t ESTIMATED_SIZE = 20;
2180#ifdef HAS_PROTO_MESSAGE_DUMP
2181 const char *message_name() const override { return "bluetooth_connections_free_response"; }
2182#endif
2183 uint32_t free{0};
2184 uint32_t limit{0};
2185 std::array<uint64_t, BLUETOOTH_PROXY_MAX_CONNECTIONS> allocated{};
2186 void encode(ProtoWriteBuffer buffer) const override;
2187 void calculate_size(ProtoSize &size) const override;
2188#ifdef HAS_PROTO_MESSAGE_DUMP
2189 const char *dump_to(DumpBuffer &out) const override;
2190#endif
2191
2192 protected:
2193};
2195 public:
2196 static constexpr uint8_t MESSAGE_TYPE = 82;
2197 static constexpr uint8_t ESTIMATED_SIZE = 12;
2198#ifdef HAS_PROTO_MESSAGE_DUMP
2199 const char *message_name() const override { return "bluetooth_gatt_error_response"; }
2200#endif
2201 uint64_t address{0};
2202 uint32_t handle{0};
2203 int32_t error{0};
2204 void encode(ProtoWriteBuffer buffer) const override;
2205 void calculate_size(ProtoSize &size) const override;
2206#ifdef HAS_PROTO_MESSAGE_DUMP
2207 const char *dump_to(DumpBuffer &out) const override;
2208#endif
2209
2210 protected:
2211};
2213 public:
2214 static constexpr uint8_t MESSAGE_TYPE = 83;
2215 static constexpr uint8_t ESTIMATED_SIZE = 8;
2216#ifdef HAS_PROTO_MESSAGE_DUMP
2217 const char *message_name() const override { return "bluetooth_gatt_write_response"; }
2218#endif
2219 uint64_t address{0};
2220 uint32_t handle{0};
2221 void encode(ProtoWriteBuffer buffer) const override;
2222 void calculate_size(ProtoSize &size) const override;
2223#ifdef HAS_PROTO_MESSAGE_DUMP
2224 const char *dump_to(DumpBuffer &out) const override;
2225#endif
2226
2227 protected:
2228};
2230 public:
2231 static constexpr uint8_t MESSAGE_TYPE = 84;
2232 static constexpr uint8_t ESTIMATED_SIZE = 8;
2233#ifdef HAS_PROTO_MESSAGE_DUMP
2234 const char *message_name() const override { return "bluetooth_gatt_notify_response"; }
2235#endif
2236 uint64_t address{0};
2237 uint32_t handle{0};
2238 void encode(ProtoWriteBuffer buffer) const override;
2239 void calculate_size(ProtoSize &size) const override;
2240#ifdef HAS_PROTO_MESSAGE_DUMP
2241 const char *dump_to(DumpBuffer &out) const override;
2242#endif
2243
2244 protected:
2245};
2247 public:
2248 static constexpr uint8_t MESSAGE_TYPE = 85;
2249 static constexpr uint8_t ESTIMATED_SIZE = 10;
2250#ifdef HAS_PROTO_MESSAGE_DUMP
2251 const char *message_name() const override { return "bluetooth_device_pairing_response"; }
2252#endif
2253 uint64_t address{0};
2254 bool paired{false};
2255 int32_t error{0};
2256 void encode(ProtoWriteBuffer buffer) const override;
2257 void calculate_size(ProtoSize &size) const override;
2258#ifdef HAS_PROTO_MESSAGE_DUMP
2259 const char *dump_to(DumpBuffer &out) const override;
2260#endif
2261
2262 protected:
2263};
2265 public:
2266 static constexpr uint8_t MESSAGE_TYPE = 86;
2267 static constexpr uint8_t ESTIMATED_SIZE = 10;
2268#ifdef HAS_PROTO_MESSAGE_DUMP
2269 const char *message_name() const override { return "bluetooth_device_unpairing_response"; }
2270#endif
2271 uint64_t address{0};
2272 bool success{false};
2273 int32_t error{0};
2274 void encode(ProtoWriteBuffer buffer) const override;
2275 void calculate_size(ProtoSize &size) const override;
2276#ifdef HAS_PROTO_MESSAGE_DUMP
2277 const char *dump_to(DumpBuffer &out) const override;
2278#endif
2279
2280 protected:
2281};
2283 public:
2284 static constexpr uint8_t MESSAGE_TYPE = 87;
2285 static constexpr uint8_t ESTIMATED_SIZE = 0;
2286#ifdef HAS_PROTO_MESSAGE_DUMP
2287 const char *message_name() const override { return "unsubscribe_bluetooth_le_advertisements_request"; }
2288#endif
2289#ifdef HAS_PROTO_MESSAGE_DUMP
2290 const char *dump_to(DumpBuffer &out) const override;
2291#endif
2292
2293 protected:
2294};
2296 public:
2297 static constexpr uint8_t MESSAGE_TYPE = 88;
2298 static constexpr uint8_t ESTIMATED_SIZE = 10;
2299#ifdef HAS_PROTO_MESSAGE_DUMP
2300 const char *message_name() const override { return "bluetooth_device_clear_cache_response"; }
2301#endif
2302 uint64_t address{0};
2303 bool success{false};
2304 int32_t error{0};
2305 void encode(ProtoWriteBuffer buffer) const override;
2306 void calculate_size(ProtoSize &size) const override;
2307#ifdef HAS_PROTO_MESSAGE_DUMP
2308 const char *dump_to(DumpBuffer &out) const override;
2309#endif
2310
2311 protected:
2312};
2314 public:
2315 static constexpr uint8_t MESSAGE_TYPE = 126;
2316 static constexpr uint8_t ESTIMATED_SIZE = 6;
2317#ifdef HAS_PROTO_MESSAGE_DUMP
2318 const char *message_name() const override { return "bluetooth_scanner_state_response"; }
2319#endif
2323 void encode(ProtoWriteBuffer buffer) const override;
2324 void calculate_size(ProtoSize &size) const override;
2325#ifdef HAS_PROTO_MESSAGE_DUMP
2326 const char *dump_to(DumpBuffer &out) const override;
2327#endif
2328
2329 protected:
2330};
2332 public:
2333 static constexpr uint8_t MESSAGE_TYPE = 127;
2334 static constexpr uint8_t ESTIMATED_SIZE = 2;
2335#ifdef HAS_PROTO_MESSAGE_DUMP
2336 const char *message_name() const override { return "bluetooth_scanner_set_mode_request"; }
2337#endif
2339#ifdef HAS_PROTO_MESSAGE_DUMP
2340 const char *dump_to(DumpBuffer &out) const override;
2341#endif
2342
2343 protected:
2344 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2345};
2346#endif
2347#ifdef USE_VOICE_ASSISTANT
2349 public:
2350 static constexpr uint8_t MESSAGE_TYPE = 89;
2351 static constexpr uint8_t ESTIMATED_SIZE = 6;
2352#ifdef HAS_PROTO_MESSAGE_DUMP
2353 const char *message_name() const override { return "subscribe_voice_assistant_request"; }
2354#endif
2355 bool subscribe{false};
2356 uint32_t flags{0};
2357#ifdef HAS_PROTO_MESSAGE_DUMP
2358 const char *dump_to(DumpBuffer &out) const override;
2359#endif
2360
2361 protected:
2362 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2363};
2365 public:
2367 uint32_t auto_gain{0};
2369 void encode(ProtoWriteBuffer buffer) const override;
2370 void calculate_size(ProtoSize &size) const override;
2371#ifdef HAS_PROTO_MESSAGE_DUMP
2372 const char *dump_to(DumpBuffer &out) const override;
2373#endif
2374
2375 protected:
2376};
2378 public:
2379 static constexpr uint8_t MESSAGE_TYPE = 90;
2380 static constexpr uint8_t ESTIMATED_SIZE = 41;
2381#ifdef HAS_PROTO_MESSAGE_DUMP
2382 const char *message_name() const override { return "voice_assistant_request"; }
2383#endif
2384 bool start{false};
2386 uint32_t flags{0};
2389 void encode(ProtoWriteBuffer buffer) const override;
2390 void calculate_size(ProtoSize &size) const override;
2391#ifdef HAS_PROTO_MESSAGE_DUMP
2392 const char *dump_to(DumpBuffer &out) const override;
2393#endif
2394
2395 protected:
2396};
2398 public:
2399 static constexpr uint8_t MESSAGE_TYPE = 91;
2400 static constexpr uint8_t ESTIMATED_SIZE = 6;
2401#ifdef HAS_PROTO_MESSAGE_DUMP
2402 const char *message_name() const override { return "voice_assistant_response"; }
2403#endif
2404 uint32_t port{0};
2405 bool error{false};
2406#ifdef HAS_PROTO_MESSAGE_DUMP
2407 const char *dump_to(DumpBuffer &out) const override;
2408#endif
2409
2410 protected:
2411 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2412};
2414 public:
2417#ifdef HAS_PROTO_MESSAGE_DUMP
2418 const char *dump_to(DumpBuffer &out) const override;
2419#endif
2420
2421 protected:
2422 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2423};
2425 public:
2426 static constexpr uint8_t MESSAGE_TYPE = 92;
2427 static constexpr uint8_t ESTIMATED_SIZE = 36;
2428#ifdef HAS_PROTO_MESSAGE_DUMP
2429 const char *message_name() const override { return "voice_assistant_event_response"; }
2430#endif
2432 std::vector<VoiceAssistantEventData> data{};
2433#ifdef HAS_PROTO_MESSAGE_DUMP
2434 const char *dump_to(DumpBuffer &out) const override;
2435#endif
2436
2437 protected:
2438 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2439 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2440};
2442 public:
2443 static constexpr uint8_t MESSAGE_TYPE = 106;
2444 static constexpr uint8_t ESTIMATED_SIZE = 21;
2445#ifdef HAS_PROTO_MESSAGE_DUMP
2446 const char *message_name() const override { return "voice_assistant_audio"; }
2447#endif
2448 const uint8_t *data{nullptr};
2449 uint16_t data_len{0};
2450 bool end{false};
2451 void encode(ProtoWriteBuffer buffer) const override;
2452 void calculate_size(ProtoSize &size) const override;
2453#ifdef HAS_PROTO_MESSAGE_DUMP
2454 const char *dump_to(DumpBuffer &out) const override;
2455#endif
2456
2457 protected:
2458 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2459 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2460};
2462 public:
2463 static constexpr uint8_t MESSAGE_TYPE = 115;
2464 static constexpr uint8_t ESTIMATED_SIZE = 30;
2465#ifdef HAS_PROTO_MESSAGE_DUMP
2466 const char *message_name() const override { return "voice_assistant_timer_event_response"; }
2467#endif
2471 uint32_t total_seconds{0};
2472 uint32_t seconds_left{0};
2473 bool is_active{false};
2474#ifdef HAS_PROTO_MESSAGE_DUMP
2475 const char *dump_to(DumpBuffer &out) const override;
2476#endif
2477
2478 protected:
2479 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2480 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2481};
2483 public:
2484 static constexpr uint8_t MESSAGE_TYPE = 119;
2485 static constexpr uint8_t ESTIMATED_SIZE = 29;
2486#ifdef HAS_PROTO_MESSAGE_DUMP
2487 const char *message_name() const override { return "voice_assistant_announce_request"; }
2488#endif
2493#ifdef HAS_PROTO_MESSAGE_DUMP
2494 const char *dump_to(DumpBuffer &out) const override;
2495#endif
2496
2497 protected:
2498 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2499 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2500};
2502 public:
2503 static constexpr uint8_t MESSAGE_TYPE = 120;
2504 static constexpr uint8_t ESTIMATED_SIZE = 2;
2505#ifdef HAS_PROTO_MESSAGE_DUMP
2506 const char *message_name() const override { return "voice_assistant_announce_finished"; }
2507#endif
2508 bool success{false};
2509 void encode(ProtoWriteBuffer buffer) const override;
2510 void calculate_size(ProtoSize &size) const override;
2511#ifdef HAS_PROTO_MESSAGE_DUMP
2512 const char *dump_to(DumpBuffer &out) const override;
2513#endif
2514
2515 protected:
2516};
2518 public:
2521 std::vector<std::string> trained_languages{};
2522 void encode(ProtoWriteBuffer buffer) const override;
2523 void calculate_size(ProtoSize &size) const override;
2524#ifdef HAS_PROTO_MESSAGE_DUMP
2525 const char *dump_to(DumpBuffer &out) const override;
2526#endif
2527
2528 protected:
2529};
2531 public:
2534 std::vector<std::string> trained_languages{};
2536 uint32_t model_size{0};
2539#ifdef HAS_PROTO_MESSAGE_DUMP
2540 const char *dump_to(DumpBuffer &out) const override;
2541#endif
2542
2543 protected:
2544 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2545 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2546};
2548 public:
2549 static constexpr uint8_t MESSAGE_TYPE = 121;
2550 static constexpr uint8_t ESTIMATED_SIZE = 34;
2551#ifdef HAS_PROTO_MESSAGE_DUMP
2552 const char *message_name() const override { return "voice_assistant_configuration_request"; }
2553#endif
2554 std::vector<VoiceAssistantExternalWakeWord> external_wake_words{};
2555#ifdef HAS_PROTO_MESSAGE_DUMP
2556 const char *dump_to(DumpBuffer &out) const override;
2557#endif
2558
2559 protected:
2560 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2561};
2563 public:
2564 static constexpr uint8_t MESSAGE_TYPE = 122;
2565 static constexpr uint8_t ESTIMATED_SIZE = 56;
2566#ifdef HAS_PROTO_MESSAGE_DUMP
2567 const char *message_name() const override { return "voice_assistant_configuration_response"; }
2568#endif
2569 std::vector<VoiceAssistantWakeWord> available_wake_words{};
2570 const std::vector<std::string> *active_wake_words{};
2572 void encode(ProtoWriteBuffer buffer) const override;
2573 void calculate_size(ProtoSize &size) const override;
2574#ifdef HAS_PROTO_MESSAGE_DUMP
2575 const char *dump_to(DumpBuffer &out) const override;
2576#endif
2577
2578 protected:
2579};
2581 public:
2582 static constexpr uint8_t MESSAGE_TYPE = 123;
2583 static constexpr uint8_t ESTIMATED_SIZE = 18;
2584#ifdef HAS_PROTO_MESSAGE_DUMP
2585 const char *message_name() const override { return "voice_assistant_set_configuration"; }
2586#endif
2587 std::vector<std::string> active_wake_words{};
2588#ifdef HAS_PROTO_MESSAGE_DUMP
2589 const char *dump_to(DumpBuffer &out) const override;
2590#endif
2591
2592 protected:
2593 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2594};
2595#endif
2596#ifdef USE_ALARM_CONTROL_PANEL
2598 public:
2599 static constexpr uint8_t MESSAGE_TYPE = 94;
2600 static constexpr uint8_t ESTIMATED_SIZE = 48;
2601#ifdef HAS_PROTO_MESSAGE_DUMP
2602 const char *message_name() const override { return "list_entities_alarm_control_panel_response"; }
2603#endif
2605 bool requires_code{false};
2607 void encode(ProtoWriteBuffer buffer) const override;
2608 void calculate_size(ProtoSize &size) const override;
2609#ifdef HAS_PROTO_MESSAGE_DUMP
2610 const char *dump_to(DumpBuffer &out) const override;
2611#endif
2612
2613 protected:
2614};
2616 public:
2617 static constexpr uint8_t MESSAGE_TYPE = 95;
2618 static constexpr uint8_t ESTIMATED_SIZE = 11;
2619#ifdef HAS_PROTO_MESSAGE_DUMP
2620 const char *message_name() const override { return "alarm_control_panel_state_response"; }
2621#endif
2623 void encode(ProtoWriteBuffer buffer) const override;
2624 void calculate_size(ProtoSize &size) const override;
2625#ifdef HAS_PROTO_MESSAGE_DUMP
2626 const char *dump_to(DumpBuffer &out) const override;
2627#endif
2628
2629 protected:
2630};
2632 public:
2633 static constexpr uint8_t MESSAGE_TYPE = 96;
2634 static constexpr uint8_t ESTIMATED_SIZE = 20;
2635#ifdef HAS_PROTO_MESSAGE_DUMP
2636 const char *message_name() const override { return "alarm_control_panel_command_request"; }
2637#endif
2640#ifdef HAS_PROTO_MESSAGE_DUMP
2641 const char *dump_to(DumpBuffer &out) const override;
2642#endif
2643
2644 protected:
2645 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2646 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2647 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2648};
2649#endif
2650#ifdef USE_TEXT
2652 public:
2653 static constexpr uint8_t MESSAGE_TYPE = 97;
2654 static constexpr uint8_t ESTIMATED_SIZE = 59;
2655#ifdef HAS_PROTO_MESSAGE_DUMP
2656 const char *message_name() const override { return "list_entities_text_response"; }
2657#endif
2658 uint32_t min_length{0};
2659 uint32_t max_length{0};
2662 void encode(ProtoWriteBuffer buffer) const override;
2663 void calculate_size(ProtoSize &size) const override;
2664#ifdef HAS_PROTO_MESSAGE_DUMP
2665 const char *dump_to(DumpBuffer &out) const override;
2666#endif
2667
2668 protected:
2669};
2671 public:
2672 static constexpr uint8_t MESSAGE_TYPE = 98;
2673 static constexpr uint8_t ESTIMATED_SIZE = 20;
2674#ifdef HAS_PROTO_MESSAGE_DUMP
2675 const char *message_name() const override { return "text_state_response"; }
2676#endif
2678 bool missing_state{false};
2679 void encode(ProtoWriteBuffer buffer) const override;
2680 void calculate_size(ProtoSize &size) const override;
2681#ifdef HAS_PROTO_MESSAGE_DUMP
2682 const char *dump_to(DumpBuffer &out) const override;
2683#endif
2684
2685 protected:
2686};
2688 public:
2689 static constexpr uint8_t MESSAGE_TYPE = 99;
2690 static constexpr uint8_t ESTIMATED_SIZE = 18;
2691#ifdef HAS_PROTO_MESSAGE_DUMP
2692 const char *message_name() const override { return "text_command_request"; }
2693#endif
2695#ifdef HAS_PROTO_MESSAGE_DUMP
2696 const char *dump_to(DumpBuffer &out) const override;
2697#endif
2698
2699 protected:
2700 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2701 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2702 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2703};
2704#endif
2705#ifdef USE_DATETIME_DATE
2707 public:
2708 static constexpr uint8_t MESSAGE_TYPE = 100;
2709 static constexpr uint8_t ESTIMATED_SIZE = 40;
2710#ifdef HAS_PROTO_MESSAGE_DUMP
2711 const char *message_name() const override { return "list_entities_date_response"; }
2712#endif
2713 void encode(ProtoWriteBuffer buffer) const override;
2714 void calculate_size(ProtoSize &size) const override;
2715#ifdef HAS_PROTO_MESSAGE_DUMP
2716 const char *dump_to(DumpBuffer &out) const override;
2717#endif
2718
2719 protected:
2720};
2722 public:
2723 static constexpr uint8_t MESSAGE_TYPE = 101;
2724 static constexpr uint8_t ESTIMATED_SIZE = 23;
2725#ifdef HAS_PROTO_MESSAGE_DUMP
2726 const char *message_name() const override { return "date_state_response"; }
2727#endif
2728 bool missing_state{false};
2729 uint32_t year{0};
2730 uint32_t month{0};
2731 uint32_t day{0};
2732 void encode(ProtoWriteBuffer buffer) const override;
2733 void calculate_size(ProtoSize &size) const override;
2734#ifdef HAS_PROTO_MESSAGE_DUMP
2735 const char *dump_to(DumpBuffer &out) const override;
2736#endif
2737
2738 protected:
2739};
2741 public:
2742 static constexpr uint8_t MESSAGE_TYPE = 102;
2743 static constexpr uint8_t ESTIMATED_SIZE = 21;
2744#ifdef HAS_PROTO_MESSAGE_DUMP
2745 const char *message_name() const override { return "date_command_request"; }
2746#endif
2747 uint32_t year{0};
2748 uint32_t month{0};
2749 uint32_t day{0};
2750#ifdef HAS_PROTO_MESSAGE_DUMP
2751 const char *dump_to(DumpBuffer &out) const override;
2752#endif
2753
2754 protected:
2755 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2756 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2757};
2758#endif
2759#ifdef USE_DATETIME_TIME
2761 public:
2762 static constexpr uint8_t MESSAGE_TYPE = 103;
2763 static constexpr uint8_t ESTIMATED_SIZE = 40;
2764#ifdef HAS_PROTO_MESSAGE_DUMP
2765 const char *message_name() const override { return "list_entities_time_response"; }
2766#endif
2767 void encode(ProtoWriteBuffer buffer) const override;
2768 void calculate_size(ProtoSize &size) const override;
2769#ifdef HAS_PROTO_MESSAGE_DUMP
2770 const char *dump_to(DumpBuffer &out) const override;
2771#endif
2772
2773 protected:
2774};
2776 public:
2777 static constexpr uint8_t MESSAGE_TYPE = 104;
2778 static constexpr uint8_t ESTIMATED_SIZE = 23;
2779#ifdef HAS_PROTO_MESSAGE_DUMP
2780 const char *message_name() const override { return "time_state_response"; }
2781#endif
2782 bool missing_state{false};
2783 uint32_t hour{0};
2784 uint32_t minute{0};
2785 uint32_t second{0};
2786 void encode(ProtoWriteBuffer buffer) const override;
2787 void calculate_size(ProtoSize &size) const override;
2788#ifdef HAS_PROTO_MESSAGE_DUMP
2789 const char *dump_to(DumpBuffer &out) const override;
2790#endif
2791
2792 protected:
2793};
2795 public:
2796 static constexpr uint8_t MESSAGE_TYPE = 105;
2797 static constexpr uint8_t ESTIMATED_SIZE = 21;
2798#ifdef HAS_PROTO_MESSAGE_DUMP
2799 const char *message_name() const override { return "time_command_request"; }
2800#endif
2801 uint32_t hour{0};
2802 uint32_t minute{0};
2803 uint32_t second{0};
2804#ifdef HAS_PROTO_MESSAGE_DUMP
2805 const char *dump_to(DumpBuffer &out) const override;
2806#endif
2807
2808 protected:
2809 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2810 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2811};
2812#endif
2813#ifdef USE_EVENT
2815 public:
2816 static constexpr uint8_t MESSAGE_TYPE = 107;
2817 static constexpr uint8_t ESTIMATED_SIZE = 67;
2818#ifdef HAS_PROTO_MESSAGE_DUMP
2819 const char *message_name() const override { return "list_entities_event_response"; }
2820#endif
2823 void encode(ProtoWriteBuffer buffer) const override;
2824 void calculate_size(ProtoSize &size) const override;
2825#ifdef HAS_PROTO_MESSAGE_DUMP
2826 const char *dump_to(DumpBuffer &out) const override;
2827#endif
2828
2829 protected:
2830};
2832 public:
2833 static constexpr uint8_t MESSAGE_TYPE = 108;
2834 static constexpr uint8_t ESTIMATED_SIZE = 18;
2835#ifdef HAS_PROTO_MESSAGE_DUMP
2836 const char *message_name() const override { return "event_response"; }
2837#endif
2839 void encode(ProtoWriteBuffer buffer) const override;
2840 void calculate_size(ProtoSize &size) const override;
2841#ifdef HAS_PROTO_MESSAGE_DUMP
2842 const char *dump_to(DumpBuffer &out) const override;
2843#endif
2844
2845 protected:
2846};
2847#endif
2848#ifdef USE_VALVE
2850 public:
2851 static constexpr uint8_t MESSAGE_TYPE = 109;
2852 static constexpr uint8_t ESTIMATED_SIZE = 55;
2853#ifdef HAS_PROTO_MESSAGE_DUMP
2854 const char *message_name() const override { return "list_entities_valve_response"; }
2855#endif
2857 bool assumed_state{false};
2859 bool supports_stop{false};
2860 void encode(ProtoWriteBuffer buffer) const override;
2861 void calculate_size(ProtoSize &size) const override;
2862#ifdef HAS_PROTO_MESSAGE_DUMP
2863 const char *dump_to(DumpBuffer &out) const override;
2864#endif
2865
2866 protected:
2867};
2869 public:
2870 static constexpr uint8_t MESSAGE_TYPE = 110;
2871 static constexpr uint8_t ESTIMATED_SIZE = 16;
2872#ifdef HAS_PROTO_MESSAGE_DUMP
2873 const char *message_name() const override { return "valve_state_response"; }
2874#endif
2875 float position{0.0f};
2877 void encode(ProtoWriteBuffer buffer) const override;
2878 void calculate_size(ProtoSize &size) const override;
2879#ifdef HAS_PROTO_MESSAGE_DUMP
2880 const char *dump_to(DumpBuffer &out) const override;
2881#endif
2882
2883 protected:
2884};
2886 public:
2887 static constexpr uint8_t MESSAGE_TYPE = 111;
2888 static constexpr uint8_t ESTIMATED_SIZE = 18;
2889#ifdef HAS_PROTO_MESSAGE_DUMP
2890 const char *message_name() const override { return "valve_command_request"; }
2891#endif
2892 bool has_position{false};
2893 float position{0.0f};
2894 bool stop{false};
2895#ifdef HAS_PROTO_MESSAGE_DUMP
2896 const char *dump_to(DumpBuffer &out) const override;
2897#endif
2898
2899 protected:
2900 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2901 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2902};
2903#endif
2904#ifdef USE_DATETIME_DATETIME
2906 public:
2907 static constexpr uint8_t MESSAGE_TYPE = 112;
2908 static constexpr uint8_t ESTIMATED_SIZE = 40;
2909#ifdef HAS_PROTO_MESSAGE_DUMP
2910 const char *message_name() const override { return "list_entities_date_time_response"; }
2911#endif
2912 void encode(ProtoWriteBuffer buffer) const override;
2913 void calculate_size(ProtoSize &size) const override;
2914#ifdef HAS_PROTO_MESSAGE_DUMP
2915 const char *dump_to(DumpBuffer &out) const override;
2916#endif
2917
2918 protected:
2919};
2921 public:
2922 static constexpr uint8_t MESSAGE_TYPE = 113;
2923 static constexpr uint8_t ESTIMATED_SIZE = 16;
2924#ifdef HAS_PROTO_MESSAGE_DUMP
2925 const char *message_name() const override { return "date_time_state_response"; }
2926#endif
2927 bool missing_state{false};
2928 uint32_t epoch_seconds{0};
2929 void encode(ProtoWriteBuffer buffer) const override;
2930 void calculate_size(ProtoSize &size) const override;
2931#ifdef HAS_PROTO_MESSAGE_DUMP
2932 const char *dump_to(DumpBuffer &out) const override;
2933#endif
2934
2935 protected:
2936};
2938 public:
2939 static constexpr uint8_t MESSAGE_TYPE = 114;
2940 static constexpr uint8_t ESTIMATED_SIZE = 14;
2941#ifdef HAS_PROTO_MESSAGE_DUMP
2942 const char *message_name() const override { return "date_time_command_request"; }
2943#endif
2944 uint32_t epoch_seconds{0};
2945#ifdef HAS_PROTO_MESSAGE_DUMP
2946 const char *dump_to(DumpBuffer &out) const override;
2947#endif
2948
2949 protected:
2950 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2951 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2952};
2953#endif
2954#ifdef USE_UPDATE
2956 public:
2957 static constexpr uint8_t MESSAGE_TYPE = 116;
2958 static constexpr uint8_t ESTIMATED_SIZE = 49;
2959#ifdef HAS_PROTO_MESSAGE_DUMP
2960 const char *message_name() const override { return "list_entities_update_response"; }
2961#endif
2963 void encode(ProtoWriteBuffer buffer) const override;
2964 void calculate_size(ProtoSize &size) const override;
2965#ifdef HAS_PROTO_MESSAGE_DUMP
2966 const char *dump_to(DumpBuffer &out) const override;
2967#endif
2968
2969 protected:
2970};
2972 public:
2973 static constexpr uint8_t MESSAGE_TYPE = 117;
2974 static constexpr uint8_t ESTIMATED_SIZE = 65;
2975#ifdef HAS_PROTO_MESSAGE_DUMP
2976 const char *message_name() const override { return "update_state_response"; }
2977#endif
2978 bool missing_state{false};
2979 bool in_progress{false};
2980 bool has_progress{false};
2981 float progress{0.0f};
2987 void encode(ProtoWriteBuffer buffer) const override;
2988 void calculate_size(ProtoSize &size) const override;
2989#ifdef HAS_PROTO_MESSAGE_DUMP
2990 const char *dump_to(DumpBuffer &out) const override;
2991#endif
2992
2993 protected:
2994};
2996 public:
2997 static constexpr uint8_t MESSAGE_TYPE = 118;
2998 static constexpr uint8_t ESTIMATED_SIZE = 11;
2999#ifdef HAS_PROTO_MESSAGE_DUMP
3000 const char *message_name() const override { return "update_command_request"; }
3001#endif
3003#ifdef HAS_PROTO_MESSAGE_DUMP
3004 const char *dump_to(DumpBuffer &out) const override;
3005#endif
3006
3007 protected:
3008 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
3009 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
3010};
3011#endif
3012#ifdef USE_ZWAVE_PROXY
3014 public:
3015 static constexpr uint8_t MESSAGE_TYPE = 128;
3016 static constexpr uint8_t ESTIMATED_SIZE = 19;
3017#ifdef HAS_PROTO_MESSAGE_DUMP
3018 const char *message_name() const override { return "z_wave_proxy_frame"; }
3019#endif
3020 const uint8_t *data{nullptr};
3021 uint16_t data_len{0};
3022 void encode(ProtoWriteBuffer buffer) const override;
3023 void calculate_size(ProtoSize &size) const override;
3024#ifdef HAS_PROTO_MESSAGE_DUMP
3025 const char *dump_to(DumpBuffer &out) const override;
3026#endif
3027
3028 protected:
3029 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3030};
3032 public:
3033 static constexpr uint8_t MESSAGE_TYPE = 129;
3034 static constexpr uint8_t ESTIMATED_SIZE = 21;
3035#ifdef HAS_PROTO_MESSAGE_DUMP
3036 const char *message_name() const override { return "z_wave_proxy_request"; }
3037#endif
3039 const uint8_t *data{nullptr};
3040 uint16_t data_len{0};
3041 void encode(ProtoWriteBuffer buffer) const override;
3042 void calculate_size(ProtoSize &size) const override;
3043#ifdef HAS_PROTO_MESSAGE_DUMP
3044 const char *dump_to(DumpBuffer &out) const override;
3045#endif
3046
3047 protected:
3048 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3049 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
3050};
3051#endif
3052#ifdef USE_INFRARED
3054 public:
3055 static constexpr uint8_t MESSAGE_TYPE = 135;
3056 static constexpr uint8_t ESTIMATED_SIZE = 44;
3057#ifdef HAS_PROTO_MESSAGE_DUMP
3058 const char *message_name() const override { return "list_entities_infrared_response"; }
3059#endif
3060 uint32_t capabilities{0};
3061 void encode(ProtoWriteBuffer buffer) const override;
3062 void calculate_size(ProtoSize &size) const override;
3063#ifdef HAS_PROTO_MESSAGE_DUMP
3064 const char *dump_to(DumpBuffer &out) const override;
3065#endif
3066
3067 protected:
3068};
3069#endif
3070#ifdef USE_IR_RF
3072 public:
3073 static constexpr uint8_t MESSAGE_TYPE = 136;
3074 static constexpr uint8_t ESTIMATED_SIZE = 220;
3075#ifdef HAS_PROTO_MESSAGE_DUMP
3076 const char *message_name() const override { return "infrared_rf_transmit_raw_timings_request"; }
3077#endif
3078#ifdef USE_DEVICES
3079 uint32_t device_id{0};
3080#endif
3081 uint32_t key{0};
3083 uint32_t repeat_count{0};
3084 const uint8_t *timings_data_{nullptr};
3085 uint16_t timings_length_{0};
3086 uint16_t timings_count_{0};
3087#ifdef HAS_PROTO_MESSAGE_DUMP
3088 const char *dump_to(DumpBuffer &out) const override;
3089#endif
3090
3091 protected:
3092 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
3093 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3094 bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
3095};
3097 public:
3098 static constexpr uint8_t MESSAGE_TYPE = 137;
3099 static constexpr uint8_t ESTIMATED_SIZE = 17;
3100#ifdef HAS_PROTO_MESSAGE_DUMP
3101 const char *message_name() const override { return "infrared_rf_receive_event"; }
3102#endif
3103#ifdef USE_DEVICES
3104 uint32_t device_id{0};
3105#endif
3106 uint32_t key{0};
3107 const std::vector<int32_t> *timings{};
3108 void encode(ProtoWriteBuffer buffer) const override;
3109 void calculate_size(ProtoSize &size) const override;
3110#ifdef HAS_PROTO_MESSAGE_DUMP
3111 const char *dump_to(DumpBuffer &out) const override;
3112#endif
3113
3114 protected:
3115};
3116#endif
3117
3118} // namespace esphome::api
Fixed-capacity vector - allocates once at runtime, never reallocates This avoids std::vector template...
Definition helpers.h:188
StringRef is a reference to a string owned by something else.
Definition string_ref.h:26
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2761
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2735
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2636
enums::AlarmControlPanelStateCommand command
Definition api_pb2.h:2638
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2750
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2634
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2618
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2728
enums::AlarmControlPanelState state
Definition api_pb2.h:2622
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2617
const char * message_name() const override
Definition api_pb2.h:2620
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2721
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:47
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:51
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:209
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:608
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:609
const char * message_name() const override
Definition api_pb2.h:611
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:217
std::array< uint64_t, BLUETOOTH_PROXY_MAX_CONNECTIONS > allocated
Definition api_pb2.h:2185
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2315
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2181
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2324
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2384
const char * message_name() const override
Definition api_pb2.h:2300
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2379
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1925
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2106
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2112
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2364
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2249
const char * message_name() const override
Definition api_pb2.h:2251
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2248
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2359
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1904
enums::BluetoothDeviceRequestType request_type
Definition api_pb2.h:1910
const char * message_name() const override
Definition api_pb2.h:1907
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1905
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2087
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2369
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2269
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2374
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2144
FixedVector< BluetoothGATTDescriptor > descriptors
Definition api_pb2.h:1972
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2156
const char * dump_to(DumpBuffer &out) const override
std::array< uint64_t, 2 > uuid
Definition api_pb2.h:1969
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2136
std::array< uint64_t, 2 > uuid
Definition api_pb2.h:1956
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2128
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2333
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2197
const char * message_name() const override
Definition api_pb2.h:2199
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2338
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2196
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2196
const char * message_name() const override
Definition api_pb2.h:2018
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2199
const char * message_name() const override
Definition api_pb2.h:1944
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1942
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2118
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2192
const char * message_name() const override
Definition api_pb2.h:2001
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2186
std::vector< BluetoothGATTService > services
Definition api_pb2.h:2004
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2305
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:2151
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2310
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2143
const char * message_name() const override
Definition api_pb2.h:2145
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2126
const char * message_name() const override
Definition api_pb2.h:2128
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2125
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2289
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2231
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2232
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2355
const char * message_name() const override
Definition api_pb2.h:2234
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2351
const char * message_name() const override
Definition api_pb2.h:2093
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2251
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2200
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2031
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2034
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2032
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2213
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2047
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:2056
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2048
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2218
const char * message_name() const override
Definition api_pb2.h:2050
FixedVector< BluetoothGATTCharacteristic > characteristics
Definition api_pb2.h:1986
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2177
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2166
std::array< uint64_t, 2 > uuid
Definition api_pb2.h:1984
const char * message_name() const override
Definition api_pb2.h:2109
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2277
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2264
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2239
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2071
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2073
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2223
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2070
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2347
const char * message_name() const override
Definition api_pb2.h:2217
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2215
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2343
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2214
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2071
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2065
std::array< BluetoothLERawAdvertisement, BLUETOOTH_PROXY_ADVERTISEMENT_BATCH_SIZE > advertisements
Definition api_pb2.h:1892
const char * message_name() const override
Definition api_pb2.h:1890
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2077
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2082
const char * message_name() const override
Definition api_pb2.h:2336
enums::BluetoothScannerMode mode
Definition api_pb2.h:2338
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2333
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2399
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2334
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2389
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2316
enums::BluetoothScannerMode mode
Definition api_pb2.h:2321
enums::BluetoothScannerState state
Definition api_pb2.h:2320
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2315
enums::BluetoothScannerMode configured_mode
Definition api_pb2.h:2322
const char * message_name() const override
Definition api_pb2.h:2318
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2394
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1763
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1909
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1766
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1921
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1764
const char * message_name() const override
Definition api_pb2.h:1345
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1343
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1342
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1166
const char * dump_to(DumpBuffer &out) const override
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:1327
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1158
const char * message_name() const override
Definition api_pb2.h:1323
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1321
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1320
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1150
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1386
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1421
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1422
const char * dump_to(DumpBuffer &out) const override
enums::ClimateSwingMode swing_mode
Definition api_pb2.h:1437
const char * message_name() const override
Definition api_pb2.h:1424
enums::ClimateFanMode fan_mode
Definition api_pb2.h:1435
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1317
enums::ClimatePreset preset
Definition api_pb2.h:1441
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1371
enums::ClimateFanMode fan_mode
Definition api_pb2.h:1404
enums::ClimateSwingMode swing_mode
Definition api_pb2.h:1405
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1393
const char * message_name() const override
Definition api_pb2.h:1396
const char * dump_to(DumpBuffer &out) const override
enums::ClimateAction action
Definition api_pb2.h:1403
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1279
enums::ClimatePreset preset
Definition api_pb2.h:1407
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1298
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1394
~CommandProtoMessage() override=default
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:302
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:665
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:281
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:666
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:668
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:648
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:263
const char * message_name() const override
Definition api_pb2.h:650
enums::CoverOperation current_operation
Definition api_pb2.h:654
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:272
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:647
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2925
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2742
const char * message_name() const override
Definition api_pb2.h:2745
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2904
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2743
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2884
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2723
const char * message_name() const override
Definition api_pb2.h:2726
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2894
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2724
const char * message_name() const override
Definition api_pb2.h:2942
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2940
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2939
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3205
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:3193
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3185
const char * message_name() const override
Definition api_pb2.h:2925
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2922
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2923
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3177
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:62
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:57
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:445
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:446
const char * message_name() const override
Definition api_pb2.h:448
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:68
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:487
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:123
std::array< AreaInfo, ESPHOME_AREA_COUNT > areas
Definition api_pb2.h:530
const char * message_name() const override
Definition api_pb2.h:490
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:488
std::array< DeviceInfo, ESPHOME_DEVICE_COUNT > devices
Definition api_pb2.h:527
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:393
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:394
const char * message_name() const override
Definition api_pb2.h:396
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:406
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:407
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:409
Fixed-size buffer for message dumps - avoids heap allocation.
Definition proto.h:371
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3059
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3052
const char * message_name() const override
Definition api_pb2.h:2836
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2833
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2834
const char * dump_to(DumpBuffer &out) const override
void decode(const uint8_t *buffer, size_t length) override
Definition api_pb2.cpp:1050
FixedVector< float > float_array
Definition api_pb2.h:1240
FixedVector< std::string > string_array
Definition api_pb2.h:1241
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1023
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1001
FixedVector< int32_t > int_array
Definition api_pb2.h:1239
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1037
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1254
FixedVector< ExecuteServiceArgument > args
Definition api_pb2.h:1260
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1061
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1255
void decode(const uint8_t *buffer, size_t length) override
Definition api_pb2.cpp:1099
const char * message_name() const override
Definition api_pb2.h:1257
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1089
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1078
const char * message_name() const override
Definition api_pb2.h:1284
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1114
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1106
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1282
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1281
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:727
const char * message_name() const override
Definition api_pb2.h:730
const char * dump_to(DumpBuffer &out) const override
enums::FanDirection direction
Definition api_pb2.h:737
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:384
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:423
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:728
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:434
enums::FanDirection direction
Definition api_pb2.h:714
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:362
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:708
const char * message_name() const override
Definition api_pb2.h:710
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:373
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:707
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1171
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1174
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1172
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1187
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:968
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:957
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1185
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1184
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:10
const char * message_name() const override
Definition api_pb2.h:359
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:357
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:356
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:23
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:374
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:40
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:34
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:375
const char * message_name() const override
Definition api_pb2.h:377
const char * message_name() const override
Definition api_pb2.h:1156
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1153
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1154
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:937
FixedVector< HomeassistantServiceMap > variables
Definition api_pb2.h:1075
FixedVector< HomeassistantServiceMap > data
Definition api_pb2.h:1073
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1068
FixedVector< HomeassistantServiceMap > data_template
Definition api_pb2.h:1074
const char * message_name() const override
Definition api_pb2.h:1070
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:876
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:854
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1067
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:894
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:907
const char * message_name() const override
Definition api_pb2.h:1101
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1099
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1098
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:846
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:850
~InfoResponseProtoMessage() override=default
enums::EntityCategory entity_category
Definition api_pb2.h:325
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3099
const char * message_name() const override
Definition api_pb2.h:3101
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3422
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3431
const std::vector< int32_t > * timings
Definition api_pb2.h:3107
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3098
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3412
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:3076
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3399
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:3381
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:588
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:599
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:528
const char * message_name() const override
Definition api_pb2.h:804
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:801
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:802
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:492
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:775
enums::ColorMode color_mode
Definition api_pb2.h:781
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:774
const char * message_name() const override
Definition api_pb2.h:777
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:510
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2705
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2689
const char * message_name() const override
Definition api_pb2.h:2602
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:179
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:194
const char * message_name() const override
Definition api_pb2.h:594
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:592
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1748
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1747
const char * message_name() const override
Definition api_pb2.h:1750
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1895
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1881
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1308
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1305
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1137
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1124
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1306
const std::vector< const char * > * supported_custom_presets
Definition api_pb2.h:1376
const climate::ClimateSwingModeMask * supported_swing_modes
Definition api_pb2.h:1373
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1361
const std::vector< const char * > * supported_custom_fan_modes
Definition api_pb2.h:1374
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1360
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1224
const climate::ClimatePresetMask * supported_presets
Definition api_pb2.h:1375
const climate::ClimateFanModeMask * supported_fan_modes
Definition api_pb2.h:1372
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1181
const char * dump_to(DumpBuffer &out) const override
const climate::ClimateModeMask * supported_modes
Definition api_pb2.h:1367
const char * message_name() const override
Definition api_pb2.h:1363
const char * message_name() const override
Definition api_pb2.h:630
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:628
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:245
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:627
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:227
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2709
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2858
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2871
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2708
const char * message_name() const override
Definition api_pb2.h:2711
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3164
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2907
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2908
const char * message_name() const override
Definition api_pb2.h:2910
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3151
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:564
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:565
const char * message_name() const override
Definition api_pb2.h:567
const FixedVector< const char * > * event_types
Definition api_pb2.h:2822
const char * message_name() const override
Definition api_pb2.h:2819
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3033
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3016
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2817
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2816
const char * message_name() const override
Definition api_pb2.h:690
const std::vector< const char * > * supported_preset_modes
Definition api_pb2.h:696
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:688
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:687
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:320
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:340
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3365
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3351
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3055
const char * message_name() const override
Definition api_pb2.h:3058
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3056
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:756
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:467
const char * message_name() const override
Definition api_pb2.h:758
const char * dump_to(DumpBuffer &out) const override
const FixedVector< const char * > * effects
Definition api_pb2.h:763
const light::ColorModeMask * supported_color_modes
Definition api_pb2.h:760
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:755
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:446
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1792
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1691
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1809
const char * message_name() const override
Definition api_pb2.h:1694
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1692
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1796
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1947
const char * message_name() const override
Definition api_pb2.h:1798
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1965
std::vector< MediaPlayerSupportedFormat > supported_formats
Definition api_pb2.h:1801
const char * message_name() const override
Definition api_pb2.h:1526
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1537
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1524
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1523
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1518
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:552
const char * message_name() const override
Definition api_pb2.h:554
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:551
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1579
const char * message_name() const override
Definition api_pb2.h:1582
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1615
const FixedVector< const char * > * options
Definition api_pb2.h:1584
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1599
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1580
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:848
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:638
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:656
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:846
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:845
enums::SensorStateClass state_class
Definition api_pb2.h:854
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:983
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:979
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:995
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:987
const char * message_name() const override
Definition api_pb2.h:1217
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1214
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1215
enums::SupportsResponseType supports_response
Definition api_pb2.h:1222
FixedVector< ListEntitiesServicesArgument > args
Definition api_pb2.h:1221
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1684
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1634
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1702
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1631
const FixedVector< const char * > * tones
Definition api_pb2.h:1636
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1632
const char * message_name() const override
Definition api_pb2.h:887
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:692
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:885
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:884
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:707
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2653
const char * message_name() const override
Definition api_pb2.h:2656
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2790
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2654
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2773
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:777
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:763
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:935
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:936
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:938
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2937
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2950
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2763
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2765
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2762
const char * message_name() const override
Definition api_pb2.h:2960
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3234
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2957
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2958
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3220
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2851
const char * message_name() const override
Definition api_pb2.h:2854
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2852
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3085
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3068
const char * dump_to(DumpBuffer &out) const override
const water_heater::WaterHeaterModeMask * supported_modes
Definition api_pb2.h:1467
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1430
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1410
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1460
const char * message_name() const override
Definition api_pb2.h:1462
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1726
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1840
const char * message_name() const override
Definition api_pb2.h:1729
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1869
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1727
enums::LockCommand command
Definition api_pb2.h:1731
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1858
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1711
const char * message_name() const override
Definition api_pb2.h:1713
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1710
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1833
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1826
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1832
const char * dump_to(DumpBuffer &out) const override
enums::MediaPlayerCommand command
Definition api_pb2.h:1837
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2040
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1999
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2029
const char * message_name() const override
Definition api_pb2.h:1834
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1831
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1990
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1813
enums::MediaPlayerState state
Definition api_pb2.h:1818
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1981
const char * message_name() const override
Definition api_pb2.h:1816
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1814
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1940
enums::MediaPlayerFormatPurpose purpose
Definition api_pb2.h:1783
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1933
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1008
const char * message_name() const override
Definition api_pb2.h:1011
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:830
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1009
const char * message_name() const override
Definition api_pb2.h:1027
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:842
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:843
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1025
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1024
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1561
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1584
const char * message_name() const override
Definition api_pb2.h:1564
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1562
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1572
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1556
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1547
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1545
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1544
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1564
const char * message_name() const override
Definition api_pb2.h:422
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:419
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:420
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:432
const char * message_name() const override
Definition api_pb2.h:435
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:433
const char * dump_to(DumpBuffer &out) const override
Representation of a VarInt - in ProtoBuf should be 64bit but we only use 32bit.
Definition proto.h:91
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1661
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1649
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1613
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1612
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1672
const char * message_name() const override
Definition api_pb2.h:1615
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1596
const char * message_name() const override
Definition api_pb2.h:1598
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1633
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1641
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1595
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:682
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:674
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:866
const char * message_name() const override
Definition api_pb2.h:868
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:865
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1766
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1736
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1666
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1777
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1665
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1668
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1729
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1650
const char * message_name() const override
Definition api_pb2.h:1652
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1649
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1722
const char * dump_to(DumpBuffer &out) const override
~StateResponseProtoMessage() override=default
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2055
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:932
const char * message_name() const override
Definition api_pb2.h:1138
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:927
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1125
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1045
const char * message_name() const override
Definition api_pb2.h:972
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:970
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:969
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:808
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:985
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:825
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:986
void set_message(const uint8_t *data, size_t len)
Definition api_pb2.h:993
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:821
const char * message_name() const override
Definition api_pb2.h:988
const char * message_name() const override
Definition api_pb2.h:580
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:578
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:577
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2353
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2350
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2411
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2351
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:751
const char * message_name() const override
Definition api_pb2.h:920
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:736
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:917
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:918
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:904
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:722
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:902
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:729
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:901
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2835
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2690
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2846
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2692
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2823
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2689
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:799
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:791
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:951
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:952
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:954
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2673
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2672
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2815
const char * message_name() const override
Definition api_pb2.h:2675
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2807
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3004
const char * message_name() const override
Definition api_pb2.h:2799
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2796
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2983
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2797
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2777
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2778
const char * message_name() const override
Definition api_pb2.h:2780
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2973
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2963
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2998
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3293
enums::UpdateCommand command
Definition api_pb2.h:3002
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:3278
const char * message_name() const override
Definition api_pb2.h:3000
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2997
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2974
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2976
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3263
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3248
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2973
const char * message_name() const override
Definition api_pb2.h:2890
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2887
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:3118
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2888
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3136
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3102
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2871
const char * message_name() const override
Definition api_pb2.h:2873
enums::ValveOperation current_operation
Definition api_pb2.h:2876
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2870
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3110
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2591
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2504
const char * message_name() const override
Definition api_pb2.h:2506
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2503
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2590
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2571
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2485
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2484
const char * message_name() const override
Definition api_pb2.h:2487
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2561
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2519
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2523
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2446
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2507
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2444
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2443
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2497
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2424
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2429
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2552
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2648
const char * dump_to(DumpBuffer &out) const override
std::vector< VoiceAssistantExternalWakeWord > external_wake_words
Definition api_pb2.h:2554
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2668
std::vector< VoiceAssistantWakeWord > available_wake_words
Definition api_pb2.h:2569
const char * message_name() const override
Definition api_pb2.h:2567
const std::vector< std::string > * active_wake_words
Definition api_pb2.h:2570
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2659
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2461
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2486
const char * message_name() const override
Definition api_pb2.h:2429
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2427
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2426
const char * dump_to(DumpBuffer &out) const override
enums::VoiceAssistantEvent event_type
Definition api_pb2.h:2431
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2476
std::vector< VoiceAssistantEventData > data
Definition api_pb2.h:2432
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2618
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2608
std::vector< std::string > trained_languages
Definition api_pb2.h:2534
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2441
const char * message_name() const override
Definition api_pb2.h:2382
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2379
VoiceAssistantAudioSettings audio_settings
Definition api_pb2.h:2387
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2380
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2434
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2402
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2400
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2399
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2448
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2583
std::vector< std::string > active_wake_words
Definition api_pb2.h:2587
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2582
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2677
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2585
enums::VoiceAssistantTimerEvent event_type
Definition api_pb2.h:2468
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2546
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:2527
const char * message_name() const override
Definition api_pb2.h:2466
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:2592
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:2599
const char * dump_to(DumpBuffer &out) const override
std::vector< std::string > trained_languages
Definition api_pb2.h:2521
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1497
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:1476
const char * message_name() const override
Definition api_pb2.h:1503
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1501
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1500
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1479
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1480
const char * message_name() const override
Definition api_pb2.h:1482
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:1464
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:1452
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3016
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3305
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3317
const char * dump_to(DumpBuffer &out) const override
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3318
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3015
const char * message_name() const override
Definition api_pb2.h:3018
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3034
void calculate_size(ProtoSize &size) const override
Definition api_pb2.cpp:3345
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3329
bool decode_varint(uint32_t field_id, ProtoVarInt value) override
Definition api_pb2.cpp:3319
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3033
const char * message_name() const override
Definition api_pb2.h:3036
enums::ZWaveProxyRequestType type
Definition api_pb2.h:3038
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer buffer) const override
Definition api_pb2.cpp:3341
@ MEDIA_PLAYER_STATE_ANNOUNCING
Definition api_pb2.h:179
@ ALARM_STATE_ARMED_CUSTOM_BYPASS
Definition api_pb2.h:269
@ SERVICE_ARG_TYPE_BOOL_ARRAY
Definition api_pb2.h:73
@ SERVICE_ARG_TYPE_STRING_ARRAY
Definition api_pb2.h:76
@ SERVICE_ARG_TYPE_FLOAT_ARRAY
Definition api_pb2.h:75
@ VOICE_ASSISTANT_REQUEST_USE_WAKE_WORD
Definition api_pb2.h:234
@ VOICE_ASSISTANT_REQUEST_USE_VAD
Definition api_pb2.h:233
@ WATER_HEATER_MODE_PERFORMANCE
Definition api_pb2.h:137
@ WATER_HEATER_MODE_HIGH_DEMAND
Definition api_pb2.h:138
@ MEDIA_PLAYER_FORMAT_PURPOSE_ANNOUNCEMENT
Definition api_pb2.h:201
@ MEDIA_PLAYER_FORMAT_PURPOSE_DEFAULT
Definition api_pb2.h:200
@ COLOR_MODE_LEGACY_BRIGHTNESS
Definition api_pb2.h:37
@ COLOR_MODE_RGB_COLOR_TEMPERATURE
Definition api_pb2.h:44
@ COLOR_MODE_COLOR_TEMPERATURE
Definition api_pb2.h:40
@ COLOR_MODE_RGB_COLD_WARM_WHITE
Definition api_pb2.h:45
@ VOICE_ASSISTANT_TIMER_UPDATED
Definition api_pb2.h:257
@ VOICE_ASSISTANT_TIMER_STARTED
Definition api_pb2.h:256
@ VOICE_ASSISTANT_TIMER_FINISHED
Definition api_pb2.h:259
@ VOICE_ASSISTANT_TIMER_CANCELLED
Definition api_pb2.h:258
@ MEDIA_PLAYER_COMMAND_REPEAT_ONE
Definition api_pb2.h:193
@ MEDIA_PLAYER_COMMAND_REPEAT_OFF
Definition api_pb2.h:194
@ MEDIA_PLAYER_COMMAND_VOLUME_DOWN
Definition api_pb2.h:191
@ MEDIA_PLAYER_COMMAND_VOLUME_UP
Definition api_pb2.h:190
@ MEDIA_PLAYER_COMMAND_TURN_OFF
Definition api_pb2.h:197
@ MEDIA_PLAYER_COMMAND_CLEAR_PLAYLIST
Definition api_pb2.h:195
@ VOICE_ASSISTANT_WAKE_WORD_START
Definition api_pb2.h:247
@ VOICE_ASSISTANT_TTS_STREAM_END
Definition api_pb2.h:252
@ VOICE_ASSISTANT_STT_VAD_START
Definition api_pb2.h:249
@ VOICE_ASSISTANT_INTENT_PROGRESS
Definition api_pb2.h:253
@ VOICE_ASSISTANT_TTS_STREAM_START
Definition api_pb2.h:251
@ VOICE_ASSISTANT_WAKE_WORD_END
Definition api_pb2.h:248
@ BLUETOOTH_DEVICE_REQUEST_TYPE_UNPAIR
Definition api_pb2.h:209
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE
Definition api_pb2.h:210
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT
Definition api_pb2.h:206
@ BLUETOOTH_DEVICE_REQUEST_TYPE_PAIR
Definition api_pb2.h:208
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE
Definition api_pb2.h:211
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CLEAR_CACHE
Definition api_pb2.h:212
@ BLUETOOTH_DEVICE_REQUEST_TYPE_DISCONNECT
Definition api_pb2.h:207
@ BLUETOOTH_SCANNER_MODE_PASSIVE
Definition api_pb2.h:223
@ BLUETOOTH_SCANNER_MODE_ACTIVE
Definition api_pb2.h:224
@ BLUETOOTH_SCANNER_STATE_STOPPED
Definition api_pb2.h:220
@ BLUETOOTH_SCANNER_STATE_STARTING
Definition api_pb2.h:216
@ BLUETOOTH_SCANNER_STATE_STOPPING
Definition api_pb2.h:219
@ BLUETOOTH_SCANNER_STATE_RUNNING
Definition api_pb2.h:217
@ BLUETOOTH_SCANNER_STATE_FAILED
Definition api_pb2.h:218
@ WATER_HEATER_COMMAND_HAS_NONE
Definition api_pb2.h:144
@ WATER_HEATER_COMMAND_HAS_STATE
Definition api_pb2.h:147
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_LOW
Definition api_pb2.h:148
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE
Definition api_pb2.h:146
@ WATER_HEATER_COMMAND_HAS_MODE
Definition api_pb2.h:145
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_HIGH
Definition api_pb2.h:149
@ ZWAVE_PROXY_REQUEST_TYPE_SUBSCRIBE
Definition api_pb2.h:307
@ ZWAVE_PROXY_REQUEST_TYPE_UNSUBSCRIBE
Definition api_pb2.h:308
@ ZWAVE_PROXY_REQUEST_TYPE_HOME_ID_CHANGE
Definition api_pb2.h:309
@ ALARM_CONTROL_PANEL_ARM_NIGHT
Definition api_pb2.h:279
@ ALARM_CONTROL_PANEL_ARM_CUSTOM_BYPASS
Definition api_pb2.h:281
@ ALARM_CONTROL_PANEL_ARM_VACATION
Definition api_pb2.h:280
@ VOICE_ASSISTANT_SUBSCRIBE_API_AUDIO
Definition api_pb2.h:229
@ VOICE_ASSISTANT_SUBSCRIBE_NONE
Definition api_pb2.h:228
@ STATE_CLASS_TOTAL_INCREASING
Definition api_pb2.h:52
@ STATE_CLASS_MEASUREMENT_ANGLE
Definition api_pb2.h:54
std::string size_t len
Definition helpers.h:595
uint16_t length
Definition tt21100.cpp:0