ESPHome  2025.2.0
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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  std::vector<uint64_t> allocated{};
1628  void encode(ProtoWriteBuffer buffer) const override;
1629 #ifdef HAS_PROTO_MESSAGE_DUMP
1630  void dump_to(std::string &out) const override;
1631 #endif
1632 
1633  protected:
1634  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1635 };
1637  public:
1638  uint64_t address{0};
1639  uint32_t handle{0};
1640  int32_t error{0};
1641  void encode(ProtoWriteBuffer buffer) const override;
1642 #ifdef HAS_PROTO_MESSAGE_DUMP
1643  void dump_to(std::string &out) const override;
1644 #endif
1645 
1646  protected:
1647  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1648 };
1650  public:
1651  uint64_t address{0};
1652  uint32_t handle{0};
1653  void encode(ProtoWriteBuffer buffer) const override;
1654 #ifdef HAS_PROTO_MESSAGE_DUMP
1655  void dump_to(std::string &out) const override;
1656 #endif
1657 
1658  protected:
1659  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1660 };
1662  public:
1663  uint64_t address{0};
1664  uint32_t handle{0};
1665  void encode(ProtoWriteBuffer buffer) const override;
1666 #ifdef HAS_PROTO_MESSAGE_DUMP
1667  void dump_to(std::string &out) const override;
1668 #endif
1669 
1670  protected:
1671  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1672 };
1674  public:
1675  uint64_t address{0};
1676  bool paired{false};
1677  int32_t error{0};
1678  void encode(ProtoWriteBuffer buffer) const override;
1679 #ifdef HAS_PROTO_MESSAGE_DUMP
1680  void dump_to(std::string &out) const override;
1681 #endif
1682 
1683  protected:
1684  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1685 };
1687  public:
1688  uint64_t address{0};
1689  bool success{false};
1690  int32_t error{0};
1691  void encode(ProtoWriteBuffer buffer) const override;
1692 #ifdef HAS_PROTO_MESSAGE_DUMP
1693  void dump_to(std::string &out) const override;
1694 #endif
1695 
1696  protected:
1697  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1698 };
1700  public:
1701  void encode(ProtoWriteBuffer buffer) const override;
1702 #ifdef HAS_PROTO_MESSAGE_DUMP
1703  void dump_to(std::string &out) const override;
1704 #endif
1705 
1706  protected:
1707 };
1709  public:
1710  uint64_t address{0};
1711  bool success{false};
1712  int32_t error{0};
1713  void encode(ProtoWriteBuffer buffer) const override;
1714 #ifdef HAS_PROTO_MESSAGE_DUMP
1715  void dump_to(std::string &out) const override;
1716 #endif
1717 
1718  protected:
1719  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1720 };
1722  public:
1723  bool subscribe{false};
1724  uint32_t flags{0};
1725  void encode(ProtoWriteBuffer buffer) const override;
1726 #ifdef HAS_PROTO_MESSAGE_DUMP
1727  void dump_to(std::string &out) const override;
1728 #endif
1729 
1730  protected:
1731  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1732 };
1734  public:
1735  uint32_t noise_suppression_level{0};
1736  uint32_t auto_gain{0};
1737  float volume_multiplier{0.0f};
1738  void encode(ProtoWriteBuffer buffer) const override;
1739 #ifdef HAS_PROTO_MESSAGE_DUMP
1740  void dump_to(std::string &out) const override;
1741 #endif
1742 
1743  protected:
1744  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1745  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1746 };
1748  public:
1749  bool start{false};
1750  std::string conversation_id{};
1751  uint32_t flags{0};
1753  std::string wake_word_phrase{};
1754  void encode(ProtoWriteBuffer buffer) const override;
1755 #ifdef HAS_PROTO_MESSAGE_DUMP
1756  void dump_to(std::string &out) const override;
1757 #endif
1758 
1759  protected:
1760  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1761  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1762 };
1764  public:
1765  uint32_t port{0};
1766  bool error{false};
1767  void encode(ProtoWriteBuffer buffer) const override;
1768 #ifdef HAS_PROTO_MESSAGE_DUMP
1769  void dump_to(std::string &out) const override;
1770 #endif
1771 
1772  protected:
1773  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1774 };
1776  public:
1777  std::string name{};
1778  std::string value{};
1779  void encode(ProtoWriteBuffer buffer) const override;
1780 #ifdef HAS_PROTO_MESSAGE_DUMP
1781  void dump_to(std::string &out) const override;
1782 #endif
1783 
1784  protected:
1785  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1786 };
1788  public:
1790  std::vector<VoiceAssistantEventData> data{};
1791  void encode(ProtoWriteBuffer buffer) const override;
1792 #ifdef HAS_PROTO_MESSAGE_DUMP
1793  void dump_to(std::string &out) const override;
1794 #endif
1795 
1796  protected:
1797  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1798  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1799 };
1801  public:
1802  std::string data{};
1803  bool end{false};
1804  void encode(ProtoWriteBuffer buffer) const override;
1805 #ifdef HAS_PROTO_MESSAGE_DUMP
1806  void dump_to(std::string &out) const override;
1807 #endif
1808 
1809  protected:
1810  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1811  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1812 };
1814  public:
1816  std::string timer_id{};
1817  std::string name{};
1818  uint32_t total_seconds{0};
1819  uint32_t seconds_left{0};
1820  bool is_active{false};
1821  void encode(ProtoWriteBuffer buffer) const override;
1822 #ifdef HAS_PROTO_MESSAGE_DUMP
1823  void dump_to(std::string &out) const override;
1824 #endif
1825 
1826  protected:
1827  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1828  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1829 };
1831  public:
1832  std::string media_id{};
1833  std::string text{};
1834  void encode(ProtoWriteBuffer buffer) const override;
1835 #ifdef HAS_PROTO_MESSAGE_DUMP
1836  void dump_to(std::string &out) const override;
1837 #endif
1838 
1839  protected:
1840  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1841 };
1843  public:
1844  bool success{false};
1845  void encode(ProtoWriteBuffer buffer) const override;
1846 #ifdef HAS_PROTO_MESSAGE_DUMP
1847  void dump_to(std::string &out) const override;
1848 #endif
1849 
1850  protected:
1851  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1852 };
1854  public:
1855  std::string id{};
1856  std::string wake_word{};
1857  std::vector<std::string> trained_languages{};
1858  void encode(ProtoWriteBuffer buffer) const override;
1859 #ifdef HAS_PROTO_MESSAGE_DUMP
1860  void dump_to(std::string &out) const override;
1861 #endif
1862 
1863  protected:
1864  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1865 };
1867  public:
1868  void encode(ProtoWriteBuffer buffer) const override;
1869 #ifdef HAS_PROTO_MESSAGE_DUMP
1870  void dump_to(std::string &out) const override;
1871 #endif
1872 
1873  protected:
1874 };
1876  public:
1877  std::vector<VoiceAssistantWakeWord> available_wake_words{};
1878  std::vector<std::string> active_wake_words{};
1879  uint32_t max_active_wake_words{0};
1880  void encode(ProtoWriteBuffer buffer) const override;
1881 #ifdef HAS_PROTO_MESSAGE_DUMP
1882  void dump_to(std::string &out) const override;
1883 #endif
1884 
1885  protected:
1886  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1887  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1888 };
1890  public:
1891  std::vector<std::string> active_wake_words{};
1892  void encode(ProtoWriteBuffer buffer) const override;
1893 #ifdef HAS_PROTO_MESSAGE_DUMP
1894  void dump_to(std::string &out) const override;
1895 #endif
1896 
1897  protected:
1898  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1899 };
1901  public:
1902  std::string object_id{};
1903  uint32_t key{0};
1904  std::string name{};
1905  std::string unique_id{};
1906  std::string icon{};
1907  bool disabled_by_default{false};
1908  enums::EntityCategory entity_category{};
1909  uint32_t supported_features{0};
1910  bool requires_code{false};
1911  bool requires_code_to_arm{false};
1912  void encode(ProtoWriteBuffer buffer) const override;
1913 #ifdef HAS_PROTO_MESSAGE_DUMP
1914  void dump_to(std::string &out) const override;
1915 #endif
1916 
1917  protected:
1918  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1919  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1920  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1921 };
1923  public:
1924  uint32_t key{0};
1926  void encode(ProtoWriteBuffer buffer) const override;
1927 #ifdef HAS_PROTO_MESSAGE_DUMP
1928  void dump_to(std::string &out) const override;
1929 #endif
1930 
1931  protected:
1932  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1933  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1934 };
1936  public:
1937  uint32_t key{0};
1939  std::string code{};
1940  void encode(ProtoWriteBuffer buffer) const override;
1941 #ifdef HAS_PROTO_MESSAGE_DUMP
1942  void dump_to(std::string &out) const override;
1943 #endif
1944 
1945  protected:
1946  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1947  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1948  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1949 };
1951  public:
1952  std::string object_id{};
1953  uint32_t key{0};
1954  std::string name{};
1955  std::string unique_id{};
1956  std::string icon{};
1957  bool disabled_by_default{false};
1958  enums::EntityCategory entity_category{};
1959  uint32_t min_length{0};
1960  uint32_t max_length{0};
1961  std::string pattern{};
1963  void encode(ProtoWriteBuffer buffer) const override;
1964 #ifdef HAS_PROTO_MESSAGE_DUMP
1965  void dump_to(std::string &out) const override;
1966 #endif
1967 
1968  protected:
1969  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1970  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1971  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1972 };
1974  public:
1975  uint32_t key{0};
1976  std::string state{};
1977  bool missing_state{false};
1978  void encode(ProtoWriteBuffer buffer) const override;
1979 #ifdef HAS_PROTO_MESSAGE_DUMP
1980  void dump_to(std::string &out) const override;
1981 #endif
1982 
1983  protected:
1984  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1985  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1986  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
1987 };
1989  public:
1990  uint32_t key{0};
1991  std::string state{};
1992  void encode(ProtoWriteBuffer buffer) const override;
1993 #ifdef HAS_PROTO_MESSAGE_DUMP
1994  void dump_to(std::string &out) const override;
1995 #endif
1996 
1997  protected:
1998  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1999  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2000 };
2002  public:
2003  std::string object_id{};
2004  uint32_t key{0};
2005  std::string name{};
2006  std::string unique_id{};
2007  std::string icon{};
2008  bool disabled_by_default{false};
2009  enums::EntityCategory entity_category{};
2010  void encode(ProtoWriteBuffer buffer) const override;
2011 #ifdef HAS_PROTO_MESSAGE_DUMP
2012  void dump_to(std::string &out) const override;
2013 #endif
2014 
2015  protected:
2016  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2017  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2018  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2019 };
2021  public:
2022  uint32_t key{0};
2023  bool missing_state{false};
2024  uint32_t year{0};
2025  uint32_t month{0};
2026  uint32_t day{0};
2027  void encode(ProtoWriteBuffer buffer) const override;
2028 #ifdef HAS_PROTO_MESSAGE_DUMP
2029  void dump_to(std::string &out) const override;
2030 #endif
2031 
2032  protected:
2033  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2034  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2035 };
2037  public:
2038  uint32_t key{0};
2039  uint32_t year{0};
2040  uint32_t month{0};
2041  uint32_t day{0};
2042  void encode(ProtoWriteBuffer buffer) const override;
2043 #ifdef HAS_PROTO_MESSAGE_DUMP
2044  void dump_to(std::string &out) const override;
2045 #endif
2046 
2047  protected:
2048  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2049  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2050 };
2052  public:
2053  std::string object_id{};
2054  uint32_t key{0};
2055  std::string name{};
2056  std::string unique_id{};
2057  std::string icon{};
2058  bool disabled_by_default{false};
2059  enums::EntityCategory entity_category{};
2060  void encode(ProtoWriteBuffer buffer) const override;
2061 #ifdef HAS_PROTO_MESSAGE_DUMP
2062  void dump_to(std::string &out) const override;
2063 #endif
2064 
2065  protected:
2066  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2067  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2068  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2069 };
2071  public:
2072  uint32_t key{0};
2073  bool missing_state{false};
2074  uint32_t hour{0};
2075  uint32_t minute{0};
2076  uint32_t second{0};
2077  void encode(ProtoWriteBuffer buffer) const override;
2078 #ifdef HAS_PROTO_MESSAGE_DUMP
2079  void dump_to(std::string &out) const override;
2080 #endif
2081 
2082  protected:
2083  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2084  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2085 };
2087  public:
2088  uint32_t key{0};
2089  uint32_t hour{0};
2090  uint32_t minute{0};
2091  uint32_t second{0};
2092  void encode(ProtoWriteBuffer buffer) const override;
2093 #ifdef HAS_PROTO_MESSAGE_DUMP
2094  void dump_to(std::string &out) const override;
2095 #endif
2096 
2097  protected:
2098  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2099  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2100 };
2102  public:
2103  std::string object_id{};
2104  uint32_t key{0};
2105  std::string name{};
2106  std::string unique_id{};
2107  std::string icon{};
2108  bool disabled_by_default{false};
2109  enums::EntityCategory entity_category{};
2110  std::string device_class{};
2111  std::vector<std::string> event_types{};
2112  void encode(ProtoWriteBuffer buffer) const override;
2113 #ifdef HAS_PROTO_MESSAGE_DUMP
2114  void dump_to(std::string &out) const override;
2115 #endif
2116 
2117  protected:
2118  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2119  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2120  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2121 };
2122 class EventResponse : public ProtoMessage {
2123  public:
2124  uint32_t key{0};
2125  std::string event_type{};
2126  void encode(ProtoWriteBuffer buffer) const override;
2127 #ifdef HAS_PROTO_MESSAGE_DUMP
2128  void dump_to(std::string &out) const override;
2129 #endif
2130 
2131  protected:
2132  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2133  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2134 };
2136  public:
2137  std::string object_id{};
2138  uint32_t key{0};
2139  std::string name{};
2140  std::string unique_id{};
2141  std::string icon{};
2142  bool disabled_by_default{false};
2143  enums::EntityCategory entity_category{};
2144  std::string device_class{};
2145  bool assumed_state{false};
2146  bool supports_position{false};
2147  bool supports_stop{false};
2148  void encode(ProtoWriteBuffer buffer) const override;
2149 #ifdef HAS_PROTO_MESSAGE_DUMP
2150  void dump_to(std::string &out) const override;
2151 #endif
2152 
2153  protected:
2154  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2155  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2156  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2157 };
2159  public:
2160  uint32_t key{0};
2161  float position{0.0f};
2162  enums::ValveOperation current_operation{};
2163  void encode(ProtoWriteBuffer buffer) const override;
2164 #ifdef HAS_PROTO_MESSAGE_DUMP
2165  void dump_to(std::string &out) const override;
2166 #endif
2167 
2168  protected:
2169  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2170  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2171 };
2173  public:
2174  uint32_t key{0};
2175  bool has_position{false};
2176  float position{0.0f};
2177  bool stop{false};
2178  void encode(ProtoWriteBuffer buffer) const override;
2179 #ifdef HAS_PROTO_MESSAGE_DUMP
2180  void dump_to(std::string &out) const override;
2181 #endif
2182 
2183  protected:
2184  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2185  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2186 };
2188  public:
2189  std::string object_id{};
2190  uint32_t key{0};
2191  std::string name{};
2192  std::string unique_id{};
2193  std::string icon{};
2194  bool disabled_by_default{false};
2195  enums::EntityCategory entity_category{};
2196  void encode(ProtoWriteBuffer buffer) const override;
2197 #ifdef HAS_PROTO_MESSAGE_DUMP
2198  void dump_to(std::string &out) const override;
2199 #endif
2200 
2201  protected:
2202  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2203  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2204  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2205 };
2207  public:
2208  uint32_t key{0};
2209  bool missing_state{false};
2210  uint32_t epoch_seconds{0};
2211  void encode(ProtoWriteBuffer buffer) const override;
2212 #ifdef HAS_PROTO_MESSAGE_DUMP
2213  void dump_to(std::string &out) const override;
2214 #endif
2215 
2216  protected:
2217  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2218  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2219 };
2221  public:
2222  uint32_t key{0};
2223  uint32_t epoch_seconds{0};
2224  void encode(ProtoWriteBuffer buffer) const override;
2225 #ifdef HAS_PROTO_MESSAGE_DUMP
2226  void dump_to(std::string &out) const override;
2227 #endif
2228 
2229  protected:
2230  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2231 };
2233  public:
2234  std::string object_id{};
2235  uint32_t key{0};
2236  std::string name{};
2237  std::string unique_id{};
2238  std::string icon{};
2239  bool disabled_by_default{false};
2240  enums::EntityCategory entity_category{};
2241  std::string device_class{};
2242  void encode(ProtoWriteBuffer buffer) const override;
2243 #ifdef HAS_PROTO_MESSAGE_DUMP
2244  void dump_to(std::string &out) const override;
2245 #endif
2246 
2247  protected:
2248  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2249  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2250  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2251 };
2253  public:
2254  uint32_t key{0};
2255  bool missing_state{false};
2256  bool in_progress{false};
2257  bool has_progress{false};
2258  float progress{0.0f};
2259  std::string current_version{};
2260  std::string latest_version{};
2261  std::string title{};
2262  std::string release_summary{};
2263  std::string release_url{};
2264  void encode(ProtoWriteBuffer buffer) const override;
2265 #ifdef HAS_PROTO_MESSAGE_DUMP
2266  void dump_to(std::string &out) const override;
2267 #endif
2268 
2269  protected:
2270  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2271  bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2272  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2273 };
2275  public:
2276  uint32_t key{0};
2278  void encode(ProtoWriteBuffer buffer) const override;
2279 #ifdef HAS_PROTO_MESSAGE_DUMP
2280  void dump_to(std::string &out) const override;
2281 #endif
2282 
2283  protected:
2284  bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2285  bool decode_varint(uint32_t field_id, ProtoVarInt value) override;
2286 };
2287 
2288 } // namespace api
2289 } // 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