Skip to content

Fix: indicator entity dropdown now filters by selected Z-Wave device

Choose a tag to compare

@github-actions github-actions released this 12 Apr 16:15
· 17 commits to main since this release

What's Changed

Bug Fix — Config flow two-step device → indicator selection

Previously, async_step_user tried to show both the Z-Wave device picker and the indicator entity dropdown in the same form. The indicator list was built from the first device in the registry rather than the device the user actually selected, so it never populated correctly.

The config flow is now split into two dedicated steps:

  1. Device step (async_step_user) — shows only the Z-Wave device picker and the keypad name field.
  2. Indicator step (async_step_indicator) — called after the device is confirmed. Builds the indicator entity dropdown by querying only the entities that belong to the selected device, so the list is always accurate.

The same fix is applied to the Options Flow (reconfiguration), which gains matching async_step_device and async_step_indicator steps. The indicator step pre-selects the currently configured entity when it still exists on the chosen device.

A new no_indicator_entities abort reason is shown if the selected device exposes no sensor or number entities.

Full Changelog: v1.0.0...v1.0.1