Update to Pyunifi2.0#6490
Conversation
| _LOGGER = logging.getLogger(__name__) | ||
| CONF_PORT = 'port' | ||
| CONF_SITE_ID = 'site_id' | ||
| DEFAULT_VERIFY_SSL = False |
There was a problem hiding this comment.
Set it to True. We have security opt-out and not opt-in
|
Will also need to update .yml configuration documentation prior to moving forward. Will attempt to update wiki tonight. |
|
Curious... I wonder if this may fix my issue of devices not reporting "not home" as soon as it disconnects from the AP. They do report "home" as soon as it connects though. Thoughts? |
|
@thegame3202 Check out the 'consider_home" parameter: https://home-assistant.io/components/device_tracker/. |
* Updated pyUnifi * Missing comma * Security opt-out, not opt-in * Adjust minimal values * Update to pyUnifi 2.0
|
@finish06 I'm curious why you defaulted verify SSL to I'm glad you added this option, but my assumption is the majority of users are running the Unifi controller on their local network with no domain or SSL cert. Since it previously wasn't checked, this ended up a breaking change for many users (See #6589) My opinion is setting to to |
|
@droberts84 My initial decision was to have verify_ssl set to |
|
Oh ok, thanks for the explanation! |
Description:
Update pyUnifi component to use most recent pyUnifi package, i.e. 2.0. The 2.0 pyUnifi package now uses the requests module. Hopefully will help with users have connection issues, however unsure due to inability to reproduce end user errors.
##Documents PR:
home-assistant/home-assistant.io#2222
##Example entry for configuration.yaml (if applicable):
Checklist:
If the code communicates with devices, web services, or third-party tools:
REQUIREMENTSvariable ([example][ex-requir]).toxrun successfully. Your PR cannot be merged unless tests passrequirements_all.txtby runningscript/gen_requirements_all.py..coveragerc.