ESPHome  2024.12.2
api_pb2.h
Go to the documentation of this file.
1 // This file was automatically generated with a tool.
2 // See scripts/api_protobuf/api_protobuf.py
3 #pragma once
4 
5 #include "proto.h"
6 
7 namespace esphome {
8 namespace api {
9 
10 namespace enums {
11 
12 enum EntityCategory : uint32_t {
16 };
17 enum LegacyCoverState : uint32_t {
20 };
21 enum CoverOperation : uint32_t {
25 };
26 enum LegacyCoverCommand : uint32_t {
30 };
31 enum FanSpeed : uint32_t {
35 };
36 enum FanDirection : uint32_t {
39 };
40 enum ColorMode : uint32_t {
51 };
52 enum SensorStateClass : uint32_t {
57 };
58 enum SensorLastResetType : uint32_t {
62 };
63 enum LogLevel : uint32_t {
72 };
73 enum ServiceArgType : uint32_t {
82 };
83 enum ClimateMode : uint32_t {
91 };
92 enum ClimateFanMode : uint32_t {
103 };
104 enum ClimateSwingMode : uint32_t {
109 };
110 enum ClimateAction : uint32_t {
117 };
118 enum ClimatePreset : uint32_t {
127 };
128 enum NumberMode : uint32_t {
132 };
133 enum LockState : uint32_t {
140 };
141 enum LockCommand : uint32_t {
145 };
146 enum MediaPlayerState : uint32_t {
151 };
152 enum MediaPlayerCommand : uint32_t {
158 };
159 enum MediaPlayerFormatPurpose : uint32_t {
162 };
163 enum BluetoothDeviceRequestType : uint32_t {
171 };
175 };
176 enum VoiceAssistantRequestFlag : uint32_t {
180 };
181 enum VoiceAssistantEvent : uint32_t {
197 };
198 enum VoiceAssistantTimerEvent : uint32_t {
203 };
204 enum AlarmControlPanelState : uint32_t {
215 };
224 };
225 enum TextMode : uint32_t {
228 };
229 enum ValveOperation : uint32_t {
233 };
234 enum UpdateCommand : uint32_t {
238 };
239 
240 } // namespace enums
241 
242 class HelloRequest : public ProtoMessage {
243  public:
244  std::string client_info{};
245  uint32_t api_version_major{0};
246  uint32_t api_version_minor{0};
247  void encode(ProtoWriteBuffer buffer) const override;
248 #ifdef HAS_PROTO_MESSAGE_DUMP
249  void dump_to(std::string &out) const override;
250 #endif
251 
252  protected:
253  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
254  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
255 };
256 class HelloResponse : public ProtoMessage {
257  public:
258  uint32_t api_version_major{0};
259  uint32_t api_version_minor{0};
260  std::string server_info{};
261  std::string name{};
262  void encode(ProtoWriteBuffer buffer) const override;
263 #ifdef HAS_PROTO_MESSAGE_DUMP
264  void dump_to(std::string &out) const override;
265 #endif
266 
267  protected:
268  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
269  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
270 };
271 class ConnectRequest : public ProtoMessage {
272  public:
273  std::string password{};
274  void encode(ProtoWriteBuffer buffer) const override;
275 #ifdef HAS_PROTO_MESSAGE_DUMP
276  void dump_to(std::string &out) const override;
277 #endif
278 
279  protected:
280  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
281 };
283  public:
284  bool invalid_password{false};
285  void encode(ProtoWriteBuffer buffer) const override;
286 #ifdef HAS_PROTO_MESSAGE_DUMP
287  void dump_to(std::string &out) const override;
288 #endif
289 
290  protected:
291  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
292 };
294  public:
295  void encode(ProtoWriteBuffer buffer) const override;
296 #ifdef HAS_PROTO_MESSAGE_DUMP
297  void dump_to(std::string &out) const override;
298 #endif
299 
300  protected:
301 };
303  public:
304  void encode(ProtoWriteBuffer buffer) const override;
305 #ifdef HAS_PROTO_MESSAGE_DUMP
306  void dump_to(std::string &out) const override;
307 #endif
308 
309  protected:
310 };
311 class PingRequest : public ProtoMessage {
312  public:
313  void encode(ProtoWriteBuffer buffer) const override;
314 #ifdef HAS_PROTO_MESSAGE_DUMP
315  void dump_to(std::string &out) const override;
316 #endif
317 
318  protected:
319 };
320 class PingResponse : public ProtoMessage {
321  public:
322  void encode(ProtoWriteBuffer buffer) const override;
323 #ifdef HAS_PROTO_MESSAGE_DUMP
324  void dump_to(std::string &out) const override;
325 #endif
326 
327  protected:
328 };
330  public:
331  void encode(ProtoWriteBuffer buffer) const override;
332 #ifdef HAS_PROTO_MESSAGE_DUMP
333  void dump_to(std::string &out) const override;
334 #endif
335 
336  protected:
337 };
339  public:
340  bool uses_password{false};
341  std::string name{};
342  std::string mac_address{};
343  std::string esphome_version{};
344  std::string compilation_time{};
345  std::string model{};
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  void encode(ProtoWriteBuffer buffer) const override;
358 #ifdef HAS_PROTO_MESSAGE_DUMP
359  void dump_to(std::string &out) const override;
360 #endif
361 
362  protected:
363  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
364  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
365 };
367  public:
368  void encode(ProtoWriteBuffer buffer) const override;
369 #ifdef HAS_PROTO_MESSAGE_DUMP
370  void dump_to(std::string &out) const override;
371 #endif
372 
373  protected:
374 };
376  public:
377  void encode(ProtoWriteBuffer buffer) const override;
378 #ifdef HAS_PROTO_MESSAGE_DUMP
379  void dump_to(std::string &out) const override;
380 #endif
381 
382  protected:
383 };
385  public:
386  void encode(ProtoWriteBuffer buffer) const override;
387 #ifdef HAS_PROTO_MESSAGE_DUMP
388  void dump_to(std::string &out) const override;
389 #endif
390 
391  protected:
392 };
394  public:
395  std::string object_id{};
396  uint32_t key{0};
397  std::string name{};
398  std::string unique_id{};
399  std::string device_class{};
400  bool is_status_binary_sensor{false};
401  bool disabled_by_default{false};
402  std::string icon{};
403  enums::EntityCategory entity_category{};
404  void encode(ProtoWriteBuffer buffer) const override;
405 #ifdef HAS_PROTO_MESSAGE_DUMP
406  void dump_to(std::string &out) const override;
407 #endif
408 
409  protected:
410  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
411  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
412  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
413 };
415  public:
416  uint32_t key{0};
417  bool state{false};
418  bool missing_state{false};
419  void encode(ProtoWriteBuffer buffer) const override;
420 #ifdef HAS_PROTO_MESSAGE_DUMP
421  void dump_to(std::string &out) const override;
422 #endif
423 
424  protected:
425  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
426  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
427 };
429  public:
430  std::string object_id{};
431  uint32_t key{0};
432  std::string name{};
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};
439  std::string icon{};
440  enums::EntityCategory entity_category{};
441  bool supports_stop{false};
442  void encode(ProtoWriteBuffer buffer) const override;
443 #ifdef HAS_PROTO_MESSAGE_DUMP
444  void dump_to(std::string &out) const override;
445 #endif
446 
447  protected:
448  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
449  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
450  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
451 };
453  public:
454  uint32_t key{0};
455  enums::LegacyCoverState legacy_state{};
456  float position{0.0f};
457  float tilt{0.0f};
458  enums::CoverOperation current_operation{};
459  void encode(ProtoWriteBuffer buffer) const override;
460 #ifdef HAS_PROTO_MESSAGE_DUMP
461  void dump_to(std::string &out) const override;
462 #endif
463 
464  protected:
465  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
466  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
467 };
469  public:
470  uint32_t key{0};
471  bool has_legacy_command{false};
472  enums::LegacyCoverCommand legacy_command{};
473  bool has_position{false};
474  float position{0.0f};
475  bool has_tilt{false};
476  float tilt{0.0f};
477  bool stop{false};
478  void encode(ProtoWriteBuffer buffer) const override;
479 #ifdef HAS_PROTO_MESSAGE_DUMP
480  void dump_to(std::string &out) const override;
481 #endif
482 
483  protected:
484  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
485  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
486 };
488  public:
489  std::string object_id{};
490  uint32_t key{0};
491  std::string name{};
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};
498  std::string icon{};
499  enums::EntityCategory entity_category{};
500  std::vector<std::string> supported_preset_modes{};
501  void encode(ProtoWriteBuffer buffer) const override;
502 #ifdef HAS_PROTO_MESSAGE_DUMP
503  void dump_to(std::string &out) const override;
504 #endif
505 
506  protected:
507  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
508  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
509  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
510 };
512  public:
513  uint32_t key{0};
514  bool state{false};
515  bool oscillating{false};
518  int32_t speed_level{0};
519  std::string preset_mode{};
520  void encode(ProtoWriteBuffer buffer) const override;
521 #ifdef HAS_PROTO_MESSAGE_DUMP
522  void dump_to(std::string &out) const override;
523 #endif
524 
525  protected:
526  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
527  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
528  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
529 };
531  public:
532  uint32_t key{0};
533  bool has_state{false};
534  bool state{false};
535  bool has_speed{false};
537  bool has_oscillating{false};
538  bool 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};
544  std::string preset_mode{};
545  void encode(ProtoWriteBuffer buffer) const override;
546 #ifdef HAS_PROTO_MESSAGE_DUMP
547  void dump_to(std::string &out) const override;
548 #endif
549 
550  protected:
551  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
552  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
553  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
554 };
556  public:
557  std::string object_id{};
558  uint32_t key{0};
559  std::string name{};
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};
570  std::string icon{};
571  enums::EntityCategory entity_category{};
572  void encode(ProtoWriteBuffer buffer) const override;
573 #ifdef HAS_PROTO_MESSAGE_DUMP
574  void dump_to(std::string &out) const override;
575 #endif
576 
577  protected:
578  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
579  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
580  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
581 };
583  public:
584  uint32_t key{0};
585  bool state{false};
586  float brightness{0.0f};
587  enums::ColorMode color_mode{};
588  float color_brightness{0.0f};
589  float red{0.0f};
590  float green{0.0f};
591  float blue{0.0f};
592  float white{0.0f};
593  float color_temperature{0.0f};
594  float cold_white{0.0f};
595  float warm_white{0.0f};
596  std::string effect{};
597  void encode(ProtoWriteBuffer buffer) const override;
598 #ifdef HAS_PROTO_MESSAGE_DUMP
599  void dump_to(std::string &out) const override;
600 #endif
601 
602  protected:
603  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
604  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
605  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
606 };
608  public:
609  uint32_t key{0};
610  bool has_state{false};
611  bool state{false};
612  bool has_brightness{false};
613  float brightness{0.0f};
614  bool has_color_mode{false};
615  enums::ColorMode color_mode{};
616  bool has_color_brightness{false};
617  float color_brightness{0.0f};
618  bool has_rgb{false};
619  float red{0.0f};
620  float green{0.0f};
621  float blue{0.0f};
622  bool has_white{false};
623  float white{0.0f};
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{};
636  void encode(ProtoWriteBuffer buffer) const override;
637 #ifdef HAS_PROTO_MESSAGE_DUMP
638  void dump_to(std::string &out) const override;
639 #endif
640 
641  protected:
642  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
643  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
644  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
645 };
647  public:
648  std::string object_id{};
649  uint32_t key{0};
650  std::string name{};
651  std::string unique_id{};
652  std::string icon{};
653  std::string unit_of_measurement{};
654  int32_t accuracy_decimals{0};
655  bool force_update{false};
656  std::string device_class{};
657  enums::SensorStateClass state_class{};
658  enums::SensorLastResetType legacy_last_reset_type{};
659  bool disabled_by_default{false};
660  enums::EntityCategory entity_category{};
661  void encode(ProtoWriteBuffer buffer) const override;
662 #ifdef HAS_PROTO_MESSAGE_DUMP
663  void dump_to(std::string &out) const override;
664 #endif
665 
666  protected:
667  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
668  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
669  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
670 };
672  public:
673  uint32_t key{0};
674  float state{0.0f};
675  bool missing_state{false};
676  void encode(ProtoWriteBuffer buffer) const override;
677 #ifdef HAS_PROTO_MESSAGE_DUMP
678  void dump_to(std::string &out) const override;
679 #endif
680 
681  protected:
682  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
683  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
684 };
686  public:
687  std::string object_id{};
688  uint32_t key{0};
689  std::string name{};
690  std::string unique_id{};
691  std::string icon{};
692  bool assumed_state{false};
693  bool disabled_by_default{false};
694  enums::EntityCategory entity_category{};
695  std::string device_class{};
696  void encode(ProtoWriteBuffer buffer) const override;
697 #ifdef HAS_PROTO_MESSAGE_DUMP
698  void dump_to(std::string &out) const override;
699 #endif
700 
701  protected:
702  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
703  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
704  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
705 };
707  public:
708  uint32_t key{0};
709  bool state{false};
710  void encode(ProtoWriteBuffer buffer) const override;
711 #ifdef HAS_PROTO_MESSAGE_DUMP
712  void dump_to(std::string &out) const override;
713 #endif
714 
715  protected:
716  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
717  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
718 };
720  public:
721  uint32_t key{0};
722  bool state{false};
723  void encode(ProtoWriteBuffer buffer) const override;
724 #ifdef HAS_PROTO_MESSAGE_DUMP
725  void dump_to(std::string &out) const override;
726 #endif
727 
728  protected:
729  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
730  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
731 };
733  public:
734  std::string object_id{};
735  uint32_t key{0};
736  std::string name{};
737  std::string unique_id{};
738  std::string icon{};
739  bool disabled_by_default{false};
740  enums::EntityCategory entity_category{};
741  std::string device_class{};
742  void encode(ProtoWriteBuffer buffer) const override;
743 #ifdef HAS_PROTO_MESSAGE_DUMP
744  void dump_to(std::string &out) const override;
745 #endif
746 
747  protected:
748  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
749  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
750  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
751 };
753  public:
754  uint32_t key{0};
755  std::string state{};
756  bool missing_state{false};
757  void encode(ProtoWriteBuffer buffer) const override;
758 #ifdef HAS_PROTO_MESSAGE_DUMP
759  void dump_to(std::string &out) const override;
760 #endif
761 
762  protected:
763  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
764  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
765  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
766 };
768  public:
770  bool dump_config{false};
771  void encode(ProtoWriteBuffer buffer) const override;
772 #ifdef HAS_PROTO_MESSAGE_DUMP
773  void dump_to(std::string &out) const override;
774 #endif
775 
776  protected:
777  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
778 };
780  public:
782  std::string message{};
783  bool send_failed{false};
784  void encode(ProtoWriteBuffer buffer) const override;
785 #ifdef HAS_PROTO_MESSAGE_DUMP
786  void dump_to(std::string &out) const override;
787 #endif
788 
789  protected:
790  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
791  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
792 };
794  public:
795  void encode(ProtoWriteBuffer buffer) const override;
796 #ifdef HAS_PROTO_MESSAGE_DUMP
797  void dump_to(std::string &out) const override;
798 #endif
799 
800  protected:
801 };
803  public:
804  std::string key{};
805  std::string value{};
806  void encode(ProtoWriteBuffer buffer) const override;
807 #ifdef HAS_PROTO_MESSAGE_DUMP
808  void dump_to(std::string &out) const override;
809 #endif
810 
811  protected:
812  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
813 };
815  public:
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};
821  void encode(ProtoWriteBuffer buffer) const override;
822 #ifdef HAS_PROTO_MESSAGE_DUMP
823  void dump_to(std::string &out) const override;
824 #endif
825 
826  protected:
827  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
828  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
829 };
831  public:
832  void encode(ProtoWriteBuffer buffer) const override;
833 #ifdef HAS_PROTO_MESSAGE_DUMP
834  void dump_to(std::string &out) const override;
835 #endif
836 
837  protected:
838 };
840  public:
841  std::string entity_id{};
842  std::string attribute{};
843  bool once{false};
844  void encode(ProtoWriteBuffer buffer) const override;
845 #ifdef HAS_PROTO_MESSAGE_DUMP
846  void dump_to(std::string &out) const override;
847 #endif
848 
849  protected:
850  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
851  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
852 };
854  public:
855  std::string entity_id{};
856  std::string state{};
857  std::string attribute{};
858  void encode(ProtoWriteBuffer buffer) const override;
859 #ifdef HAS_PROTO_MESSAGE_DUMP
860  void dump_to(std::string &out) const override;
861 #endif
862 
863  protected:
864  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
865 };
866 class GetTimeRequest : public ProtoMessage {
867  public:
868  void encode(ProtoWriteBuffer buffer) const override;
869 #ifdef HAS_PROTO_MESSAGE_DUMP
870  void dump_to(std::string &out) const override;
871 #endif
872 
873  protected:
874 };
876  public:
877  uint32_t epoch_seconds{0};
878  void encode(ProtoWriteBuffer buffer) const override;
879 #ifdef HAS_PROTO_MESSAGE_DUMP
880  void dump_to(std::string &out) const override;
881 #endif
882 
883  protected:
884  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
885 };
887  public:
888  std::string name{};
890  void encode(ProtoWriteBuffer buffer) const override;
891 #ifdef HAS_PROTO_MESSAGE_DUMP
892  void dump_to(std::string &out) const override;
893 #endif
894 
895  protected:
896  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
897  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
898 };
900  public:
901  std::string name{};
902  uint32_t key{0};
903  std::vector<ListEntitiesServicesArgument> args{};
904  void encode(ProtoWriteBuffer buffer) const override;
905 #ifdef HAS_PROTO_MESSAGE_DUMP
906  void dump_to(std::string &out) const override;
907 #endif
908 
909  protected:
910  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
911  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
912 };
914  public:
915  bool bool_{false};
916  int32_t legacy_int{0};
917  float float_{0.0f};
918  std::string string_{};
919  int32_t int_{0};
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{};
924  void encode(ProtoWriteBuffer buffer) const override;
925 #ifdef HAS_PROTO_MESSAGE_DUMP
926  void dump_to(std::string &out) const override;
927 #endif
928 
929  protected:
930  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
931  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
932  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
933 };
935  public:
936  uint32_t key{0};
937  std::vector<ExecuteServiceArgument> args{};
938  void encode(ProtoWriteBuffer buffer) const override;
939 #ifdef HAS_PROTO_MESSAGE_DUMP
940  void dump_to(std::string &out) const override;
941 #endif
942 
943  protected:
944  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
945  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
946 };
948  public:
949  std::string object_id{};
950  uint32_t key{0};
951  std::string name{};
952  std::string unique_id{};
953  bool disabled_by_default{false};
954  std::string icon{};
955  enums::EntityCategory entity_category{};
956  void encode(ProtoWriteBuffer buffer) const override;
957 #ifdef HAS_PROTO_MESSAGE_DUMP
958  void dump_to(std::string &out) const override;
959 #endif
960 
961  protected:
962  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
963  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
964  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
965 };
967  public:
968  uint32_t key{0};
969  std::string data{};
970  bool done{false};
971  void encode(ProtoWriteBuffer buffer) const override;
972 #ifdef HAS_PROTO_MESSAGE_DUMP
973  void dump_to(std::string &out) const override;
974 #endif
975 
976  protected:
977  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
978  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
979  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
980 };
982  public:
983  bool single{false};
984  bool stream{false};
985  void encode(ProtoWriteBuffer buffer) const override;
986 #ifdef HAS_PROTO_MESSAGE_DUMP
987  void dump_to(std::string &out) const override;
988 #endif
989 
990  protected:
991  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
992 };
994  public:
995  std::string object_id{};
996  uint32_t key{0};
997  std::string name{};
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};
1013  std::string icon{};
1014  enums::EntityCategory entity_category{};
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};
1020  void encode(ProtoWriteBuffer buffer) const override;
1021 #ifdef HAS_PROTO_MESSAGE_DUMP
1022  void dump_to(std::string &out) const override;
1023 #endif
1024 
1025  protected:
1026  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1027  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1028  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1029 };
1031  public:
1032  uint32_t key{0};
1034  float current_temperature{0.0f};
1035  float target_temperature{0.0f};
1038  bool unused_legacy_away{false};
1042  std::string custom_fan_mode{};
1044  std::string custom_preset{};
1045  float current_humidity{0.0f};
1046  float target_humidity{0.0f};
1047  void encode(ProtoWriteBuffer buffer) const override;
1048 #ifdef HAS_PROTO_MESSAGE_DUMP
1049  void dump_to(std::string &out) const override;
1050 #endif
1051 
1052  protected:
1053  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1054  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1055  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1056 };
1058  public:
1059  uint32_t key{0};
1060  bool has_mode{false};
1062  bool has_target_temperature{false};
1063  float target_temperature{0.0f};
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};
1075  std::string custom_fan_mode{};
1076  bool has_preset{false};
1078  bool has_custom_preset{false};
1079  std::string custom_preset{};
1080  bool has_target_humidity{false};
1081  float target_humidity{0.0f};
1082  void encode(ProtoWriteBuffer buffer) const override;
1083 #ifdef HAS_PROTO_MESSAGE_DUMP
1084  void dump_to(std::string &out) const override;
1085 #endif
1086 
1087  protected:
1088  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1089  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1090  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1091 };
1093  public:
1094  std::string object_id{};
1095  uint32_t key{0};
1096  std::string name{};
1097  std::string unique_id{};
1098  std::string icon{};
1099  float min_value{0.0f};
1100  float max_value{0.0f};
1101  float step{0.0f};
1102  bool disabled_by_default{false};
1103  enums::EntityCategory entity_category{};
1104  std::string unit_of_measurement{};
1106  std::string device_class{};
1107  void encode(ProtoWriteBuffer buffer) const override;
1108 #ifdef HAS_PROTO_MESSAGE_DUMP
1109  void dump_to(std::string &out) const override;
1110 #endif
1111 
1112  protected:
1113  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1114  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1115  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1116 };
1118  public:
1119  uint32_t key{0};
1120  float state{0.0f};
1121  bool missing_state{false};
1122  void encode(ProtoWriteBuffer buffer) const override;
1123 #ifdef HAS_PROTO_MESSAGE_DUMP
1124  void dump_to(std::string &out) const override;
1125 #endif
1126 
1127  protected:
1128  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1129  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1130 };
1132  public:
1133  uint32_t key{0};
1134  float state{0.0f};
1135  void encode(ProtoWriteBuffer buffer) const override;
1136 #ifdef HAS_PROTO_MESSAGE_DUMP
1137  void dump_to(std::string &out) const override;
1138 #endif
1139 
1140  protected:
1141  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1142 };
1144  public:
1145  std::string object_id{};
1146  uint32_t key{0};
1147  std::string name{};
1148  std::string unique_id{};
1149  std::string icon{};
1150  std::vector<std::string> options{};
1151  bool disabled_by_default{false};
1152  enums::EntityCategory entity_category{};
1153  void encode(ProtoWriteBuffer buffer) const override;
1154 #ifdef HAS_PROTO_MESSAGE_DUMP
1155  void dump_to(std::string &out) const override;
1156 #endif
1157 
1158  protected:
1159  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1160  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1161  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1162 };
1164  public:
1165  uint32_t key{0};
1166  std::string state{};
1167  bool missing_state{false};
1168  void encode(ProtoWriteBuffer buffer) const override;
1169 #ifdef HAS_PROTO_MESSAGE_DUMP
1170  void dump_to(std::string &out) const override;
1171 #endif
1172 
1173  protected:
1174  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1175  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1176  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1177 };
1179  public:
1180  uint32_t key{0};
1181  std::string state{};
1182  void encode(ProtoWriteBuffer buffer) const override;
1183 #ifdef HAS_PROTO_MESSAGE_DUMP
1184  void dump_to(std::string &out) const override;
1185 #endif
1186 
1187  protected:
1188  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1189  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1190 };
1192  public:
1193  std::string object_id{};
1194  uint32_t key{0};
1195  std::string name{};
1196  std::string unique_id{};
1197  std::string icon{};
1198  bool disabled_by_default{false};
1199  enums::EntityCategory entity_category{};
1200  bool assumed_state{false};
1201  bool supports_open{false};
1202  bool requires_code{false};
1203  std::string code_format{};
1204  void encode(ProtoWriteBuffer buffer) const override;
1205 #ifdef HAS_PROTO_MESSAGE_DUMP
1206  void dump_to(std::string &out) const override;
1207 #endif
1208 
1209  protected:
1210  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1211  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1212  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1213 };
1215  public:
1216  uint32_t key{0};
1218  void encode(ProtoWriteBuffer buffer) const override;
1219 #ifdef HAS_PROTO_MESSAGE_DUMP
1220  void dump_to(std::string &out) const override;
1221 #endif
1222 
1223  protected:
1224  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1225  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1226 };
1228  public:
1229  uint32_t key{0};
1231  bool has_code{false};
1232  std::string code{};
1233  void encode(ProtoWriteBuffer buffer) const override;
1234 #ifdef HAS_PROTO_MESSAGE_DUMP
1235  void dump_to(std::string &out) const override;
1236 #endif
1237 
1238  protected:
1239  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1240  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1241  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1242 };
1244  public:
1245  std::string object_id{};
1246  uint32_t key{0};
1247  std::string name{};
1248  std::string unique_id{};
1249  std::string icon{};
1250  bool disabled_by_default{false};
1251  enums::EntityCategory entity_category{};
1252  std::string device_class{};
1253  void encode(ProtoWriteBuffer buffer) const override;
1254 #ifdef HAS_PROTO_MESSAGE_DUMP
1255  void dump_to(std::string &out) const override;
1256 #endif
1257 
1258  protected:
1259  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1260  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1261  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1262 };
1264  public:
1265  uint32_t key{0};
1266  void encode(ProtoWriteBuffer buffer) const override;
1267 #ifdef HAS_PROTO_MESSAGE_DUMP
1268  void dump_to(std::string &out) const override;
1269 #endif
1270 
1271  protected:
1272  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1273 };
1275  public:
1276  std::string format{};
1277  uint32_t sample_rate{0};
1278  uint32_t num_channels{0};
1280  uint32_t sample_bytes{0};
1281  void encode(ProtoWriteBuffer buffer) const override;
1282 #ifdef HAS_PROTO_MESSAGE_DUMP
1283  void dump_to(std::string &out) const override;
1284 #endif
1285 
1286  protected:
1287  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1288  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1289 };
1291  public:
1292  std::string object_id{};
1293  uint32_t key{0};
1294  std::string name{};
1295  std::string unique_id{};
1296  std::string icon{};
1297  bool disabled_by_default{false};
1298  enums::EntityCategory entity_category{};
1299  bool supports_pause{false};
1300  std::vector<MediaPlayerSupportedFormat> supported_formats{};
1301  void encode(ProtoWriteBuffer buffer) const override;
1302 #ifdef HAS_PROTO_MESSAGE_DUMP
1303  void dump_to(std::string &out) const override;
1304 #endif
1305 
1306  protected:
1307  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1308  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1309  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1310 };
1312  public:
1313  uint32_t key{0};
1315  float volume{0.0f};
1316  bool muted{false};
1317  void encode(ProtoWriteBuffer buffer) const override;
1318 #ifdef HAS_PROTO_MESSAGE_DUMP
1319  void dump_to(std::string &out) const override;
1320 #endif
1321 
1322  protected:
1323  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1324  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1325 };
1327  public:
1328  uint32_t key{0};
1329  bool has_command{false};
1331  bool has_volume{false};
1332  float volume{0.0f};
1333  bool has_media_url{false};
1334  std::string media_url{};
1335  bool has_announcement{false};
1336  bool announcement{false};
1337  void encode(ProtoWriteBuffer buffer) const override;
1338 #ifdef HAS_PROTO_MESSAGE_DUMP
1339  void dump_to(std::string &out) const override;
1340 #endif
1341 
1342  protected:
1343  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1344  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1345  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1346 };
1348  public:
1349  uint32_t flags{0};
1350  void encode(ProtoWriteBuffer buffer) const override;
1351 #ifdef HAS_PROTO_MESSAGE_DUMP
1352  void dump_to(std::string &out) const override;
1353 #endif
1354 
1355  protected:
1356  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1357 };
1359  public:
1360  std::string uuid{};
1361  std::vector<uint32_t> legacy_data{};
1362  std::string data{};
1363  void encode(ProtoWriteBuffer buffer) const override;
1364 #ifdef HAS_PROTO_MESSAGE_DUMP
1365  void dump_to(std::string &out) const override;
1366 #endif
1367 
1368  protected:
1369  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1370  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1371 };
1373  public:
1374  uint64_t address{0};
1375  std::string name{};
1376  int32_t rssi{0};
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};
1381  void encode(ProtoWriteBuffer buffer) const override;
1382 #ifdef HAS_PROTO_MESSAGE_DUMP
1383  void dump_to(std::string &out) const override;
1384 #endif
1385 
1386  protected:
1387  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1388  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1389 };
1391  public:
1392  uint64_t address{0};
1393  int32_t rssi{0};
1394  uint32_t address_type{0};
1395  std::string data{};
1396  void encode(ProtoWriteBuffer buffer) const override;
1397 #ifdef HAS_PROTO_MESSAGE_DUMP
1398  void dump_to(std::string &out) const override;
1399 #endif
1400 
1401  protected:
1402  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1403  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1404 };
1406  public:
1407  std::vector<BluetoothLERawAdvertisement> advertisements{};
1408  void encode(ProtoWriteBuffer buffer) const override;
1409 #ifdef HAS_PROTO_MESSAGE_DUMP
1410  void dump_to(std::string &out) const override;
1411 #endif
1412 
1413  protected:
1414  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1415 };
1417  public:
1418  uint64_t address{0};
1420  bool has_address_type{false};
1421  uint32_t address_type{0};
1422  void encode(ProtoWriteBuffer buffer) const override;
1423 #ifdef HAS_PROTO_MESSAGE_DUMP
1424  void dump_to(std::string &out) const override;
1425 #endif
1426 
1427  protected:
1428  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1429 };
1431  public:
1432  uint64_t address{0};
1433  bool connected{false};
1434  uint32_t mtu{0};
1435  int32_t error{0};
1436  void encode(ProtoWriteBuffer buffer) const override;
1437 #ifdef HAS_PROTO_MESSAGE_DUMP
1438  void dump_to(std::string &out) const override;
1439 #endif
1440 
1441  protected:
1442  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1443 };
1445  public:
1446  uint64_t address{0};
1447  void encode(ProtoWriteBuffer buffer) const override;
1448 #ifdef HAS_PROTO_MESSAGE_DUMP
1449  void dump_to(std::string &out) const override;
1450 #endif
1451 
1452  protected:
1453  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1454 };
1456  public:
1457  std::vector<uint64_t> uuid{};
1458  uint32_t handle{0};
1459  void encode(ProtoWriteBuffer buffer) const override;
1460 #ifdef HAS_PROTO_MESSAGE_DUMP
1461  void dump_to(std::string &out) const override;
1462 #endif
1463 
1464  protected:
1465  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1466 };
1468  public:
1469  std::vector<uint64_t> uuid{};
1470  uint32_t handle{0};
1471  uint32_t properties{0};
1472  std::vector<BluetoothGATTDescriptor> descriptors{};
1473  void encode(ProtoWriteBuffer buffer) const override;
1474 #ifdef HAS_PROTO_MESSAGE_DUMP
1475  void dump_to(std::string &out) const override;
1476 #endif
1477 
1478  protected:
1479  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1480  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1481 };
1483  public:
1484  std::vector<uint64_t> uuid{};
1485  uint32_t handle{0};
1486  std::vector<BluetoothGATTCharacteristic> characteristics{};
1487  void encode(ProtoWriteBuffer buffer) const override;
1488 #ifdef HAS_PROTO_MESSAGE_DUMP
1489  void dump_to(std::string &out) const override;
1490 #endif
1491 
1492  protected:
1493  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1494  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1495 };
1497  public:
1498  uint64_t address{0};
1499  std::vector<BluetoothGATTService> services{};
1500  void encode(ProtoWriteBuffer buffer) const override;
1501 #ifdef HAS_PROTO_MESSAGE_DUMP
1502  void dump_to(std::string &out) const override;
1503 #endif
1504 
1505  protected:
1506  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1507  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1508 };
1510  public:
1511  uint64_t address{0};
1512  void encode(ProtoWriteBuffer buffer) const override;
1513 #ifdef HAS_PROTO_MESSAGE_DUMP
1514  void dump_to(std::string &out) const override;
1515 #endif
1516 
1517  protected:
1518  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1519 };
1521  public:
1522  uint64_t address{0};
1523  uint32_t handle{0};
1524  void encode(ProtoWriteBuffer buffer) const override;
1525 #ifdef HAS_PROTO_MESSAGE_DUMP
1526  void dump_to(std::string &out) const override;
1527 #endif
1528 
1529  protected:
1530  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1531 };
1533  public:
1534  uint64_t address{0};
1535  uint32_t handle{0};
1536  std::string data{};
1537  void encode(ProtoWriteBuffer buffer) const override;
1538 #ifdef HAS_PROTO_MESSAGE_DUMP
1539  void dump_to(std::string &out) const override;
1540 #endif
1541 
1542  protected:
1543  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1544  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1545 };
1547  public:
1548  uint64_t address{0};
1549  uint32_t handle{0};
1550  bool response{false};
1551  std::string data{};
1552  void encode(ProtoWriteBuffer buffer) const override;
1553 #ifdef HAS_PROTO_MESSAGE_DUMP
1554  void dump_to(std::string &out) const override;
1555 #endif
1556 
1557  protected:
1558  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1559  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1560 };
1562  public:
1563  uint64_t address{0};
1564  uint32_t handle{0};
1565  void encode(ProtoWriteBuffer buffer) const override;
1566 #ifdef HAS_PROTO_MESSAGE_DUMP
1567  void dump_to(std::string &out) const override;
1568 #endif
1569 
1570  protected:
1571  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1572 };
1574  public:
1575  uint64_t address{0};
1576  uint32_t handle{0};
1577  std::string data{};
1578  void encode(ProtoWriteBuffer buffer) const override;
1579 #ifdef HAS_PROTO_MESSAGE_DUMP
1580  void dump_to(std::string &out) const override;
1581 #endif
1582 
1583  protected:
1584  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1585  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1586 };
1588  public:
1589  uint64_t address{0};
1590  uint32_t handle{0};
1591  bool enable{false};
1592  void encode(ProtoWriteBuffer buffer) const override;
1593 #ifdef HAS_PROTO_MESSAGE_DUMP
1594  void dump_to(std::string &out) const override;
1595 #endif
1596 
1597  protected:
1598  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1599 };
1601  public:
1602  uint64_t address{0};
1603  uint32_t handle{0};
1604  std::string data{};
1605  void encode(ProtoWriteBuffer buffer) const override;
1606 #ifdef HAS_PROTO_MESSAGE_DUMP
1607  void dump_to(std::string &out) const override;
1608 #endif
1609 
1610  protected:
1611  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1612  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1613 };
1615  public:
1616  void encode(ProtoWriteBuffer buffer) const override;
1617 #ifdef HAS_PROTO_MESSAGE_DUMP
1618  void dump_to(std::string &out) const override;
1619 #endif
1620 
1621  protected:
1622 };
1624  public:
1625  uint32_t free{0};
1626  uint32_t limit{0};
1627  void encode(ProtoWriteBuffer buffer) const override;
1628 #ifdef HAS_PROTO_MESSAGE_DUMP
1629  void dump_to(std::string &out) const override;
1630 #endif
1631 
1632  protected:
1633  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1634 };
1636  public:
1637  uint64_t address{0};
1638  uint32_t handle{0};
1639  int32_t error{0};
1640  void encode(ProtoWriteBuffer buffer) const override;
1641 #ifdef HAS_PROTO_MESSAGE_DUMP
1642  void dump_to(std::string &out) const override;
1643 #endif
1644 
1645  protected:
1646  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1647 };
1649  public:
1650  uint64_t address{0};
1651  uint32_t handle{0};
1652  void encode(ProtoWriteBuffer buffer) const override;
1653 #ifdef HAS_PROTO_MESSAGE_DUMP
1654  void dump_to(std::string &out) const override;
1655 #endif
1656 
1657  protected:
1658  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1659 };
1661  public:
1662  uint64_t address{0};
1663  uint32_t handle{0};
1664  void encode(ProtoWriteBuffer buffer) const override;
1665 #ifdef HAS_PROTO_MESSAGE_DUMP
1666  void dump_to(std::string &out) const override;
1667 #endif
1668 
1669  protected:
1670  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1671 };
1673  public:
1674  uint64_t address{0};
1675  bool paired{false};
1676  int32_t error{0};
1677  void encode(ProtoWriteBuffer buffer) const override;
1678 #ifdef HAS_PROTO_MESSAGE_DUMP
1679  void dump_to(std::string &out) const override;
1680 #endif
1681 
1682  protected:
1683  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1684 };
1686  public:
1687  uint64_t address{0};
1688  bool success{false};
1689  int32_t error{0};
1690  void encode(ProtoWriteBuffer buffer) const override;
1691 #ifdef HAS_PROTO_MESSAGE_DUMP
1692  void dump_to(std::string &out) const override;
1693 #endif
1694 
1695  protected:
1696  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1697 };
1699  public:
1700  void encode(ProtoWriteBuffer buffer) const override;
1701 #ifdef HAS_PROTO_MESSAGE_DUMP
1702  void dump_to(std::string &out) const override;
1703 #endif
1704 
1705  protected:
1706 };
1708  public:
1709  uint64_t address{0};
1710  bool success{false};
1711  int32_t error{0};
1712  void encode(ProtoWriteBuffer buffer) const override;
1713 #ifdef HAS_PROTO_MESSAGE_DUMP
1714  void dump_to(std::string &out) const override;
1715 #endif
1716 
1717  protected:
1718  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1719 };
1721  public:
1722  bool subscribe{false};
1723  uint32_t flags{0};
1724  void encode(ProtoWriteBuffer buffer) const override;
1725 #ifdef HAS_PROTO_MESSAGE_DUMP
1726  void dump_to(std::string &out) const override;
1727 #endif
1728 
1729  protected:
1730  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1731 };
1733  public:
1734  uint32_t noise_suppression_level{0};
1735  uint32_t auto_gain{0};
1736  float volume_multiplier{0.0f};
1737  void encode(ProtoWriteBuffer buffer) const override;
1738 #ifdef HAS_PROTO_MESSAGE_DUMP
1739  void dump_to(std::string &out) const override;
1740 #endif
1741 
1742  protected:
1743  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1744  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1745 };
1747  public:
1748  bool start{false};
1749  std::string conversation_id{};
1750  uint32_t flags{0};
1752  std::string wake_word_phrase{};
1753  void encode(ProtoWriteBuffer buffer) const override;
1754 #ifdef HAS_PROTO_MESSAGE_DUMP
1755  void dump_to(std::string &out) const override;
1756 #endif
1757 
1758  protected:
1759  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1760  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1761 };
1763  public:
1764  uint32_t port{0};
1765  bool error{false};
1766  void encode(ProtoWriteBuffer buffer) const override;
1767 #ifdef HAS_PROTO_MESSAGE_DUMP
1768  void dump_to(std::string &out) const override;
1769 #endif
1770 
1771  protected:
1772  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1773 };
1775  public:
1776  std::string name{};
1777  std::string value{};
1778  void encode(ProtoWriteBuffer buffer) const override;
1779 #ifdef HAS_PROTO_MESSAGE_DUMP
1780  void dump_to(std::string &out) const override;
1781 #endif
1782 
1783  protected:
1784  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1785 };
1787  public:
1789  std::vector<VoiceAssistantEventData> data{};
1790  void encode(ProtoWriteBuffer buffer) const override;
1791 #ifdef HAS_PROTO_MESSAGE_DUMP
1792  void dump_to(std::string &out) const override;
1793 #endif
1794 
1795  protected:
1796  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1797  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1798 };
1800  public:
1801  std::string data{};
1802  bool end{false};
1803  void encode(ProtoWriteBuffer buffer) const override;
1804 #ifdef HAS_PROTO_MESSAGE_DUMP
1805  void dump_to(std::string &out) const override;
1806 #endif
1807 
1808  protected:
1809  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1810  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1811 };
1813  public:
1815  std::string timer_id{};
1816  std::string name{};
1817  uint32_t total_seconds{0};
1818  uint32_t seconds_left{0};
1819  bool is_active{false};
1820  void encode(ProtoWriteBuffer buffer) const override;
1821 #ifdef HAS_PROTO_MESSAGE_DUMP
1822  void dump_to(std::string &out) const override;
1823 #endif
1824 
1825  protected:
1826  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1827  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1828 };
1830  public:
1831  std::string media_id{};
1832  std::string text{};
1833  void encode(ProtoWriteBuffer buffer) const override;
1834 #ifdef HAS_PROTO_MESSAGE_DUMP
1835  void dump_to(std::string &out) const override;
1836 #endif
1837 
1838  protected:
1839  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1840 };
1842  public:
1843  bool success{false};
1844  void encode(ProtoWriteBuffer buffer) const override;
1845 #ifdef HAS_PROTO_MESSAGE_DUMP
1846  void dump_to(std::string &out) const override;
1847 #endif
1848 
1849  protected:
1850  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1851 };
1853  public:
1854  std::string id{};
1855  std::string wake_word{};
1856  std::vector<std::string> trained_languages{};
1857  void encode(ProtoWriteBuffer buffer) const override;
1858 #ifdef HAS_PROTO_MESSAGE_DUMP
1859  void dump_to(std::string &out) const override;
1860 #endif
1861 
1862  protected:
1863  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1864 };
1866  public:
1867  void encode(ProtoWriteBuffer buffer) const override;
1868 #ifdef HAS_PROTO_MESSAGE_DUMP
1869  void dump_to(std::string &out) const override;
1870 #endif
1871 
1872  protected:
1873 };
1875  public:
1876  std::vector<VoiceAssistantWakeWord> available_wake_words{};
1877  std::vector<std::string> active_wake_words{};
1878  uint32_t max_active_wake_words{0};
1879  void encode(ProtoWriteBuffer buffer) const override;
1880 #ifdef HAS_PROTO_MESSAGE_DUMP
1881  void dump_to(std::string &out) const override;
1882 #endif
1883 
1884  protected:
1885  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1886  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1887 };
1889  public:
1890  std::vector<std::string> active_wake_words{};
1891  void encode(ProtoWriteBuffer buffer) const override;
1892 #ifdef HAS_PROTO_MESSAGE_DUMP
1893  void dump_to(std::string &out) const override;
1894 #endif
1895 
1896  protected:
1897  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1898 };
1900  public:
1901  std::string object_id{};
1902  uint32_t key{0};
1903  std::string name{};
1904  std::string unique_id{};
1905  std::string icon{};
1906  bool disabled_by_default{false};
1907  enums::EntityCategory entity_category{};
1908  uint32_t supported_features{0};
1909  bool requires_code{false};
1910  bool requires_code_to_arm{false};
1911  void encode(ProtoWriteBuffer buffer) const override;
1912 #ifdef HAS_PROTO_MESSAGE_DUMP
1913  void dump_to(std::string &out) const override;
1914 #endif
1915 
1916  protected:
1917  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1918  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1919  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1920 };
1922  public:
1923  uint32_t key{0};
1925  void encode(ProtoWriteBuffer buffer) const override;
1926 #ifdef HAS_PROTO_MESSAGE_DUMP
1927  void dump_to(std::string &out) const override;
1928 #endif
1929 
1930  protected:
1931  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1932  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1933 };
1935  public:
1936  uint32_t key{0};
1938  std::string code{};
1939  void encode(ProtoWriteBuffer buffer) const override;
1940 #ifdef HAS_PROTO_MESSAGE_DUMP
1941  void dump_to(std::string &out) const override;
1942 #endif
1943 
1944  protected:
1945  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1946  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1947  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1948 };
1950  public:
1951  std::string object_id{};
1952  uint32_t key{0};
1953  std::string name{};
1954  std::string unique_id{};
1955  std::string icon{};
1956  bool disabled_by_default{false};
1957  enums::EntityCategory entity_category{};
1958  uint32_t min_length{0};
1959  uint32_t max_length{0};
1960  std::string pattern{};
1962  void encode(ProtoWriteBuffer buffer) const override;
1963 #ifdef HAS_PROTO_MESSAGE_DUMP
1964  void dump_to(std::string &out) const override;
1965 #endif
1966 
1967  protected:
1968  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1969  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1970  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1971 };
1973  public:
1974  uint32_t key{0};
1975  std::string state{};
1976  bool missing_state{false};
1977  void encode(ProtoWriteBuffer buffer) const override;
1978 #ifdef HAS_PROTO_MESSAGE_DUMP
1979  void dump_to(std::string &out) const override;
1980 #endif
1981 
1982  protected:
1983  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1984  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1985  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1986 };
1988  public:
1989  uint32_t key{0};
1990  std::string state{};
1991  void encode(ProtoWriteBuffer buffer) const override;
1992 #ifdef HAS_PROTO_MESSAGE_DUMP
1993  void dump_to(std::string &out) const override;
1994 #endif
1995 
1996  protected:
1997  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1998  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1999 };
2001  public:
2002  std::string object_id{};
2003  uint32_t key{0};
2004  std::string name{};
2005  std::string unique_id{};
2006  std::string icon{};
2007  bool disabled_by_default{false};
2008  enums::EntityCategory entity_category{};
2009  void encode(ProtoWriteBuffer buffer) const override;
2010 #ifdef HAS_PROTO_MESSAGE_DUMP
2011  void dump_to(std::string &out) const override;
2012 #endif
2013 
2014  protected:
2015  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2016  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2017  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2018 };
2020  public:
2021  uint32_t key{0};
2022  bool missing_state{false};
2023  uint32_t year{0};
2024  uint32_t month{0};
2025  uint32_t day{0};
2026  void encode(ProtoWriteBuffer buffer) const override;
2027 #ifdef HAS_PROTO_MESSAGE_DUMP
2028  void dump_to(std::string &out) const override;
2029 #endif
2030 
2031  protected:
2032  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2033  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2034 };
2036  public:
2037  uint32_t key{0};
2038  uint32_t year{0};
2039  uint32_t month{0};
2040  uint32_t day{0};
2041  void encode(ProtoWriteBuffer buffer) const override;
2042 #ifdef HAS_PROTO_MESSAGE_DUMP
2043  void dump_to(std::string &out) const override;
2044 #endif
2045 
2046  protected:
2047  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2048  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2049 };
2051  public:
2052  std::string object_id{};
2053  uint32_t key{0};
2054  std::string name{};
2055  std::string unique_id{};
2056  std::string icon{};
2057  bool disabled_by_default{false};
2058  enums::EntityCategory entity_category{};
2059  void encode(ProtoWriteBuffer buffer) const override;
2060 #ifdef HAS_PROTO_MESSAGE_DUMP
2061  void dump_to(std::string &out) const override;
2062 #endif
2063 
2064  protected:
2065  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2066  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2067  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2068 };
2070  public:
2071  uint32_t key{0};
2072  bool missing_state{false};
2073  uint32_t hour{0};
2074  uint32_t minute{0};
2075  uint32_t second{0};
2076  void encode(ProtoWriteBuffer buffer) const override;
2077 #ifdef HAS_PROTO_MESSAGE_DUMP
2078  void dump_to(std::string &out) const override;
2079 #endif
2080 
2081  protected:
2082  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2083  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2084 };
2086  public:
2087  uint32_t key{0};
2088  uint32_t hour{0};
2089  uint32_t minute{0};
2090  uint32_t second{0};
2091  void encode(ProtoWriteBuffer buffer) const override;
2092 #ifdef HAS_PROTO_MESSAGE_DUMP
2093  void dump_to(std::string &out) const override;
2094 #endif
2095 
2096  protected:
2097  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2098  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2099 };
2101  public:
2102  std::string object_id{};
2103  uint32_t key{0};
2104  std::string name{};
2105  std::string unique_id{};
2106  std::string icon{};
2107  bool disabled_by_default{false};
2108  enums::EntityCategory entity_category{};
2109  std::string device_class{};
2110  std::vector<std::string> event_types{};
2111  void encode(ProtoWriteBuffer buffer) const override;
2112 #ifdef HAS_PROTO_MESSAGE_DUMP
2113  void dump_to(std::string &out) const override;
2114 #endif
2115 
2116  protected:
2117  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2118  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2119  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2120 };
2121 class EventResponse : public ProtoMessage {
2122  public:
2123  uint32_t key{0};
2124  std::string event_type{};
2125  void encode(ProtoWriteBuffer buffer) const override;
2126 #ifdef HAS_PROTO_MESSAGE_DUMP
2127  void dump_to(std::string &out) const override;
2128 #endif
2129 
2130  protected:
2131  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2132  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2133 };
2135  public:
2136  std::string object_id{};
2137  uint32_t key{0};
2138  std::string name{};
2139  std::string unique_id{};
2140  std::string icon{};
2141  bool disabled_by_default{false};
2142  enums::EntityCategory entity_category{};
2143  std::string device_class{};
2144  bool assumed_state{false};
2145  bool supports_position{false};
2146  bool supports_stop{false};
2147  void encode(ProtoWriteBuffer buffer) const override;
2148 #ifdef HAS_PROTO_MESSAGE_DUMP
2149  void dump_to(std::string &out) const override;
2150 #endif
2151 
2152  protected:
2153  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2154  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2155  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2156 };
2158  public:
2159  uint32_t key{0};
2160  float position{0.0f};
2161  enums::ValveOperation current_operation{};
2162  void encode(ProtoWriteBuffer buffer) const override;
2163 #ifdef HAS_PROTO_MESSAGE_DUMP
2164  void dump_to(std::string &out) const override;
2165 #endif
2166 
2167  protected:
2168  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2169  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2170 };
2172  public:
2173  uint32_t key{0};
2174  bool has_position{false};
2175  float position{0.0f};
2176  bool stop{false};
2177  void encode(ProtoWriteBuffer buffer) const override;
2178 #ifdef HAS_PROTO_MESSAGE_DUMP
2179  void dump_to(std::string &out) const override;
2180 #endif
2181 
2182  protected:
2183  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2184  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2185 };
2187  public:
2188  std::string object_id{};
2189  uint32_t key{0};
2190  std::string name{};
2191  std::string unique_id{};
2192  std::string icon{};
2193  bool disabled_by_default{false};
2194  enums::EntityCategory entity_category{};
2195  void encode(ProtoWriteBuffer buffer) const override;
2196 #ifdef HAS_PROTO_MESSAGE_DUMP
2197  void dump_to(std::string &out) const override;
2198 #endif
2199 
2200  protected:
2201  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2202  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2203  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2204 };
2206  public:
2207  uint32_t key{0};
2208  bool missing_state{false};
2209  uint32_t epoch_seconds{0};
2210  void encode(ProtoWriteBuffer buffer) const override;
2211 #ifdef HAS_PROTO_MESSAGE_DUMP
2212  void dump_to(std::string &out) const override;
2213 #endif
2214 
2215  protected:
2216  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2217  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2218 };
2220  public:
2221  uint32_t key{0};
2222  uint32_t epoch_seconds{0};
2223  void encode(ProtoWriteBuffer buffer) const override;
2224 #ifdef HAS_PROTO_MESSAGE_DUMP
2225  void dump_to(std::string &out) const override;
2226 #endif
2227 
2228  protected:
2229  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2230 };
2232  public:
2233  std::string object_id{};
2234  uint32_t key{0};
2235  std::string name{};
2236  std::string unique_id{};
2237  std::string icon{};
2238  bool disabled_by_default{false};
2239  enums::EntityCategory entity_category{};
2240  std::string device_class{};
2241  void encode(ProtoWriteBuffer buffer) const override;
2242 #ifdef HAS_PROTO_MESSAGE_DUMP
2243  void dump_to(std::string &out) const override;
2244 #endif
2245 
2246  protected:
2247  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2248  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2249  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2250 };
2252  public:
2253  uint32_t key{0};
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{};
2263  void encode(ProtoWriteBuffer buffer) const override;
2264 #ifdef HAS_PROTO_MESSAGE_DUMP
2265  void dump_to(std::string &out) const override;
2266 #endif
2267 
2268  protected:
2269  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2270  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2271  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2272 };
2274  public:
2275  uint32_t key{0};
2277  void encode(ProtoWriteBuffer buffer) const override;
2278 #ifdef HAS_PROTO_MESSAGE_DUMP
2279  void dump_to(std::string &out) const override;
2280 #endif
2281 
2282  protected:
2283  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2284  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2285 };
2286 
2287 } // namespace api
2288 } // namespace esphome
float target_temperature_low
Definition: climate.h:140
const char * name
Definition: stm32flash.h:78
uint16_t year
Definition: date_entity.h:122
Representation of a VarInt - in ProtoBuf should be 64bit but we only use 32bit.
Definition: proto.h:17
int speed
Definition: fan.h:35
float tilt
Definition: cover.h:15
float target_temperature_high
Definition: climate.h:141
float target_humidity
Definition: climate.h:589
uint8_t minute
ClimateSwingMode swing_mode
Definition: climate.h:581
uint8_t day
Definition: date_entity.h:124
FanDirection direction
Definition: fan.h:37
uint8_t custom_preset
Definition: climate.h:579
uint8_t hour
BedjetMode mode
BedJet operating mode.
Definition: bedjet_codec.h:183
uint8_t second
uint8_t type
const uint32_t flags
Definition: stm32flash.h:85
uint8_t options
ClimateFanMode fan_mode
Definition: climate.h:573
bool oscillating
Definition: fan.h:36
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
uint8_t address
Definition: bl0906.h:211
uint8_t preset_mode
Definition: fan.h:38
float position
Definition: cover.h:14
uint8_t end[39]
Definition: sun_gtil2.cpp:31
uint8_t custom_fan_mode
Definition: climate.h:574
float target_temperature
Definition: climate.h:138
uint8_t month
Definition: date_entity.h:123
ClimatePreset preset
Definition: climate.h:578
bool state
Definition: fan.h:34