None optional hass typing in FlowHandler (#46462)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
1244fb4152
commit
bc1daf1802
58 changed files with 22 additions and 141 deletions
|
@ -253,7 +253,6 @@ class HomekitControllerFlowHandler(config_entries.ConfigFlow):
|
|||
await self.async_set_unique_id(normalize_hkid(hkid))
|
||||
self._abort_if_unique_id_configured()
|
||||
|
||||
# pylint: disable=no-member # https://github.com/PyCQA/pylint/issues/3167
|
||||
self.context["hkid"] = hkid
|
||||
|
||||
if paired:
|
||||
|
@ -392,7 +391,6 @@ class HomekitControllerFlowHandler(config_entries.ConfigFlow):
|
|||
|
||||
@callback
|
||||
def _async_step_pair_show_form(self, errors=None):
|
||||
# pylint: disable=no-member # https://github.com/PyCQA/pylint/issues/3167
|
||||
placeholders = {"name": self.name}
|
||||
self.context["title_placeholders"] = {"name": self.name}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue