244 std::string client_info{};
245 uint32_t api_version_major{0};
246 uint32_t api_version_minor{0};
248 #ifdef HAS_PROTO_MESSAGE_DUMP 249 void dump_to(std::string &out)
const override;
254 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
258 uint32_t api_version_major{0};
259 uint32_t api_version_minor{0};
260 std::string server_info{};
263 #ifdef HAS_PROTO_MESSAGE_DUMP 264 void dump_to(std::string &out)
const override;
269 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
273 std::string password{};
275 #ifdef HAS_PROTO_MESSAGE_DUMP 276 void dump_to(std::string &out)
const override;
284 bool invalid_password{
false};
286 #ifdef HAS_PROTO_MESSAGE_DUMP 287 void dump_to(std::string &out)
const override;
291 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
296 #ifdef HAS_PROTO_MESSAGE_DUMP 297 void dump_to(std::string &out)
const override;
305 #ifdef HAS_PROTO_MESSAGE_DUMP 306 void dump_to(std::string &out)
const override;
314 #ifdef HAS_PROTO_MESSAGE_DUMP 315 void dump_to(std::string &out)
const override;
323 #ifdef HAS_PROTO_MESSAGE_DUMP 324 void dump_to(std::string &out)
const override;
332 #ifdef HAS_PROTO_MESSAGE_DUMP 333 void dump_to(std::string &out)
const override;
340 bool uses_password{
false};
342 std::string mac_address{};
343 std::string esphome_version{};
344 std::string compilation_time{};
346 bool has_deep_sleep{
false};
347 std::string project_name{};
348 std::string project_version{};
349 uint32_t webserver_port{0};
350 uint32_t legacy_bluetooth_proxy_version{0};
351 uint32_t bluetooth_proxy_feature_flags{0};
352 std::string manufacturer{};
353 std::string friendly_name{};
354 uint32_t legacy_voice_assistant_version{0};
355 uint32_t voice_assistant_feature_flags{0};
356 std::string suggested_area{};
357 std::string bluetooth_mac_address{};
359 #ifdef HAS_PROTO_MESSAGE_DUMP 360 void dump_to(std::string &out)
const override;
365 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
370 #ifdef HAS_PROTO_MESSAGE_DUMP 371 void dump_to(std::string &out)
const override;
379 #ifdef HAS_PROTO_MESSAGE_DUMP 380 void dump_to(std::string &out)
const override;
388 #ifdef HAS_PROTO_MESSAGE_DUMP 389 void dump_to(std::string &out)
const override;
396 std::string object_id{};
399 std::string unique_id{};
400 std::string device_class{};
401 bool is_status_binary_sensor{
false};
402 bool disabled_by_default{
false};
406 #ifdef HAS_PROTO_MESSAGE_DUMP 407 void dump_to(std::string &out)
const override;
411 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
413 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
419 bool missing_state{
false};
421 #ifdef HAS_PROTO_MESSAGE_DUMP 422 void dump_to(std::string &out)
const override;
426 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
427 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
431 std::string object_id{};
434 std::string unique_id{};
435 bool assumed_state{
false};
436 bool supports_position{
false};
437 bool supports_tilt{
false};
438 std::string device_class{};
439 bool disabled_by_default{
false};
442 bool supports_stop{
false};
444 #ifdef HAS_PROTO_MESSAGE_DUMP 445 void dump_to(std::string &out)
const override;
449 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
451 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
461 #ifdef HAS_PROTO_MESSAGE_DUMP 462 void dump_to(std::string &out)
const override;
466 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
467 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
472 bool has_legacy_command{
false};
474 bool has_position{
false};
476 bool has_tilt{
false};
480 #ifdef HAS_PROTO_MESSAGE_DUMP 481 void dump_to(std::string &out)
const override;
485 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
486 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
490 std::string object_id{};
493 std::string unique_id{};
494 bool supports_oscillation{
false};
495 bool supports_speed{
false};
496 bool supports_direction{
false};
497 int32_t supported_speed_count{0};
498 bool disabled_by_default{
false};
501 std::vector<std::string> supported_preset_modes{};
503 #ifdef HAS_PROTO_MESSAGE_DUMP 504 void dump_to(std::string &out)
const override;
508 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
510 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
519 int32_t speed_level{0};
522 #ifdef HAS_PROTO_MESSAGE_DUMP 523 void dump_to(std::string &out)
const override;
527 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
529 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
534 bool has_state{
false};
536 bool has_speed{
false};
538 bool has_oscillating{
false};
540 bool has_direction{
false};
542 bool has_speed_level{
false};
543 int32_t speed_level{0};
544 bool has_preset_mode{
false};
547 #ifdef HAS_PROTO_MESSAGE_DUMP 548 void dump_to(std::string &out)
const override;
552 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
554 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
558 std::string object_id{};
561 std::string unique_id{};
562 std::vector<enums::ColorMode> supported_color_modes{};
563 bool legacy_supports_brightness{
false};
564 bool legacy_supports_rgb{
false};
565 bool legacy_supports_white_value{
false};
566 bool legacy_supports_color_temperature{
false};
567 float min_mireds{0.0f};
568 float max_mireds{0.0f};
569 std::vector<std::string> effects{};
570 bool disabled_by_default{
false};
574 #ifdef HAS_PROTO_MESSAGE_DUMP 575 void dump_to(std::string &out)
const override;
579 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
581 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
587 float brightness{0.0f};
589 float color_brightness{0.0f};
594 float color_temperature{0.0f};
595 float cold_white{0.0f};
596 float warm_white{0.0f};
597 std::string effect{};
599 #ifdef HAS_PROTO_MESSAGE_DUMP 600 void dump_to(std::string &out)
const override;
604 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
606 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
611 bool has_state{
false};
613 bool has_brightness{
false};
614 float brightness{0.0f};
615 bool has_color_mode{
false};
617 bool has_color_brightness{
false};
618 float color_brightness{0.0f};
623 bool has_white{
false};
625 bool has_color_temperature{
false};
626 float color_temperature{0.0f};
627 bool has_cold_white{
false};
628 float cold_white{0.0f};
629 bool has_warm_white{
false};
630 float warm_white{0.0f};
631 bool has_transition_length{
false};
632 uint32_t transition_length{0};
633 bool has_flash_length{
false};
634 uint32_t flash_length{0};
635 bool has_effect{
false};
636 std::string effect{};
638 #ifdef HAS_PROTO_MESSAGE_DUMP 639 void dump_to(std::string &out)
const override;
643 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
645 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
649 std::string object_id{};
652 std::string unique_id{};
654 std::string unit_of_measurement{};
655 int32_t accuracy_decimals{0};
656 bool force_update{
false};
657 std::string device_class{};
660 bool disabled_by_default{
false};
663 #ifdef HAS_PROTO_MESSAGE_DUMP 664 void dump_to(std::string &out)
const override;
668 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
670 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
676 bool missing_state{
false};
678 #ifdef HAS_PROTO_MESSAGE_DUMP 679 void dump_to(std::string &out)
const override;
683 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
684 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
688 std::string object_id{};
691 std::string unique_id{};
693 bool assumed_state{
false};
694 bool disabled_by_default{
false};
696 std::string device_class{};
698 #ifdef HAS_PROTO_MESSAGE_DUMP 699 void dump_to(std::string &out)
const override;
703 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
705 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
712 #ifdef HAS_PROTO_MESSAGE_DUMP 713 void dump_to(std::string &out)
const override;
717 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
718 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
725 #ifdef HAS_PROTO_MESSAGE_DUMP 726 void dump_to(std::string &out)
const override;
730 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
731 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
735 std::string object_id{};
738 std::string unique_id{};
740 bool disabled_by_default{
false};
742 std::string device_class{};
744 #ifdef HAS_PROTO_MESSAGE_DUMP 745 void dump_to(std::string &out)
const override;
749 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
751 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
757 bool missing_state{
false};
759 #ifdef HAS_PROTO_MESSAGE_DUMP 760 void dump_to(std::string &out)
const override;
764 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
766 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
771 bool dump_config{
false};
773 #ifdef HAS_PROTO_MESSAGE_DUMP 774 void dump_to(std::string &out)
const override;
778 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
783 std::string message{};
784 bool send_failed{
false};
786 #ifdef HAS_PROTO_MESSAGE_DUMP 787 void dump_to(std::string &out)
const override;
792 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
797 #ifdef HAS_PROTO_MESSAGE_DUMP 798 void dump_to(std::string &out)
const override;
808 #ifdef HAS_PROTO_MESSAGE_DUMP 809 void dump_to(std::string &out)
const override;
817 std::string service{};
818 std::vector<HomeassistantServiceMap> data{};
819 std::vector<HomeassistantServiceMap> data_template{};
820 std::vector<HomeassistantServiceMap> variables{};
821 bool is_event{
false};
823 #ifdef HAS_PROTO_MESSAGE_DUMP 824 void dump_to(std::string &out)
const override;
829 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
834 #ifdef HAS_PROTO_MESSAGE_DUMP 835 void dump_to(std::string &out)
const override;
842 std::string entity_id{};
843 std::string attribute{};
846 #ifdef HAS_PROTO_MESSAGE_DUMP 847 void dump_to(std::string &out)
const override;
852 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
856 std::string entity_id{};
858 std::string attribute{};
860 #ifdef HAS_PROTO_MESSAGE_DUMP 861 void dump_to(std::string &out)
const override;
870 #ifdef HAS_PROTO_MESSAGE_DUMP 871 void dump_to(std::string &out)
const override;
878 uint32_t epoch_seconds{0};
880 #ifdef HAS_PROTO_MESSAGE_DUMP 881 void dump_to(std::string &out)
const override;
885 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
892 #ifdef HAS_PROTO_MESSAGE_DUMP 893 void dump_to(std::string &out)
const override;
898 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
904 std::vector<ListEntitiesServicesArgument> args{};
906 #ifdef HAS_PROTO_MESSAGE_DUMP 907 void dump_to(std::string &out)
const override;
911 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
917 int32_t legacy_int{0};
919 std::string string_{};
921 std::vector<bool> bool_array{};
922 std::vector<int32_t> int_array{};
923 std::vector<float> float_array{};
924 std::vector<std::string> string_array{};
926 #ifdef HAS_PROTO_MESSAGE_DUMP 927 void dump_to(std::string &out)
const override;
931 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
933 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
938 std::vector<ExecuteServiceArgument> args{};
940 #ifdef HAS_PROTO_MESSAGE_DUMP 941 void dump_to(std::string &out)
const override;
945 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
950 std::string object_id{};
953 std::string unique_id{};
954 bool disabled_by_default{
false};
958 #ifdef HAS_PROTO_MESSAGE_DUMP 959 void dump_to(std::string &out)
const override;
963 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
965 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
973 #ifdef HAS_PROTO_MESSAGE_DUMP 974 void dump_to(std::string &out)
const override;
978 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
980 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
987 #ifdef HAS_PROTO_MESSAGE_DUMP 988 void dump_to(std::string &out)
const override;
992 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
996 std::string object_id{};
999 std::string unique_id{};
1000 bool supports_current_temperature{
false};
1001 bool supports_two_point_target_temperature{
false};
1002 std::vector<enums::ClimateMode> supported_modes{};
1003 float visual_min_temperature{0.0f};
1004 float visual_max_temperature{0.0f};
1005 float visual_target_temperature_step{0.0f};
1006 bool legacy_supports_away{
false};
1007 bool supports_action{
false};
1008 std::vector<enums::ClimateFanMode> supported_fan_modes{};
1009 std::vector<enums::ClimateSwingMode> supported_swing_modes{};
1010 std::vector<std::string> supported_custom_fan_modes{};
1011 std::vector<enums::ClimatePreset> supported_presets{};
1012 std::vector<std::string> supported_custom_presets{};
1013 bool disabled_by_default{
false};
1016 float visual_current_temperature_step{0.0f};
1017 bool supports_current_humidity{
false};
1018 bool supports_target_humidity{
false};
1019 float visual_min_humidity{0.0f};
1020 float visual_max_humidity{0.0f};
1022 #ifdef HAS_PROTO_MESSAGE_DUMP 1023 void dump_to(std::string &out)
const override;
1027 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1029 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1035 float current_temperature{0.0f};
1039 bool unused_legacy_away{
false};
1046 float current_humidity{0.0f};
1049 #ifdef HAS_PROTO_MESSAGE_DUMP 1050 void dump_to(std::string &out)
const override;
1054 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1056 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1061 bool has_mode{
false};
1063 bool has_target_temperature{
false};
1065 bool has_target_temperature_low{
false};
1067 bool has_target_temperature_high{
false};
1069 bool unused_has_legacy_away{
false};
1070 bool unused_legacy_away{
false};
1071 bool has_fan_mode{
false};
1073 bool has_swing_mode{
false};
1075 bool has_custom_fan_mode{
false};
1077 bool has_preset{
false};
1079 bool has_custom_preset{
false};
1081 bool has_target_humidity{
false};
1084 #ifdef HAS_PROTO_MESSAGE_DUMP 1085 void dump_to(std::string &out)
const override;
1089 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1091 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1095 std::string object_id{};
1098 std::string unique_id{};
1100 float min_value{0.0f};
1101 float max_value{0.0f};
1103 bool disabled_by_default{
false};
1105 std::string unit_of_measurement{};
1107 std::string device_class{};
1109 #ifdef HAS_PROTO_MESSAGE_DUMP 1110 void dump_to(std::string &out)
const override;
1114 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1116 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1122 bool missing_state{
false};
1124 #ifdef HAS_PROTO_MESSAGE_DUMP 1125 void dump_to(std::string &out)
const override;
1129 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1130 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1137 #ifdef HAS_PROTO_MESSAGE_DUMP 1138 void dump_to(std::string &out)
const override;
1142 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1146 std::string object_id{};
1149 std::string unique_id{};
1152 bool disabled_by_default{
false};
1155 #ifdef HAS_PROTO_MESSAGE_DUMP 1156 void dump_to(std::string &out)
const override;
1160 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1162 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1168 bool missing_state{
false};
1170 #ifdef HAS_PROTO_MESSAGE_DUMP 1171 void dump_to(std::string &out)
const override;
1175 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1177 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1184 #ifdef HAS_PROTO_MESSAGE_DUMP 1185 void dump_to(std::string &out)
const override;
1189 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1194 std::string object_id{};
1197 std::string unique_id{};
1199 bool disabled_by_default{
false};
1201 bool assumed_state{
false};
1202 bool supports_open{
false};
1203 bool requires_code{
false};
1204 std::string code_format{};
1206 #ifdef HAS_PROTO_MESSAGE_DUMP 1207 void dump_to(std::string &out)
const override;
1211 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1213 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1220 #ifdef HAS_PROTO_MESSAGE_DUMP 1221 void dump_to(std::string &out)
const override;
1225 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1226 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1232 bool has_code{
false};
1235 #ifdef HAS_PROTO_MESSAGE_DUMP 1236 void dump_to(std::string &out)
const override;
1240 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1242 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1246 std::string object_id{};
1249 std::string unique_id{};
1251 bool disabled_by_default{
false};
1253 std::string device_class{};
1255 #ifdef HAS_PROTO_MESSAGE_DUMP 1256 void dump_to(std::string &out)
const override;
1260 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1262 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1268 #ifdef HAS_PROTO_MESSAGE_DUMP 1269 void dump_to(std::string &out)
const override;
1273 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1277 std::string format{};
1278 uint32_t sample_rate{0};
1279 uint32_t num_channels{0};
1281 uint32_t sample_bytes{0};
1283 #ifdef HAS_PROTO_MESSAGE_DUMP 1284 void dump_to(std::string &out)
const override;
1289 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1293 std::string object_id{};
1296 std::string unique_id{};
1298 bool disabled_by_default{
false};
1300 bool supports_pause{
false};
1301 std::vector<MediaPlayerSupportedFormat> supported_formats{};
1303 #ifdef HAS_PROTO_MESSAGE_DUMP 1304 void dump_to(std::string &out)
const override;
1308 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1310 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1319 #ifdef HAS_PROTO_MESSAGE_DUMP 1320 void dump_to(std::string &out)
const override;
1324 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1325 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1330 bool has_command{
false};
1332 bool has_volume{
false};
1334 bool has_media_url{
false};
1335 std::string media_url{};
1336 bool has_announcement{
false};
1337 bool announcement{
false};
1339 #ifdef HAS_PROTO_MESSAGE_DUMP 1340 void dump_to(std::string &out)
const override;
1344 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1346 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1352 #ifdef HAS_PROTO_MESSAGE_DUMP 1353 void dump_to(std::string &out)
const override;
1357 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1362 std::vector<uint32_t> legacy_data{};
1365 #ifdef HAS_PROTO_MESSAGE_DUMP 1366 void dump_to(std::string &out)
const override;
1371 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1378 std::vector<std::string> service_uuids{};
1379 std::vector<BluetoothServiceData> service_data{};
1380 std::vector<BluetoothServiceData> manufacturer_data{};
1381 uint32_t address_type{0};
1383 #ifdef HAS_PROTO_MESSAGE_DUMP 1384 void dump_to(std::string &out)
const override;
1389 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1395 uint32_t address_type{0};
1398 #ifdef HAS_PROTO_MESSAGE_DUMP 1399 void dump_to(std::string &out)
const override;
1404 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1408 std::vector<BluetoothLERawAdvertisement> advertisements{};
1410 #ifdef HAS_PROTO_MESSAGE_DUMP 1411 void dump_to(std::string &out)
const override;
1421 bool has_address_type{
false};
1422 uint32_t address_type{0};
1424 #ifdef HAS_PROTO_MESSAGE_DUMP 1425 void dump_to(std::string &out)
const override;
1429 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1434 bool connected{
false};
1438 #ifdef HAS_PROTO_MESSAGE_DUMP 1439 void dump_to(std::string &out)
const override;
1443 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1449 #ifdef HAS_PROTO_MESSAGE_DUMP 1450 void dump_to(std::string &out)
const override;
1454 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1458 std::vector<uint64_t> uuid{};
1461 #ifdef HAS_PROTO_MESSAGE_DUMP 1462 void dump_to(std::string &out)
const override;
1466 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1470 std::vector<uint64_t> uuid{};
1472 uint32_t properties{0};
1473 std::vector<BluetoothGATTDescriptor> descriptors{};
1475 #ifdef HAS_PROTO_MESSAGE_DUMP 1476 void dump_to(std::string &out)
const override;
1481 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1485 std::vector<uint64_t> uuid{};
1487 std::vector<BluetoothGATTCharacteristic> characteristics{};
1489 #ifdef HAS_PROTO_MESSAGE_DUMP 1490 void dump_to(std::string &out)
const override;
1495 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1500 std::vector<BluetoothGATTService> services{};
1502 #ifdef HAS_PROTO_MESSAGE_DUMP 1503 void dump_to(std::string &out)
const override;
1508 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1514 #ifdef HAS_PROTO_MESSAGE_DUMP 1515 void dump_to(std::string &out)
const override;
1519 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1526 #ifdef HAS_PROTO_MESSAGE_DUMP 1527 void dump_to(std::string &out)
const override;
1531 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1539 #ifdef HAS_PROTO_MESSAGE_DUMP 1540 void dump_to(std::string &out)
const override;
1545 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1551 bool response{
false};
1554 #ifdef HAS_PROTO_MESSAGE_DUMP 1555 void dump_to(std::string &out)
const override;
1560 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1567 #ifdef HAS_PROTO_MESSAGE_DUMP 1568 void dump_to(std::string &out)
const override;
1572 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1580 #ifdef HAS_PROTO_MESSAGE_DUMP 1581 void dump_to(std::string &out)
const override;
1586 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1594 #ifdef HAS_PROTO_MESSAGE_DUMP 1595 void dump_to(std::string &out)
const override;
1599 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1607 #ifdef HAS_PROTO_MESSAGE_DUMP 1608 void dump_to(std::string &out)
const override;
1613 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1618 #ifdef HAS_PROTO_MESSAGE_DUMP 1619 void dump_to(std::string &out)
const override;
1628 std::vector<uint64_t> allocated{};
1630 #ifdef HAS_PROTO_MESSAGE_DUMP 1631 void dump_to(std::string &out)
const override;
1635 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1643 #ifdef HAS_PROTO_MESSAGE_DUMP 1644 void dump_to(std::string &out)
const override;
1648 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1655 #ifdef HAS_PROTO_MESSAGE_DUMP 1656 void dump_to(std::string &out)
const override;
1660 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1667 #ifdef HAS_PROTO_MESSAGE_DUMP 1668 void dump_to(std::string &out)
const override;
1672 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1680 #ifdef HAS_PROTO_MESSAGE_DUMP 1681 void dump_to(std::string &out)
const override;
1685 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1690 bool success{
false};
1693 #ifdef HAS_PROTO_MESSAGE_DUMP 1694 void dump_to(std::string &out)
const override;
1698 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1703 #ifdef HAS_PROTO_MESSAGE_DUMP 1704 void dump_to(std::string &out)
const override;
1712 bool success{
false};
1715 #ifdef HAS_PROTO_MESSAGE_DUMP 1716 void dump_to(std::string &out)
const override;
1720 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1724 bool subscribe{
false};
1727 #ifdef HAS_PROTO_MESSAGE_DUMP 1728 void dump_to(std::string &out)
const override;
1732 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1736 uint32_t noise_suppression_level{0};
1737 uint32_t auto_gain{0};
1738 float volume_multiplier{0.0f};
1740 #ifdef HAS_PROTO_MESSAGE_DUMP 1741 void dump_to(std::string &out)
const override;
1745 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1746 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1751 std::string conversation_id{};
1754 std::string wake_word_phrase{};
1756 #ifdef HAS_PROTO_MESSAGE_DUMP 1757 void dump_to(std::string &out)
const override;
1762 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1769 #ifdef HAS_PROTO_MESSAGE_DUMP 1770 void dump_to(std::string &out)
const override;
1774 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1779 std::string value{};
1781 #ifdef HAS_PROTO_MESSAGE_DUMP 1782 void dump_to(std::string &out)
const override;
1791 std::vector<VoiceAssistantEventData> data{};
1793 #ifdef HAS_PROTO_MESSAGE_DUMP 1794 void dump_to(std::string &out)
const override;
1799 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1806 #ifdef HAS_PROTO_MESSAGE_DUMP 1807 void dump_to(std::string &out)
const override;
1812 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1817 std::string timer_id{};
1819 uint32_t total_seconds{0};
1820 uint32_t seconds_left{0};
1821 bool is_active{
false};
1823 #ifdef HAS_PROTO_MESSAGE_DUMP 1824 void dump_to(std::string &out)
const override;
1829 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1833 std::string media_id{};
1835 std::string preannounce_media_id{};
1836 bool start_conversation{
false};
1838 #ifdef HAS_PROTO_MESSAGE_DUMP 1839 void dump_to(std::string &out)
const override;
1844 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1848 bool success{
false};
1850 #ifdef HAS_PROTO_MESSAGE_DUMP 1851 void dump_to(std::string &out)
const override;
1855 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1860 std::string wake_word{};
1861 std::vector<std::string> trained_languages{};
1863 #ifdef HAS_PROTO_MESSAGE_DUMP 1864 void dump_to(std::string &out)
const override;
1873 #ifdef HAS_PROTO_MESSAGE_DUMP 1874 void dump_to(std::string &out)
const override;
1881 std::vector<VoiceAssistantWakeWord> available_wake_words{};
1882 std::vector<std::string> active_wake_words{};
1883 uint32_t max_active_wake_words{0};
1885 #ifdef HAS_PROTO_MESSAGE_DUMP 1886 void dump_to(std::string &out)
const override;
1891 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1895 std::vector<std::string> active_wake_words{};
1897 #ifdef HAS_PROTO_MESSAGE_DUMP 1898 void dump_to(std::string &out)
const override;
1906 std::string object_id{};
1909 std::string unique_id{};
1911 bool disabled_by_default{
false};
1913 uint32_t supported_features{0};
1914 bool requires_code{
false};
1915 bool requires_code_to_arm{
false};
1917 #ifdef HAS_PROTO_MESSAGE_DUMP 1918 void dump_to(std::string &out)
const override;
1922 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1924 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1931 #ifdef HAS_PROTO_MESSAGE_DUMP 1932 void dump_to(std::string &out)
const override;
1936 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1937 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1945 #ifdef HAS_PROTO_MESSAGE_DUMP 1946 void dump_to(std::string &out)
const override;
1950 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1952 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1956 std::string object_id{};
1959 std::string unique_id{};
1961 bool disabled_by_default{
false};
1963 uint32_t min_length{0};
1964 uint32_t max_length{0};
1965 std::string pattern{};
1968 #ifdef HAS_PROTO_MESSAGE_DUMP 1969 void dump_to(std::string &out)
const override;
1973 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1975 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1981 bool missing_state{
false};
1983 #ifdef HAS_PROTO_MESSAGE_DUMP 1984 void dump_to(std::string &out)
const override;
1988 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1990 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1997 #ifdef HAS_PROTO_MESSAGE_DUMP 1998 void dump_to(std::string &out)
const override;
2002 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2007 std::string object_id{};
2010 std::string unique_id{};
2012 bool disabled_by_default{
false};
2015 #ifdef HAS_PROTO_MESSAGE_DUMP 2016 void dump_to(std::string &out)
const override;
2020 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2022 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2027 bool missing_state{
false};
2032 #ifdef HAS_PROTO_MESSAGE_DUMP 2033 void dump_to(std::string &out)
const override;
2037 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2038 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2047 #ifdef HAS_PROTO_MESSAGE_DUMP 2048 void dump_to(std::string &out)
const override;
2052 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2053 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2057 std::string object_id{};
2060 std::string unique_id{};
2062 bool disabled_by_default{
false};
2065 #ifdef HAS_PROTO_MESSAGE_DUMP 2066 void dump_to(std::string &out)
const override;
2070 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2072 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2077 bool missing_state{
false};
2082 #ifdef HAS_PROTO_MESSAGE_DUMP 2083 void dump_to(std::string &out)
const override;
2087 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2088 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2097 #ifdef HAS_PROTO_MESSAGE_DUMP 2098 void dump_to(std::string &out)
const override;
2102 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2103 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2107 std::string object_id{};
2110 std::string unique_id{};
2112 bool disabled_by_default{
false};
2114 std::string device_class{};
2115 std::vector<std::string> event_types{};
2117 #ifdef HAS_PROTO_MESSAGE_DUMP 2118 void dump_to(std::string &out)
const override;
2122 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2124 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2129 std::string event_type{};
2131 #ifdef HAS_PROTO_MESSAGE_DUMP 2132 void dump_to(std::string &out)
const override;
2136 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2141 std::string object_id{};
2144 std::string unique_id{};
2146 bool disabled_by_default{
false};
2148 std::string device_class{};
2149 bool assumed_state{
false};
2150 bool supports_position{
false};
2151 bool supports_stop{
false};
2153 #ifdef HAS_PROTO_MESSAGE_DUMP 2154 void dump_to(std::string &out)
const override;
2158 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2160 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2168 #ifdef HAS_PROTO_MESSAGE_DUMP 2169 void dump_to(std::string &out)
const override;
2173 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2174 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2179 bool has_position{
false};
2183 #ifdef HAS_PROTO_MESSAGE_DUMP 2184 void dump_to(std::string &out)
const override;
2188 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2189 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2193 std::string object_id{};
2196 std::string unique_id{};
2198 bool disabled_by_default{
false};
2201 #ifdef HAS_PROTO_MESSAGE_DUMP 2202 void dump_to(std::string &out)
const override;
2206 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2208 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2213 bool missing_state{
false};
2214 uint32_t epoch_seconds{0};
2216 #ifdef HAS_PROTO_MESSAGE_DUMP 2217 void dump_to(std::string &out)
const override;
2221 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2222 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2227 uint32_t epoch_seconds{0};
2229 #ifdef HAS_PROTO_MESSAGE_DUMP 2230 void dump_to(std::string &out)
const override;
2234 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2238 std::string object_id{};
2241 std::string unique_id{};
2243 bool disabled_by_default{
false};
2245 std::string device_class{};
2247 #ifdef HAS_PROTO_MESSAGE_DUMP 2248 void dump_to(std::string &out)
const override;
2252 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2254 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2259 bool missing_state{
false};
2260 bool in_progress{
false};
2261 bool has_progress{
false};
2262 float progress{0.0f};
2263 std::string current_version{};
2264 std::string latest_version{};
2265 std::string title{};
2266 std::string release_summary{};
2267 std::string release_url{};
2269 #ifdef HAS_PROTO_MESSAGE_DUMP 2270 void dump_to(std::string &out)
const override;
2274 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2276 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2283 #ifdef HAS_PROTO_MESSAGE_DUMP 2284 void dump_to(std::string &out)
const override;
2288 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2289 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
float target_temperature_low
Representation of a VarInt - in ProtoBuf should be 64bit but we only use 32bit.
float target_temperature_high
ClimateSwingMode swing_mode
VoiceAssistantRequestFlag
BedjetMode mode
BedJet operating mode.
BluetoothDeviceRequestType
VoiceAssistantSubscribeFlag
Implementation of SPI Controller mode.
AlarmControlPanelStateCommand