Skip to content

Commit

Permalink
Minor bug in logging messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
juacas committed Feb 12, 2023
1 parent 8aa3cc6 commit 8ea4fb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/zte_tracker/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _get_data(self)->list:
elif not self.router_client.login():
self.statusmsg = self.router_client.statusmsg
self.scanning = False
_LOGGER.warning("Login failed: {0}@{2}".format(self.router_client.username, self.router_client.host))
_LOGGER.warning("Login failed: {0}@{1}".format(self.router_client.username, self.router_client.host))
self.router_client.logout()
return []
# Get the devices from the router.
Expand Down
2 changes: 1 addition & 1 deletion custom_components/zte_tracker/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"documentation": "https://raw.githubusercontent.com/juacas/zte_tracker/master/README.md",
"codeowners": ["@juacas"],
"issue_tracker": "https://github.com/juacas/zte_tracker/issues",
"version": "v1.3.0",
"version": "v1.3.1",
"requirements": [],
"iot_class": "local_polling"
}

0 comments on commit 8ea4fb5

Please sign in to comment.