fix proto
This commit is contained in:
parent
70fdc32ec0
commit
7d1270b4e9
|
@ -973,8 +973,7 @@ message ListEntitiesDatetimeResponse {
|
|||
string icon = 5;
|
||||
bool disabled_by_default = 6;
|
||||
EntityCategory entity_category = 7;
|
||||
string unit_of_measurement = 8;
|
||||
DatetimeMode mode = 9;
|
||||
DatetimeMode mode = 8;
|
||||
}
|
||||
message DatetimeStateResponse {
|
||||
option (id) = 101;
|
||||
|
@ -983,7 +982,7 @@ message DatetimeStateResponse {
|
|||
option (no_delay) = true;
|
||||
|
||||
fixed32 key = 1;
|
||||
float state = 2;
|
||||
string state = 2;
|
||||
// If the dattime does not have a valid state yet.
|
||||
// Equivalent to `!obj->has_state()` - inverse logic to make state packets smaller
|
||||
bool missing_state = 3;
|
||||
|
@ -995,10 +994,9 @@ message DatetimeCommandRequest {
|
|||
option (no_delay) = true;
|
||||
|
||||
fixed32 key = 1;
|
||||
float state = 2;
|
||||
string state = 2;
|
||||
}
|
||||
|
||||
|
||||
// ==================== SELECT ====================
|
||||
message ListEntitiesSelectResponse {
|
||||
option (id) = 52;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue