-
Notifications
You must be signed in to change notification settings - Fork 99
Add device_id field to capabilites request #556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: verios-google <[email protected]>
Signed-off-by: verios-google <[email protected]>
Signed-off-by: verios-google <[email protected]>
Signed-off-by: verios-google <[email protected]>
…'t beyond 80 characters Signed-off-by: verios-google <[email protected]>
|
@chrispsommers and @jonathan-dilorenzo, any other open concerns for the PR, otherwise can I get approval and merger |
jonathan-dilorenzo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Signed-off-by: verios-google <[email protected]>
|
So, if we think there's anything to discuss here, @antoninbas and @chrispsommers, then we could chat in meeting on Friday. O.w. I'd be comfortable with this getting merged as it looks now (or with whatever additional comments you have)? |
chrispsommers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'm OK with as-is. |
|
@antoninbas any other concerns or can we merge this |
antoninbas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for making the suggested change
I'd recommend making it explicit that 0 is not a valid device_id in a follow-up change. When I looked at the spec the other day, I couldn't find any mention of this, even though we do have a general statement that the zero value for scalar fields is usually not valid.
|
Sounds good, I'll take a stab at it when I get the time. @chrispsommers can you merge this PR |
If you're going to add a sentence about device_id 0 isn't valid, how about do that before we merge? It sounds trivial and will avoid yet another PR. We can merge in the meeting today, one way or the other. |
Pretty self-explanatory. A controller can speak to more than one switch, best to know which switch the request is for.