mirror of
https://github.com/esphome/esphome.git
synced 2025-09-15 17:52:19 +01:00
Add support for doing update entity refresh/check via API. (#7190)
This commit is contained in:
@@ -1872,6 +1872,11 @@ message UpdateStateResponse {
|
||||
string release_summary = 9;
|
||||
string release_url = 10;
|
||||
}
|
||||
enum UpdateCommand {
|
||||
UPDATE_COMMAND_NONE = 0;
|
||||
UPDATE_COMMAND_UPDATE = 1;
|
||||
UPDATE_COMMAND_CHECK = 2;
|
||||
}
|
||||
message UpdateCommandRequest {
|
||||
option (id) = 118;
|
||||
option (source) = SOURCE_CLIENT;
|
||||
@@ -1879,5 +1884,5 @@ message UpdateCommandRequest {
|
||||
option (no_delay) = true;
|
||||
|
||||
fixed32 key = 1;
|
||||
bool install = 2;
|
||||
UpdateCommand command = 2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user