diff --git a/custom_components/xiaomi_home/config_flow.py b/custom_components/xiaomi_home/config_flow.py index 5b78c27b..7c1f7e6e 100644 --- a/custom_components/xiaomi_home/config_flow.py +++ b/custom_components/xiaomi_home/config_flow.py @@ -473,6 +473,7 @@ async def async_step_oauth( await self._miot_oauth.deinit_async() self._miot_oauth = None return self.async_show_progress_done(next_step_id='homes_select') + # pylint: disable=unexpected-keyword-arg return self.async_show_progress( step_id='oauth', progress_action='oauth', @@ -481,7 +482,7 @@ async def async_step_oauth( f'', 'link_right': '' }, - progress_task=self._cc_task_oauth, + progress_task=self._cc_task_oauth, # type: ignore ) async def __check_oauth_async(self) -> None: @@ -1196,7 +1197,7 @@ async def async_step_oauth(self, user_input=None): err, traceback.format_exc()) self._cc_config_rc = str(err) return self.async_show_progress_done(next_step_id='oauth_error') - + # pylint: disable=unexpected-keyword-arg return self.async_show_progress( step_id='oauth', progress_action='oauth', @@ -1205,7 +1206,7 @@ async def async_step_oauth(self, user_input=None): f'', 'link_right': '' }, - progress_task=self._cc_task_oauth, + progress_task=self._cc_task_oauth, # type: ignore ) async def __check_oauth_async(self) -> None: