SetComponentPower* were updated to use a field called request_lifetime, which an int in seconds with a valid range of [10 seconds, 15 minutes], and when doing so we considered the option to use an enum like in AddComponentBounds, but it was decided to go with this more flexible approach. Also the response for SetComponentPower* uses a field called valid_until for the returned timestamp, which is more explicit and clear than the current ts field for AddComponentBounds.
Proposed solution
Update AddComponentBounds fields to match the fields in SetComponentPower*.
What's needed?
SetComponentPower*
were updated to use a field calledrequest_lifetime
, which anint
in seconds with a valid range of [10 seconds, 15 minutes], and when doing so we considered the option to use an enum like inAddComponentBounds
, but it was decided to go with this more flexible approach. Also the response forSetComponentPower*
uses a field calledvalid_until
for the returned timestamp, which is more explicit and clear than the currentts
field forAddComponentBounds
.Proposed solution
Update
AddComponentBounds
fields to match the fields inSetComponentPower*
.