Skip to content

Commit

Permalink
fix(albertogeniola#510): Remove mfa_lock_expire references
Browse files Browse the repository at this point in the history
* After merros_iot v0.4.7.3 upgrade, regarding albertogeniola#510
  • Loading branch information
xLexip committed Aug 27, 2024
1 parent 80ae663 commit afe10ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions custom_components/meross_cloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry):
key=str_creds.get("key"),
user_id=str_creds.get("user_id"),
user_email=str_creds.get("user_email"),
issued_on=issued_on,
mfa_lock_expire=str_creds.get("mfa_lock_expire", 0)
issued_on=issued_on
)

# Initialize the HASS structure
Expand Down
3 changes: 1 addition & 2 deletions custom_components/meross_cloud/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,7 @@ async def async_step_configure_manager(self, user_input=None) -> Dict[str, Any]:
"key": creds.key,
"user_id": creds.user_id,
"user_email": creds.user_email,
"issued_on": creds.issued_on.isoformat(),
"mfa_lock_expire": creds.mfa_lock_expire,
"issued_on": creds.issued_on.isoformat()
},
CONF_MQTT_SKIP_CERT_VALIDATION: skip_cert_validation
}
Expand Down

0 comments on commit afe10ef

Please sign in to comment.