File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def read_cached_token() -> str:
9696}
9797
9898
99- AUTH_URL = 'https://oauth.blue. fermax.com /oauth/token'
99+ AUTH_URL = 'https://oauth-pro-duoxme. fermax.io /oauth/token'
100100
101101AUTH_HEADERS = {
102102 'Authorization' : 'Basic ZHB2N2lxejZlZTVtYXptMWlxOWR3MWQ0MnNseXV0NDhrajBtcDVmdm81OGo1aWg6Yzd5bGtxcHVqd2FoODV5aG5wcnYwd2R2eXp1dGxjbmt3NHN6OTBidWxkYnVsazE=' ,
@@ -134,7 +134,7 @@ def get_json_headers(bearer_token: str) -> str:
134134 return headers
135135
136136
137- PAIRINGS_URL = 'https://blue .fermax.com /pairing/api/v3/pairings/me'
137+ PAIRINGS_URL = 'https://pro-duoxme .fermax.io /pairing/api/v3/pairings/me'
138138
139139
140140def pairings (bearer_token : str ) -> tuple :
@@ -160,7 +160,7 @@ def pairings(bearer_token: str) -> tuple:
160160
161161
162162def directed_opendoor (bearer_token : str , deviceId : str , accessId : str ) -> str :
163- directed_opendoor_url = f'https://blue .fermax.com /deviceaction/api/v1/device/{ deviceId } /directed-opendoor'
163+ directed_opendoor_url = f'https://pro-duoxme .fermax.io /deviceaction/api/v1/device/{ deviceId } /directed-opendoor'
164164
165165 payload = json .dumps (accessId )
166166
You can’t perform that action at this time.
0 commit comments