Skip to content

Commit

Permalink
Set 0 as default token expire time
Browse files Browse the repository at this point in the history
  • Loading branch information
xZetsubou committed Oct 28, 2023
1 parent d749f3d commit eb5b9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/localtuya/cloud_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, hass, region_code, client_id, secret, user_id):
self._secret = secret
self._user_id = user_id
self._access_token = ""
self._token_expire_time: int = -1
self._token_expire_time: int = 0

self.device_list = {}

Expand Down

0 comments on commit eb5b9f6

Please sign in to comment.