@@ -185,7 +185,7 @@ message DeviceInfoRequest {
185
185
}
186
186
187
187
message SubDeviceInfo {
188
- string id = 1 ;
188
+ uint32 uid = 1 ;
189
189
string name = 2 ;
190
190
string suggested_area = 3 ;
191
191
}
@@ -283,7 +283,7 @@ message ListEntitiesBinarySensorResponse {
283
283
bool disabled_by_default = 7 ;
284
284
string icon = 8 ;
285
285
EntityCategory entity_category = 9 ;
286
- string device_id = 10 ;
286
+ uint32 device_uid = 10 ;
287
287
}
288
288
message BinarySensorStateResponse {
289
289
option (id) = 21 ;
@@ -317,7 +317,7 @@ message ListEntitiesCoverResponse {
317
317
string icon = 10 ;
318
318
EntityCategory entity_category = 11 ;
319
319
bool supports_stop = 12 ;
320
- string device_id = 13 ;
320
+ uint32 device_uid = 13 ;
321
321
}
322
322
323
323
enum LegacyCoverState {
@@ -389,7 +389,7 @@ message ListEntitiesFanResponse {
389
389
string icon = 10 ;
390
390
EntityCategory entity_category = 11 ;
391
391
repeated string supported_preset_modes = 12 ;
392
- string device_id = 13 ;
392
+ uint32 device_uid = 13 ;
393
393
}
394
394
enum FanSpeed {
395
395
FAN_SPEED_LOW = 0 ;
@@ -458,7 +458,7 @@ message ListEntitiesLightResponse {
458
458
bool disabled_by_default = 13 ;
459
459
string icon = 14 ;
460
460
EntityCategory entity_category = 15 ;
461
- string device_id = 16 ;
461
+ uint32 device_uid = 16 ;
462
462
}
463
463
message LightStateResponse {
464
464
option (id) = 24 ;
@@ -548,7 +548,7 @@ message ListEntitiesSensorResponse {
548
548
SensorLastResetType last_reset_type = 11 ;
549
549
bool disabled_by_default = 12 ;
550
550
EntityCategory entity_category = 13 ;
551
- string device_id = 14 ;
551
+ uint32 device_uid = 14 ;
552
552
}
553
553
message SensorStateResponse {
554
554
option (id) = 25 ;
@@ -579,7 +579,7 @@ message ListEntitiesSwitchResponse {
579
579
bool disabled_by_default = 7 ;
580
580
EntityCategory entity_category = 8 ;
581
581
string device_class = 9 ;
582
- string device_id = 10 ;
582
+ uint32 device_uid = 10 ;
583
583
}
584
584
message SwitchStateResponse {
585
585
option (id) = 26 ;
@@ -615,7 +615,7 @@ message ListEntitiesTextSensorResponse {
615
615
bool disabled_by_default = 6 ;
616
616
EntityCategory entity_category = 7 ;
617
617
string device_class = 8 ;
618
- string device_id = 9 ;
618
+ uint32 device_uid = 9 ;
619
619
}
620
620
message TextSensorStateResponse {
621
621
option (id) = 27 ;
@@ -796,7 +796,7 @@ message ListEntitiesCameraResponse {
796
796
bool disabled_by_default = 5 ;
797
797
string icon = 6 ;
798
798
EntityCategory entity_category = 7 ;
799
- string device_id = 8 ;
799
+ uint32 device_uid = 8 ;
800
800
}
801
801
802
802
message CameraImageResponse {
@@ -898,7 +898,7 @@ message ListEntitiesClimateResponse {
898
898
bool supports_target_humidity = 23 ;
899
899
float visual_min_humidity = 24 ;
900
900
float visual_max_humidity = 25 ;
901
- string device_id = 26 ;
901
+ uint32 device_uid = 26 ;
902
902
}
903
903
message ClimateStateResponse {
904
904
option (id) = 47 ;
@@ -980,7 +980,7 @@ message ListEntitiesNumberResponse {
980
980
string unit_of_measurement = 11 ;
981
981
NumberMode mode = 12 ;
982
982
string device_class = 13 ;
983
- string device_id = 14 ;
983
+ uint32 device_uid = 14 ;
984
984
}
985
985
message NumberStateResponse {
986
986
option (id) = 50 ;
@@ -1019,7 +1019,7 @@ message ListEntitiesSelectResponse {
1019
1019
repeated string options = 6 ;
1020
1020
bool disabled_by_default = 7 ;
1021
1021
EntityCategory entity_category = 8 ;
1022
- string device_id = 9 ;
1022
+ uint32 device_uid = 9 ;
1023
1023
}
1024
1024
message SelectStateResponse {
1025
1025
option (id) = 53 ;
@@ -1119,7 +1119,7 @@ message ListEntitiesLockResponse {
1119
1119
bool supports_open = 9 ;
1120
1120
bool requires_code = 10 ;
1121
1121
string code_format = 11 ;
1122
- string device_id = 12 ;
1122
+ uint32 device_uid = 12 ;
1123
1123
}
1124
1124
message LockStateResponse {
1125
1125
option (id) = 59 ;
@@ -1155,7 +1155,7 @@ message ListEntitiesButtonResponse {
1155
1155
bool disabled_by_default = 6 ;
1156
1156
EntityCategory entity_category = 7 ;
1157
1157
string device_class = 8 ;
1158
- string device_id = 9 ;
1158
+ uint32 device_uid = 9 ;
1159
1159
}
1160
1160
message ButtonCommandRequest {
1161
1161
option (id) = 62 ;
@@ -1211,7 +1211,7 @@ message ListEntitiesMediaPlayerResponse {
1211
1211
1212
1212
repeated MediaPlayerSupportedFormat supported_formats = 9 ;
1213
1213
1214
- string device_id = 10 ;
1214
+ uint32 device_uid = 10 ;
1215
1215
}
1216
1216
message MediaPlayerStateResponse {
1217
1217
option (id) = 64 ;
@@ -1740,7 +1740,7 @@ message ListEntitiesAlarmControlPanelResponse {
1740
1740
uint32 supported_features = 8 ;
1741
1741
bool requires_code = 9 ;
1742
1742
bool requires_code_to_arm = 10 ;
1743
- string device_id = 11 ;
1743
+ uint32 device_uid = 11 ;
1744
1744
}
1745
1745
1746
1746
message AlarmControlPanelStateResponse {
@@ -1784,7 +1784,7 @@ message ListEntitiesTextResponse {
1784
1784
uint32 max_length = 9 ;
1785
1785
string pattern = 10 ;
1786
1786
TextMode mode = 11 ;
1787
- string device_id = 12 ;
1787
+ uint32 device_uid = 12 ;
1788
1788
}
1789
1789
message TextStateResponse {
1790
1790
option (id) = 98 ;
@@ -1823,7 +1823,7 @@ message ListEntitiesDateResponse {
1823
1823
string icon = 5 ;
1824
1824
bool disabled_by_default = 6 ;
1825
1825
EntityCategory entity_category = 7 ;
1826
- string device_id = 8 ;
1826
+ uint32 device_uid = 8 ;
1827
1827
}
1828
1828
message DateStateResponse {
1829
1829
option (id) = 101 ;
@@ -1865,7 +1865,7 @@ message ListEntitiesTimeResponse {
1865
1865
string icon = 5 ;
1866
1866
bool disabled_by_default = 6 ;
1867
1867
EntityCategory entity_category = 7 ;
1868
- string device_id = 8 ;
1868
+ uint32 device_uid = 8 ;
1869
1869
}
1870
1870
message TimeStateResponse {
1871
1871
option (id) = 104 ;
@@ -1910,7 +1910,7 @@ message ListEntitiesEventResponse {
1910
1910
string device_class = 8 ;
1911
1911
1912
1912
repeated string event_types = 9 ;
1913
- string device_id = 10 ;
1913
+ uint32 device_uid = 10 ;
1914
1914
}
1915
1915
message EventResponse {
1916
1916
option (id) = 108 ;
@@ -1940,7 +1940,7 @@ message ListEntitiesValveResponse {
1940
1940
bool assumed_state = 9 ;
1941
1941
bool supports_position = 10 ;
1942
1942
bool supports_stop = 11 ;
1943
- string device_id = 12 ;
1943
+ uint32 device_uid = 12 ;
1944
1944
}
1945
1945
1946
1946
enum ValveOperation {
@@ -1985,7 +1985,7 @@ message ListEntitiesDateTimeResponse {
1985
1985
string icon = 5 ;
1986
1986
bool disabled_by_default = 6 ;
1987
1987
EntityCategory entity_category = 7 ;
1988
- string device_id = 8 ;
1988
+ uint32 device_uid = 8 ;
1989
1989
}
1990
1990
message DateTimeStateResponse {
1991
1991
option (id) = 113 ;
@@ -2024,7 +2024,7 @@ message ListEntitiesUpdateResponse {
2024
2024
bool disabled_by_default = 6 ;
2025
2025
EntityCategory entity_category = 7 ;
2026
2026
string device_class = 8 ;
2027
- string device_id = 9 ;
2027
+ uint32 device_uid = 9 ;
2028
2028
}
2029
2029
message UpdateStateResponse {
2030
2030
option (id) = 117 ;
0 commit comments