From 01ac59ce2afc1f694aaa858a1c2b5868c53f2806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Vikstr=C3=B6m?= Date: Wed, 9 Apr 2025 01:15:48 +0200 Subject: [PATCH] Store proto with all additions but commented out --- esphome/components/api/api.proto | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/esphome/components/api/api.proto b/esphome/components/api/api.proto index 10f5aace5e..9087ff18e2 100644 --- a/esphome/components/api/api.proto +++ b/esphome/components/api/api.proto @@ -387,6 +387,7 @@ message ListEntitiesFanResponse { string icon = 10; EntityCategory entity_category = 11; repeated string supported_preset_modes = 12; + // string device_id = 13; } enum FanSpeed { FAN_SPEED_LOW = 0; @@ -467,6 +468,7 @@ message ListEntitiesLightResponse { bool disabled_by_default = 13; string icon = 14; EntityCategory entity_category = 15; + // string device_id = 16; } message LightStateResponse { option (id) = 24; @@ -557,6 +559,7 @@ message ListEntitiesSensorResponse { SensorLastResetType legacy_last_reset_type = 11; bool disabled_by_default = 12; EntityCategory entity_category = 13; + // string device_id = 14; } message SensorStateResponse { option (id) = 25; @@ -587,6 +590,7 @@ message ListEntitiesSwitchResponse { bool disabled_by_default = 7; EntityCategory entity_category = 8; string device_class = 9; + // string device_id = 10; } message SwitchStateResponse { option (id) = 26; @@ -622,6 +626,7 @@ message ListEntitiesTextSensorResponse { bool disabled_by_default = 6; EntityCategory entity_category = 7; string device_class = 8; + // string device_id = 9; } message TextSensorStateResponse { option (id) = 27; @@ -785,6 +790,7 @@ message ListEntitiesCameraResponse { bool disabled_by_default = 5; string icon = 6; EntityCategory entity_category = 7; + // string device_id = 8; } message CameraImageResponse { @@ -886,6 +892,7 @@ message ListEntitiesClimateResponse { bool supports_target_humidity = 23; float visual_min_humidity = 24; float visual_max_humidity = 25; + // string device_id = 26; } message ClimateStateResponse { option (id) = 47; @@ -965,6 +972,7 @@ message ListEntitiesNumberResponse { string unit_of_measurement = 11; NumberMode mode = 12; string device_class = 13; + // string device_id = 14; } message NumberStateResponse { option (id) = 50; @@ -1003,6 +1011,7 @@ message ListEntitiesSelectResponse { repeated string options = 6; bool disabled_by_default = 7; EntityCategory entity_category = 8; + // string device_id = 9; } message SelectStateResponse { option (id) = 53; @@ -1061,6 +1070,7 @@ message ListEntitiesLockResponse { // Not yet implemented: string code_format = 11; + // string device_id = 12; } message LockStateResponse { option (id) = 59; @@ -1098,6 +1108,7 @@ message ListEntitiesButtonResponse { bool disabled_by_default = 6; EntityCategory entity_category = 7; string device_class = 8; + // string device_id = 9; } message ButtonCommandRequest { option (id) = 62; @@ -1152,6 +1163,8 @@ message ListEntitiesMediaPlayerResponse { bool supports_pause = 8; repeated MediaPlayerSupportedFormat supported_formats = 9; + + // string device_id = 10; } message MediaPlayerStateResponse { option (id) = 64; @@ -1658,6 +1671,7 @@ message ListEntitiesAlarmControlPanelResponse { uint32 supported_features = 8; bool requires_code = 9; bool requires_code_to_arm = 10; + // string device_id = 11; } message AlarmControlPanelStateResponse { @@ -1701,6 +1715,7 @@ message ListEntitiesTextResponse { uint32 max_length = 9; string pattern = 10; TextMode mode = 11; + // string device_id = 12; } message TextStateResponse { option (id) = 98; @@ -1739,6 +1754,7 @@ message ListEntitiesDateResponse { string icon = 5; bool disabled_by_default = 6; EntityCategory entity_category = 7; + // string device_id = 8; } message DateStateResponse { option (id) = 101; @@ -1780,6 +1796,7 @@ message ListEntitiesTimeResponse { string icon = 5; bool disabled_by_default = 6; EntityCategory entity_category = 7; + // string device_id = 8; } message TimeStateResponse { option (id) = 104; @@ -1824,6 +1841,7 @@ message ListEntitiesEventResponse { string device_class = 8; repeated string event_types = 9; + // string device_id = 10; } message EventResponse { option (id) = 108; @@ -1853,6 +1871,7 @@ message ListEntitiesValveResponse { bool assumed_state = 9; bool supports_position = 10; bool supports_stop = 11; + // string device_id = 12; } enum ValveOperation { @@ -1897,6 +1916,7 @@ message ListEntitiesDateTimeResponse { string icon = 5; bool disabled_by_default = 6; EntityCategory entity_category = 7; + // string device_id = 8; } message DateTimeStateResponse { option (id) = 113; @@ -1935,6 +1955,7 @@ message ListEntitiesUpdateResponse { bool disabled_by_default = 6; EntityCategory entity_category = 7; string device_class = 8; + // string device_id = 9; } message UpdateStateResponse { option (id) = 117;