Skip to content

Commit

Permalink
Set verbose logging level for glocaltokens (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
leikoilja authored Mar 25, 2021
1 parent 16a7360 commit ad6618e
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 33 deletions.
6 changes: 5 additions & 1 deletion custom_components/google_home/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ def __init__(
self._password = password
self._session = session
self._android_id = android_id
verbose = _LOGGER.level == logging.DEBUG
self._client = GLocalAuthenticationTokens(
username=username, password=password, android_id=android_id
username=username,
password=password,
android_id=android_id,
verbose=verbose,
)
self.google_devices: List[GoogleHomeDevice] = []
self.zeroconf_instance = zeroconf_instance
Expand Down
4 changes: 2 additions & 2 deletions custom_components/google_home/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"domain": "google_home",
"issue_tracker": "https://github.com/leikoilja/ha-google-home/issues",
"name": "Google Home",
"requirements": ["glocaltokens==0.2.4"],
"version": "1.0.0",
"requirements": ["glocaltokens==0.2.6"],
"version": "1.0.1",
"zeroconf": ["_googlecast._tcp.local."]
}
67 changes: 38 additions & 29 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
zeroconf = "^0.28.8"
glocaltokens = "^0.2.4"
homeassistant = "^2021.3.2"
glocaltokens = "0.2.6"

[tool.poetry.dev-dependencies]
black = "^20.8b1"
Expand Down

0 comments on commit ad6618e

Please sign in to comment.