Skip to content

Commit 9545c59

Browse files
authored
Convert HomeassistantActionRequest to use fixed_vector (#1395)
1 parent 6d02c46 commit 9545c59

File tree

2 files changed

+293
-287
lines changed

2 files changed

+293
-287
lines changed

aioesphomeapi/api.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -776,9 +776,9 @@ message HomeassistantActionRequest {
776776
option (ifdef) = "USE_API_HOMEASSISTANT_SERVICES";
777777

778778
string service = 1;
779-
repeated HomeassistantServiceMap data = 2;
780-
repeated HomeassistantServiceMap data_template = 3;
781-
repeated HomeassistantServiceMap variables = 4;
779+
repeated HomeassistantServiceMap data = 2 [(fixed_vector) = true];
780+
repeated HomeassistantServiceMap data_template = 3 [(fixed_vector) = true];
781+
repeated HomeassistantServiceMap variables = 4 [(fixed_vector) = true];
782782
bool is_event = 5;
783783
uint32 call_id = 6 [(field_ifdef) = "USE_API_HOMEASSISTANT_ACTION_RESPONSES"];
784784
bool wants_response = 7 [(field_ifdef) = "USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON"];

aioesphomeapi/api_pb2.py

Lines changed: 290 additions & 284 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)