Skip to content

Commit

Permalink
Updates after latest 3.4.0 APK release
Browse files Browse the repository at this point in the history
  • Loading branch information
KaSroka committed Jul 18, 2022
1 parent b54d1a9 commit 3ac5a15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions toshiba_ac/device/fcu_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def from_raw(raw: int) -> ToshibaAcMeritB:
return {
0x02: ToshibaAcMeritB.FIREPLACE_1,
0x03: ToshibaAcMeritB.FIREPLACE_2,
0x01: ToshibaAcMeritB.OFF, # New value reported after update, nothing found in 3.4.0 APK version
0x00: ToshibaAcMeritB.OFF,
ToshibaAcFcuState.NONE_VAL: ToshibaAcMeritB.NONE,
ToshibaAcFcuState.NONE_VAL_HALF: ToshibaAcMeritB.NONE,
Expand Down
2 changes: 1 addition & 1 deletion toshiba_ac/utils/http_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class ToshibaAcHttpApiAuthError(ToshibaAcHttpApiError):


class ToshibaAcHttpApi:
BASE_URL = "https://toshibamobileservice.azurewebsites.net"
BASE_URL = "https://mobileapi.toshibahomeaccontrols.com"
LOGIN_PATH = "/api/Consumer/Login"
REGISTER_PATH = "/api/Consumer/RegisterMobileDevice"
AC_MAPPING_PATH = "/api/AC/GetConsumerACMapping"
Expand Down

0 comments on commit 3ac5a15

Please sign in to comment.