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

This commit is contained in:
Franck Nijhof
2026-09-13 14:40:24 +02:00
committed by GitHub
parent 5b42aaed9c
commit ee14c3b56e
@@ -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
)