Skip to content

Commit

Permalink
* Dsiconnected msg from "Warning" to "INFO" (#59)
Browse files Browse the repository at this point in the history
* Fix: translations `username`
  • Loading branch information
xZetsubou authored Nov 7, 2023
1 parent 1a7a078 commit 7111d73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/localtuya/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def disconnected(self):

# If it's disconnect by unexpected error.
if self._is_closing is not True and not self.is_subdevice:
self.warning(f"Disconnected - waiting for discovery broadcast")
self.info(f"Disconnected - waiting for discovery broadcast")
# Try to quickly reconnect.
self._is_closing = False
async_call_later(self._hass, 2, self.async_connect)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/localtuya/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"client_id": "Client ID",
"client_secret": "Client Secret",
"user_id": "User ID",
"user_name": "Username",
"username": "Username",
"no_cloud": "Disable Cloud API?"
}
}
Expand Down

0 comments on commit 7111d73

Please sign in to comment.