Skip to content

Commit

Permalink
Merge pull request #7 from CyBear-Jinni/grpc_changes_hub
Browse files Browse the repository at this point in the history
Add Xiaomi Miio to the VendorsAndServices in proto file
  • Loading branch information
guyluz11 authored Sep 13, 2021
2 parents 93cfd9c + 9934097 commit 19aad58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class VendorsAndServices extends $pb.ProtobufEnum {
static const VendorsAndServices tasmota = VendorsAndServices._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'tasmota');
static const VendorsAndServices yeelight = VendorsAndServices._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'yeelight');
static const VendorsAndServices google = VendorsAndServices._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'google');
static const VendorsAndServices xiaomiMiio = VendorsAndServices._(6, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'xiaomiMiio');

static const $core.List<VendorsAndServices> values = <VendorsAndServices> [
vendorsAndServicesNotSupported,
Expand All @@ -24,6 +25,7 @@ class VendorsAndServices extends $pb.ProtobufEnum {
tasmota,
yeelight,
google,
xiaomiMiio,
];

static final $core.Map<$core.int, VendorsAndServices> _byValue = $pb.ProtobufEnum.initByValue(values);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ const VendorsAndServices$json = const {
const {'1': 'tasmota', '2': 3},
const {'1': 'yeelight', '2': 4},
const {'1': 'google', '2': 5},
const {'1': 'xiaomiMiio', '2': 6},
],
};

/// Descriptor for `VendorsAndServices`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List vendorsAndServicesDescriptor = $convert.base64Decode('ChJWZW5kb3JzQW5kU2VydmljZXMSIgoedmVuZG9yc0FuZFNlcnZpY2VzTm90U3VwcG9ydGVkEAASCwoHZXNwSG9tZRABEgwKCHN3aXRjaGVyEAISCwoHdGFzbW90YRADEgwKCHllZWxpZ2h0EAQSCgoGZ29vZ2xlEAU=');
final $typed_data.Uint8List vendorsAndServicesDescriptor = $convert.base64Decode('ChJWZW5kb3JzQW5kU2VydmljZXMSIgoedmVuZG9yc0FuZFNlcnZpY2VzTm90U3VwcG9ydGVkEAASCwoHZXNwSG9tZRABEgwKCHN3aXRjaGVyEAISCwoHdGFzbW90YRADEgwKCHllZWxpZ2h0EAQSCgoGZ29vZ2xlEAUSDgoKeGlhb21pTWlpbxAG');
@$core.Deprecated('Use deviceTypesDescriptor instead')
const DeviceTypes$json = const {
'1': 'DeviceTypes',
Expand Down

0 comments on commit 19aad58

Please sign in to comment.