Require the IRK in the Private BLE Device config flow (#181969)

This commit is contained in:
Franck Nijhof
2026-09-18 10:16:14 +00:00
parent 220d255960
commit e77bfce148
@@ -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
)