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{};
358 #ifdef HAS_PROTO_MESSAGE_DUMP 359 void dump_to(std::string &out)
const override;
364 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
369 #ifdef HAS_PROTO_MESSAGE_DUMP 370 void dump_to(std::string &out)
const override;
378 #ifdef HAS_PROTO_MESSAGE_DUMP 379 void dump_to(std::string &out)
const override;
387 #ifdef HAS_PROTO_MESSAGE_DUMP 388 void dump_to(std::string &out)
const override;
395 std::string object_id{};
398 std::string unique_id{};
399 std::string device_class{};
400 bool is_status_binary_sensor{
false};
401 bool disabled_by_default{
false};
405 #ifdef HAS_PROTO_MESSAGE_DUMP 406 void dump_to(std::string &out)
const override;
410 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
412 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
418 bool missing_state{
false};
420 #ifdef HAS_PROTO_MESSAGE_DUMP 421 void dump_to(std::string &out)
const override;
425 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
426 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
430 std::string object_id{};
433 std::string unique_id{};
434 bool assumed_state{
false};
435 bool supports_position{
false};
436 bool supports_tilt{
false};
437 std::string device_class{};
438 bool disabled_by_default{
false};
441 bool supports_stop{
false};
443 #ifdef HAS_PROTO_MESSAGE_DUMP 444 void dump_to(std::string &out)
const override;
448 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
450 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
460 #ifdef HAS_PROTO_MESSAGE_DUMP 461 void dump_to(std::string &out)
const override;
465 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
466 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
471 bool has_legacy_command{
false};
473 bool has_position{
false};
475 bool has_tilt{
false};
479 #ifdef HAS_PROTO_MESSAGE_DUMP 480 void dump_to(std::string &out)
const override;
484 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
485 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
489 std::string object_id{};
492 std::string unique_id{};
493 bool supports_oscillation{
false};
494 bool supports_speed{
false};
495 bool supports_direction{
false};
496 int32_t supported_speed_count{0};
497 bool disabled_by_default{
false};
500 std::vector<std::string> supported_preset_modes{};
502 #ifdef HAS_PROTO_MESSAGE_DUMP 503 void dump_to(std::string &out)
const override;
507 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
509 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
518 int32_t speed_level{0};
521 #ifdef HAS_PROTO_MESSAGE_DUMP 522 void dump_to(std::string &out)
const override;
526 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
528 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
533 bool has_state{
false};
535 bool has_speed{
false};
537 bool has_oscillating{
false};
539 bool has_direction{
false};
541 bool has_speed_level{
false};
542 int32_t speed_level{0};
543 bool has_preset_mode{
false};
546 #ifdef HAS_PROTO_MESSAGE_DUMP 547 void dump_to(std::string &out)
const override;
551 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
553 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
557 std::string object_id{};
560 std::string unique_id{};
561 std::vector<enums::ColorMode> supported_color_modes{};
562 bool legacy_supports_brightness{
false};
563 bool legacy_supports_rgb{
false};
564 bool legacy_supports_white_value{
false};
565 bool legacy_supports_color_temperature{
false};
566 float min_mireds{0.0f};
567 float max_mireds{0.0f};
568 std::vector<std::string> effects{};
569 bool disabled_by_default{
false};
573 #ifdef HAS_PROTO_MESSAGE_DUMP 574 void dump_to(std::string &out)
const override;
578 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
580 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
586 float brightness{0.0f};
588 float color_brightness{0.0f};
593 float color_temperature{0.0f};
594 float cold_white{0.0f};
595 float warm_white{0.0f};
596 std::string effect{};
598 #ifdef HAS_PROTO_MESSAGE_DUMP 599 void dump_to(std::string &out)
const override;
603 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
605 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
610 bool has_state{
false};
612 bool has_brightness{
false};
613 float brightness{0.0f};
614 bool has_color_mode{
false};
616 bool has_color_brightness{
false};
617 float color_brightness{0.0f};
622 bool has_white{
false};
624 bool has_color_temperature{
false};
625 float color_temperature{0.0f};
626 bool has_cold_white{
false};
627 float cold_white{0.0f};
628 bool has_warm_white{
false};
629 float warm_white{0.0f};
630 bool has_transition_length{
false};
631 uint32_t transition_length{0};
632 bool has_flash_length{
false};
633 uint32_t flash_length{0};
634 bool has_effect{
false};
635 std::string effect{};
637 #ifdef HAS_PROTO_MESSAGE_DUMP 638 void dump_to(std::string &out)
const override;
642 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
644 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
648 std::string object_id{};
651 std::string unique_id{};
653 std::string unit_of_measurement{};
654 int32_t accuracy_decimals{0};
655 bool force_update{
false};
656 std::string device_class{};
659 bool disabled_by_default{
false};
662 #ifdef HAS_PROTO_MESSAGE_DUMP 663 void dump_to(std::string &out)
const override;
667 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
669 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
675 bool missing_state{
false};
677 #ifdef HAS_PROTO_MESSAGE_DUMP 678 void dump_to(std::string &out)
const override;
682 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
683 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
687 std::string object_id{};
690 std::string unique_id{};
692 bool assumed_state{
false};
693 bool disabled_by_default{
false};
695 std::string device_class{};
697 #ifdef HAS_PROTO_MESSAGE_DUMP 698 void dump_to(std::string &out)
const override;
702 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
704 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
711 #ifdef HAS_PROTO_MESSAGE_DUMP 712 void dump_to(std::string &out)
const override;
716 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
717 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
724 #ifdef HAS_PROTO_MESSAGE_DUMP 725 void dump_to(std::string &out)
const override;
729 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
730 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
734 std::string object_id{};
737 std::string unique_id{};
739 bool disabled_by_default{
false};
741 std::string device_class{};
743 #ifdef HAS_PROTO_MESSAGE_DUMP 744 void dump_to(std::string &out)
const override;
748 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
750 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
756 bool missing_state{
false};
758 #ifdef HAS_PROTO_MESSAGE_DUMP 759 void dump_to(std::string &out)
const override;
763 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
765 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
770 bool dump_config{
false};
772 #ifdef HAS_PROTO_MESSAGE_DUMP 773 void dump_to(std::string &out)
const override;
777 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
782 std::string message{};
783 bool send_failed{
false};
785 #ifdef HAS_PROTO_MESSAGE_DUMP 786 void dump_to(std::string &out)
const override;
791 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
796 #ifdef HAS_PROTO_MESSAGE_DUMP 797 void dump_to(std::string &out)
const override;
807 #ifdef HAS_PROTO_MESSAGE_DUMP 808 void dump_to(std::string &out)
const override;
816 std::string service{};
817 std::vector<HomeassistantServiceMap> data{};
818 std::vector<HomeassistantServiceMap> data_template{};
819 std::vector<HomeassistantServiceMap> variables{};
820 bool is_event{
false};
822 #ifdef HAS_PROTO_MESSAGE_DUMP 823 void dump_to(std::string &out)
const override;
828 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
833 #ifdef HAS_PROTO_MESSAGE_DUMP 834 void dump_to(std::string &out)
const override;
841 std::string entity_id{};
842 std::string attribute{};
845 #ifdef HAS_PROTO_MESSAGE_DUMP 846 void dump_to(std::string &out)
const override;
851 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
855 std::string entity_id{};
857 std::string attribute{};
859 #ifdef HAS_PROTO_MESSAGE_DUMP 860 void dump_to(std::string &out)
const override;
869 #ifdef HAS_PROTO_MESSAGE_DUMP 870 void dump_to(std::string &out)
const override;
877 uint32_t epoch_seconds{0};
879 #ifdef HAS_PROTO_MESSAGE_DUMP 880 void dump_to(std::string &out)
const override;
884 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
891 #ifdef HAS_PROTO_MESSAGE_DUMP 892 void dump_to(std::string &out)
const override;
897 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
903 std::vector<ListEntitiesServicesArgument> args{};
905 #ifdef HAS_PROTO_MESSAGE_DUMP 906 void dump_to(std::string &out)
const override;
910 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
916 int32_t legacy_int{0};
918 std::string string_{};
920 std::vector<bool> bool_array{};
921 std::vector<int32_t> int_array{};
922 std::vector<float> float_array{};
923 std::vector<std::string> string_array{};
925 #ifdef HAS_PROTO_MESSAGE_DUMP 926 void dump_to(std::string &out)
const override;
930 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
932 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
937 std::vector<ExecuteServiceArgument> args{};
939 #ifdef HAS_PROTO_MESSAGE_DUMP 940 void dump_to(std::string &out)
const override;
944 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
949 std::string object_id{};
952 std::string unique_id{};
953 bool disabled_by_default{
false};
957 #ifdef HAS_PROTO_MESSAGE_DUMP 958 void dump_to(std::string &out)
const override;
962 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
964 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
972 #ifdef HAS_PROTO_MESSAGE_DUMP 973 void dump_to(std::string &out)
const override;
977 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
979 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
986 #ifdef HAS_PROTO_MESSAGE_DUMP 987 void dump_to(std::string &out)
const override;
991 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
995 std::string object_id{};
998 std::string unique_id{};
999 bool supports_current_temperature{
false};
1000 bool supports_two_point_target_temperature{
false};
1001 std::vector<enums::ClimateMode> supported_modes{};
1002 float visual_min_temperature{0.0f};
1003 float visual_max_temperature{0.0f};
1004 float visual_target_temperature_step{0.0f};
1005 bool legacy_supports_away{
false};
1006 bool supports_action{
false};
1007 std::vector<enums::ClimateFanMode> supported_fan_modes{};
1008 std::vector<enums::ClimateSwingMode> supported_swing_modes{};
1009 std::vector<std::string> supported_custom_fan_modes{};
1010 std::vector<enums::ClimatePreset> supported_presets{};
1011 std::vector<std::string> supported_custom_presets{};
1012 bool disabled_by_default{
false};
1015 float visual_current_temperature_step{0.0f};
1016 bool supports_current_humidity{
false};
1017 bool supports_target_humidity{
false};
1018 float visual_min_humidity{0.0f};
1019 float visual_max_humidity{0.0f};
1021 #ifdef HAS_PROTO_MESSAGE_DUMP 1022 void dump_to(std::string &out)
const override;
1026 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1028 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1034 float current_temperature{0.0f};
1038 bool unused_legacy_away{
false};
1045 float current_humidity{0.0f};
1048 #ifdef HAS_PROTO_MESSAGE_DUMP 1049 void dump_to(std::string &out)
const override;
1053 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1055 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1060 bool has_mode{
false};
1062 bool has_target_temperature{
false};
1064 bool has_target_temperature_low{
false};
1066 bool has_target_temperature_high{
false};
1068 bool unused_has_legacy_away{
false};
1069 bool unused_legacy_away{
false};
1070 bool has_fan_mode{
false};
1072 bool has_swing_mode{
false};
1074 bool has_custom_fan_mode{
false};
1076 bool has_preset{
false};
1078 bool has_custom_preset{
false};
1080 bool has_target_humidity{
false};
1083 #ifdef HAS_PROTO_MESSAGE_DUMP 1084 void dump_to(std::string &out)
const override;
1088 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1090 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1094 std::string object_id{};
1097 std::string unique_id{};
1099 float min_value{0.0f};
1100 float max_value{0.0f};
1102 bool disabled_by_default{
false};
1104 std::string unit_of_measurement{};
1106 std::string device_class{};
1108 #ifdef HAS_PROTO_MESSAGE_DUMP 1109 void dump_to(std::string &out)
const override;
1113 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1115 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1121 bool missing_state{
false};
1123 #ifdef HAS_PROTO_MESSAGE_DUMP 1124 void dump_to(std::string &out)
const override;
1128 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1129 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1136 #ifdef HAS_PROTO_MESSAGE_DUMP 1137 void dump_to(std::string &out)
const override;
1141 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1145 std::string object_id{};
1148 std::string unique_id{};
1151 bool disabled_by_default{
false};
1154 #ifdef HAS_PROTO_MESSAGE_DUMP 1155 void dump_to(std::string &out)
const override;
1159 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1161 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1167 bool missing_state{
false};
1169 #ifdef HAS_PROTO_MESSAGE_DUMP 1170 void dump_to(std::string &out)
const override;
1174 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1176 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1183 #ifdef HAS_PROTO_MESSAGE_DUMP 1184 void dump_to(std::string &out)
const override;
1188 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1193 std::string object_id{};
1196 std::string unique_id{};
1198 bool disabled_by_default{
false};
1200 bool assumed_state{
false};
1201 bool supports_open{
false};
1202 bool requires_code{
false};
1203 std::string code_format{};
1205 #ifdef HAS_PROTO_MESSAGE_DUMP 1206 void dump_to(std::string &out)
const override;
1210 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1212 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1219 #ifdef HAS_PROTO_MESSAGE_DUMP 1220 void dump_to(std::string &out)
const override;
1224 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1225 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1231 bool has_code{
false};
1234 #ifdef HAS_PROTO_MESSAGE_DUMP 1235 void dump_to(std::string &out)
const override;
1239 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1241 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1245 std::string object_id{};
1248 std::string unique_id{};
1250 bool disabled_by_default{
false};
1252 std::string device_class{};
1254 #ifdef HAS_PROTO_MESSAGE_DUMP 1255 void dump_to(std::string &out)
const override;
1259 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1261 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1267 #ifdef HAS_PROTO_MESSAGE_DUMP 1268 void dump_to(std::string &out)
const override;
1272 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1276 std::string format{};
1277 uint32_t sample_rate{0};
1278 uint32_t num_channels{0};
1280 uint32_t sample_bytes{0};
1282 #ifdef HAS_PROTO_MESSAGE_DUMP 1283 void dump_to(std::string &out)
const override;
1288 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1292 std::string object_id{};
1295 std::string unique_id{};
1297 bool disabled_by_default{
false};
1299 bool supports_pause{
false};
1300 std::vector<MediaPlayerSupportedFormat> supported_formats{};
1302 #ifdef HAS_PROTO_MESSAGE_DUMP 1303 void dump_to(std::string &out)
const override;
1307 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1309 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1318 #ifdef HAS_PROTO_MESSAGE_DUMP 1319 void dump_to(std::string &out)
const override;
1323 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1324 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1329 bool has_command{
false};
1331 bool has_volume{
false};
1333 bool has_media_url{
false};
1334 std::string media_url{};
1335 bool has_announcement{
false};
1336 bool announcement{
false};
1338 #ifdef HAS_PROTO_MESSAGE_DUMP 1339 void dump_to(std::string &out)
const override;
1343 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1345 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1351 #ifdef HAS_PROTO_MESSAGE_DUMP 1352 void dump_to(std::string &out)
const override;
1356 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1361 std::vector<uint32_t> legacy_data{};
1364 #ifdef HAS_PROTO_MESSAGE_DUMP 1365 void dump_to(std::string &out)
const override;
1370 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1377 std::vector<std::string> service_uuids{};
1378 std::vector<BluetoothServiceData> service_data{};
1379 std::vector<BluetoothServiceData> manufacturer_data{};
1380 uint32_t address_type{0};
1382 #ifdef HAS_PROTO_MESSAGE_DUMP 1383 void dump_to(std::string &out)
const override;
1388 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1394 uint32_t address_type{0};
1397 #ifdef HAS_PROTO_MESSAGE_DUMP 1398 void dump_to(std::string &out)
const override;
1403 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1407 std::vector<BluetoothLERawAdvertisement> advertisements{};
1409 #ifdef HAS_PROTO_MESSAGE_DUMP 1410 void dump_to(std::string &out)
const override;
1420 bool has_address_type{
false};
1421 uint32_t address_type{0};
1423 #ifdef HAS_PROTO_MESSAGE_DUMP 1424 void dump_to(std::string &out)
const override;
1428 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1433 bool connected{
false};
1437 #ifdef HAS_PROTO_MESSAGE_DUMP 1438 void dump_to(std::string &out)
const override;
1442 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1448 #ifdef HAS_PROTO_MESSAGE_DUMP 1449 void dump_to(std::string &out)
const override;
1453 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1457 std::vector<uint64_t> uuid{};
1460 #ifdef HAS_PROTO_MESSAGE_DUMP 1461 void dump_to(std::string &out)
const override;
1465 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1469 std::vector<uint64_t> uuid{};
1471 uint32_t properties{0};
1472 std::vector<BluetoothGATTDescriptor> descriptors{};
1474 #ifdef HAS_PROTO_MESSAGE_DUMP 1475 void dump_to(std::string &out)
const override;
1480 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1484 std::vector<uint64_t> uuid{};
1486 std::vector<BluetoothGATTCharacteristic> characteristics{};
1488 #ifdef HAS_PROTO_MESSAGE_DUMP 1489 void dump_to(std::string &out)
const override;
1494 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1499 std::vector<BluetoothGATTService> services{};
1501 #ifdef HAS_PROTO_MESSAGE_DUMP 1502 void dump_to(std::string &out)
const override;
1507 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1513 #ifdef HAS_PROTO_MESSAGE_DUMP 1514 void dump_to(std::string &out)
const override;
1518 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1525 #ifdef HAS_PROTO_MESSAGE_DUMP 1526 void dump_to(std::string &out)
const override;
1530 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1538 #ifdef HAS_PROTO_MESSAGE_DUMP 1539 void dump_to(std::string &out)
const override;
1544 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1550 bool response{
false};
1553 #ifdef HAS_PROTO_MESSAGE_DUMP 1554 void dump_to(std::string &out)
const override;
1559 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1566 #ifdef HAS_PROTO_MESSAGE_DUMP 1567 void dump_to(std::string &out)
const override;
1571 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1579 #ifdef HAS_PROTO_MESSAGE_DUMP 1580 void dump_to(std::string &out)
const override;
1585 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1593 #ifdef HAS_PROTO_MESSAGE_DUMP 1594 void dump_to(std::string &out)
const override;
1598 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1606 #ifdef HAS_PROTO_MESSAGE_DUMP 1607 void dump_to(std::string &out)
const override;
1612 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1617 #ifdef HAS_PROTO_MESSAGE_DUMP 1618 void dump_to(std::string &out)
const override;
1628 #ifdef HAS_PROTO_MESSAGE_DUMP 1629 void dump_to(std::string &out)
const override;
1633 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1641 #ifdef HAS_PROTO_MESSAGE_DUMP 1642 void dump_to(std::string &out)
const override;
1646 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1653 #ifdef HAS_PROTO_MESSAGE_DUMP 1654 void dump_to(std::string &out)
const override;
1658 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1665 #ifdef HAS_PROTO_MESSAGE_DUMP 1666 void dump_to(std::string &out)
const override;
1670 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1678 #ifdef HAS_PROTO_MESSAGE_DUMP 1679 void dump_to(std::string &out)
const override;
1683 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1688 bool success{
false};
1691 #ifdef HAS_PROTO_MESSAGE_DUMP 1692 void dump_to(std::string &out)
const override;
1696 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1701 #ifdef HAS_PROTO_MESSAGE_DUMP 1702 void dump_to(std::string &out)
const override;
1710 bool success{
false};
1713 #ifdef HAS_PROTO_MESSAGE_DUMP 1714 void dump_to(std::string &out)
const override;
1718 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1722 bool subscribe{
false};
1725 #ifdef HAS_PROTO_MESSAGE_DUMP 1726 void dump_to(std::string &out)
const override;
1730 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1734 uint32_t noise_suppression_level{0};
1735 uint32_t auto_gain{0};
1736 float volume_multiplier{0.0f};
1738 #ifdef HAS_PROTO_MESSAGE_DUMP 1739 void dump_to(std::string &out)
const override;
1743 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1744 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1749 std::string conversation_id{};
1752 std::string wake_word_phrase{};
1754 #ifdef HAS_PROTO_MESSAGE_DUMP 1755 void dump_to(std::string &out)
const override;
1760 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1767 #ifdef HAS_PROTO_MESSAGE_DUMP 1768 void dump_to(std::string &out)
const override;
1772 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1777 std::string value{};
1779 #ifdef HAS_PROTO_MESSAGE_DUMP 1780 void dump_to(std::string &out)
const override;
1789 std::vector<VoiceAssistantEventData> data{};
1791 #ifdef HAS_PROTO_MESSAGE_DUMP 1792 void dump_to(std::string &out)
const override;
1797 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1804 #ifdef HAS_PROTO_MESSAGE_DUMP 1805 void dump_to(std::string &out)
const override;
1810 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1815 std::string timer_id{};
1817 uint32_t total_seconds{0};
1818 uint32_t seconds_left{0};
1819 bool is_active{
false};
1821 #ifdef HAS_PROTO_MESSAGE_DUMP 1822 void dump_to(std::string &out)
const override;
1827 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1831 std::string media_id{};
1834 #ifdef HAS_PROTO_MESSAGE_DUMP 1835 void dump_to(std::string &out)
const override;
1843 bool success{
false};
1845 #ifdef HAS_PROTO_MESSAGE_DUMP 1846 void dump_to(std::string &out)
const override;
1850 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1855 std::string wake_word{};
1856 std::vector<std::string> trained_languages{};
1858 #ifdef HAS_PROTO_MESSAGE_DUMP 1859 void dump_to(std::string &out)
const override;
1868 #ifdef HAS_PROTO_MESSAGE_DUMP 1869 void dump_to(std::string &out)
const override;
1876 std::vector<VoiceAssistantWakeWord> available_wake_words{};
1877 std::vector<std::string> active_wake_words{};
1878 uint32_t max_active_wake_words{0};
1880 #ifdef HAS_PROTO_MESSAGE_DUMP 1881 void dump_to(std::string &out)
const override;
1886 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1890 std::vector<std::string> active_wake_words{};
1892 #ifdef HAS_PROTO_MESSAGE_DUMP 1893 void dump_to(std::string &out)
const override;
1901 std::string object_id{};
1904 std::string unique_id{};
1906 bool disabled_by_default{
false};
1908 uint32_t supported_features{0};
1909 bool requires_code{
false};
1910 bool requires_code_to_arm{
false};
1912 #ifdef HAS_PROTO_MESSAGE_DUMP 1913 void dump_to(std::string &out)
const override;
1917 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1919 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1926 #ifdef HAS_PROTO_MESSAGE_DUMP 1927 void dump_to(std::string &out)
const override;
1931 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1932 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1940 #ifdef HAS_PROTO_MESSAGE_DUMP 1941 void dump_to(std::string &out)
const override;
1945 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1947 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1951 std::string object_id{};
1954 std::string unique_id{};
1956 bool disabled_by_default{
false};
1958 uint32_t min_length{0};
1959 uint32_t max_length{0};
1960 std::string pattern{};
1963 #ifdef HAS_PROTO_MESSAGE_DUMP 1964 void dump_to(std::string &out)
const override;
1968 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1970 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1976 bool missing_state{
false};
1978 #ifdef HAS_PROTO_MESSAGE_DUMP 1979 void dump_to(std::string &out)
const override;
1983 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
1985 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
1992 #ifdef HAS_PROTO_MESSAGE_DUMP 1993 void dump_to(std::string &out)
const override;
1997 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2002 std::string object_id{};
2005 std::string unique_id{};
2007 bool disabled_by_default{
false};
2010 #ifdef HAS_PROTO_MESSAGE_DUMP 2011 void dump_to(std::string &out)
const override;
2015 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2017 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2022 bool missing_state{
false};
2027 #ifdef HAS_PROTO_MESSAGE_DUMP 2028 void dump_to(std::string &out)
const override;
2032 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2033 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2042 #ifdef HAS_PROTO_MESSAGE_DUMP 2043 void dump_to(std::string &out)
const override;
2047 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2048 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2052 std::string object_id{};
2055 std::string unique_id{};
2057 bool disabled_by_default{
false};
2060 #ifdef HAS_PROTO_MESSAGE_DUMP 2061 void dump_to(std::string &out)
const override;
2065 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2067 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2072 bool missing_state{
false};
2077 #ifdef HAS_PROTO_MESSAGE_DUMP 2078 void dump_to(std::string &out)
const override;
2082 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2083 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2092 #ifdef HAS_PROTO_MESSAGE_DUMP 2093 void dump_to(std::string &out)
const override;
2097 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2098 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2102 std::string object_id{};
2105 std::string unique_id{};
2107 bool disabled_by_default{
false};
2109 std::string device_class{};
2110 std::vector<std::string> event_types{};
2112 #ifdef HAS_PROTO_MESSAGE_DUMP 2113 void dump_to(std::string &out)
const override;
2117 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2119 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2124 std::string event_type{};
2126 #ifdef HAS_PROTO_MESSAGE_DUMP 2127 void dump_to(std::string &out)
const override;
2131 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2136 std::string object_id{};
2139 std::string unique_id{};
2141 bool disabled_by_default{
false};
2143 std::string device_class{};
2144 bool assumed_state{
false};
2145 bool supports_position{
false};
2146 bool supports_stop{
false};
2148 #ifdef HAS_PROTO_MESSAGE_DUMP 2149 void dump_to(std::string &out)
const override;
2153 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2155 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2163 #ifdef HAS_PROTO_MESSAGE_DUMP 2164 void dump_to(std::string &out)
const override;
2168 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2169 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2174 bool has_position{
false};
2178 #ifdef HAS_PROTO_MESSAGE_DUMP 2179 void dump_to(std::string &out)
const override;
2183 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2184 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2188 std::string object_id{};
2191 std::string unique_id{};
2193 bool disabled_by_default{
false};
2196 #ifdef HAS_PROTO_MESSAGE_DUMP 2197 void dump_to(std::string &out)
const override;
2201 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2203 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2208 bool missing_state{
false};
2209 uint32_t epoch_seconds{0};
2211 #ifdef HAS_PROTO_MESSAGE_DUMP 2212 void dump_to(std::string &out)
const override;
2216 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2217 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2222 uint32_t epoch_seconds{0};
2224 #ifdef HAS_PROTO_MESSAGE_DUMP 2225 void dump_to(std::string &out)
const override;
2229 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2233 std::string object_id{};
2236 std::string unique_id{};
2238 bool disabled_by_default{
false};
2240 std::string device_class{};
2242 #ifdef HAS_PROTO_MESSAGE_DUMP 2243 void dump_to(std::string &out)
const override;
2247 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2249 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2254 bool missing_state{
false};
2255 bool in_progress{
false};
2256 bool has_progress{
false};
2257 float progress{0.0f};
2258 std::string current_version{};
2259 std::string latest_version{};
2260 std::string title{};
2261 std::string release_summary{};
2262 std::string release_url{};
2264 #ifdef HAS_PROTO_MESSAGE_DUMP 2265 void dump_to(std::string &out)
const override;
2269 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2271 bool decode_varint(uint32_t field_id,
ProtoVarInt value)
override;
2278 #ifdef HAS_PROTO_MESSAGE_DUMP 2279 void dump_to(std::string &out)
const override;
2283 bool decode_32bit(uint32_t field_id,
Proto32Bit value)
override;
2284 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