mirror of
https://github.com/esphome/esphome.git
synced 2025-09-12 00:02:21 +01:00
reduce more
This commit is contained in:
@@ -290,6 +290,7 @@ message ListEntitiesBinarySensorResponse {
|
|||||||
string object_id = 1;
|
string object_id = 1;
|
||||||
fixed32 key = 2;
|
fixed32 key = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
reserved 4; // Deprecated: was string unique_id
|
||||||
|
|
||||||
string device_class = 5;
|
string device_class = 5;
|
||||||
bool is_status_binary_sensor = 6;
|
bool is_status_binary_sensor = 6;
|
||||||
@@ -323,6 +324,7 @@ message ListEntitiesCoverResponse {
|
|||||||
string object_id = 1;
|
string object_id = 1;
|
||||||
fixed32 key = 2;
|
fixed32 key = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
reserved 4; // Deprecated: was string unique_id
|
||||||
|
|
||||||
bool assumed_state = 5;
|
bool assumed_state = 5;
|
||||||
bool supports_position = 6;
|
bool supports_position = 6;
|
||||||
@@ -397,6 +399,7 @@ message ListEntitiesFanResponse {
|
|||||||
string object_id = 1;
|
string object_id = 1;
|
||||||
fixed32 key = 2;
|
fixed32 key = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
reserved 4; // Deprecated: was string unique_id
|
||||||
|
|
||||||
bool supports_oscillation = 5;
|
bool supports_oscillation = 5;
|
||||||
bool supports_speed = 6;
|
bool supports_speed = 6;
|
||||||
@@ -477,6 +480,7 @@ message ListEntitiesLightResponse {
|
|||||||
string object_id = 1;
|
string object_id = 1;
|
||||||
fixed32 key = 2;
|
fixed32 key = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
reserved 4; // Deprecated: was string unique_id
|
||||||
|
|
||||||
repeated ColorMode supported_color_modes = 12;
|
repeated ColorMode supported_color_modes = 12;
|
||||||
// next four supports_* are for legacy clients, newer clients should use color modes
|
// next four supports_* are for legacy clients, newer clients should use color modes
|
||||||
@@ -572,6 +576,7 @@ message ListEntitiesSensorResponse {
|
|||||||
string object_id = 1;
|
string object_id = 1;
|
||||||
fixed32 key = 2;
|
fixed32 key = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
reserved 4; // Deprecated: was string unique_id
|
||||||
|
|
||||||
string icon = 5;
|
string icon = 5;
|
||||||
string unit_of_measurement = 6;
|
string unit_of_measurement = 6;
|
||||||
@@ -610,6 +615,7 @@ message ListEntitiesSwitchResponse {
|
|||||||
string object_id = 1;
|
string object_id = 1;
|
||||||
fixed32 key = 2;
|
fixed32 key = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
reserved 4; // Deprecated: was string unique_id
|
||||||
|
|
||||||
string icon = 5;
|
string icon = 5;
|
||||||
bool assumed_state = 6;
|
bool assumed_state = 6;
|
||||||
@@ -649,6 +655,7 @@ message ListEntitiesTextSensorResponse {
|
|||||||
string object_id = 1;
|
string object_id = 1;
|
||||||
fixed32 key = 2;
|
fixed32 key = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
reserved 4; // Deprecated: was string unique_id
|
||||||
|
|
||||||
string icon = 5;
|
string icon = 5;
|
||||||
bool disabled_by_default = 6;
|
bool disabled_by_default = 6;
|
||||||
@@ -834,6 +841,7 @@ message ListEntitiesCameraResponse {
|
|||||||
string object_id = 1;
|
string object_id = 1;
|
||||||
fixed32 key = 2;
|
fixed32 key = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
reserved 4; // Deprecated: was string unique_id
|
||||||
bool disabled_by_default = 5;
|
bool disabled_by_default = 5;
|
||||||
string icon = 6;
|
string icon = 6;
|
||||||
EntityCategory entity_category = 7;
|
EntityCategory entity_category = 7;
|
||||||
@@ -915,6 +923,7 @@ message ListEntitiesClimateResponse {
|
|||||||
string object_id = 1;
|
string object_id = 1;
|
||||||
fixed32 key = 2;
|
fixed32 key = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
reserved 4; // Deprecated: was string unique_id
|
||||||
|
|
||||||
bool supports_current_temperature = 5;
|
bool supports_current_temperature = 5;
|
||||||
bool supports_two_point_target_temperature = 6;
|
bool supports_two_point_target_temperature = 6;
|
||||||
@@ -1013,6 +1022,7 @@ message ListEntitiesNumberResponse {
|
|||||||
string object_id = 1;
|
string object_id = 1;
|
||||||
fixed32 key = 2;
|
fixed32 key = 2;
|
||||||
string name = 3;
|
string name = 3;
|
||||||
|
reserved 4; // Deprecated: was string unique_id
|
||||||
|
|
||||||
string icon = 5;
|
string icon = 5;
|
||||||
float min_value = 6;
|
float min_value = 6;
|
||||||
|
Reference in New Issue
Block a user