mirror of
https://github.com/home-assistant/core.git
synced 2026-09-25 07:51:46 -05:00
Require the IRK in the Private BLE Device config flow (#181969)
This commit is contained in:
@@ -70,7 +70,7 @@ class BLEDeviceTrackerConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
data={CONF_IRK: irk_bytes.hex()},
|
||||
)
|
||||
|
||||
data_schema = vol.Schema({CONF_IRK: str})
|
||||
data_schema = vol.Schema({vol.Required(CONF_IRK): str})
|
||||
return self.async_show_form(
|
||||
step_id="user", data_schema=data_schema, errors=errors
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user