-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
WiFi Repeater: Wifi roaming and signal strange indicator added #285
WiFi Repeater: Wifi roaming and signal strange indicator added #285
Conversation
miio/wifirepeater.py
Outdated
@@ -86,12 +91,38 @@ def set_wifi_roaming(self, wifi_roaming: bool): | |||
'wifi_explorer': int(wifi_roaming) | |||
}]) | |||
|
|||
def set_configuration(self, ssid: str, password: str, hidden: bool = False, | |||
wifi_roaming: bool = False): | |||
def set_configuration(self, wifi_roaming: bool = False, ssid: str = None, |
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.
Would it make sense to have a separate method for enabling and disabling the roaming? Otherwise this looks good to be merged.
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.
Good idea! I will care about!
f514ffa
to
07ce546
Compare
miio/wifirepeater.py
Outdated
@@ -1,9 +1,14 @@ | |||
import logging | |||
from .device import Device | |||
from typing import Optional |
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.
'typing.Optional' imported but unused
No description provided.