-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[miio] Fix issue battery channel #4752
Conversation
- Fix error for devices with battery channel - Add chungmi plug m3 - minor edits Signed-off-by: Marcel Verpaalen <[email protected]>
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.
Thanks. Two minor remarks.
@@ -35,6 +35,7 @@ | |||
SHUTTING_DOWN(13, "Shutting Down"), | |||
UPDATING(14, "Updating"), | |||
DOCKING(15, "Docking"), | |||
GOTO(15, "Go To"), |
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.
Do you mean 16? 15 is used twice.
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.
thanks
@@ -15,6 +15,8 @@ | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
|
|||
import org.openhab.binding.miio.internal.MiIoBindingConstants; |
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.
Can you please make this a static import?
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.
thanks for the feedback.
improvement based on review Signed-off-by: Marcel Verpaalen <[email protected]>
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. Thank you.
* Fix issue battery channel - Fix error for devices with battery channel - Add chungmi plug m3 - minor edits Signed-off-by: Marcel Verpaalen <[email protected]> Signed-off-by: Pshatsillo <[email protected]>
* Fix issue battery channel - Fix error for devices with battery channel - Add chungmi plug m3 - minor edits Signed-off-by: Marcel Verpaalen <[email protected]> Signed-off-by: Maximilian Hess <[email protected]>
Signed-off-by: Marcel Verpaalen [email protected]