(Edit: I’m running Home Assistant 2023.4.6.) I can’t get the area selector to limit drop-down list options to areas with certain devices. In this case, I’d like to only see areas with specific Inovelli models available through the zwave_js integration. I believe this code should only offer the two areas in my home with an LZW36, but it shows all 15.
fields:
area:
name: Area
description: Area names or IDs containing Inovelli devices.
required: no
example: "['Family Room']"
selector:
area:
multiple: true
device:
- integration: zwave_js
manufacturer: Inovelli
model: LZW36 #, LZW30-SN, LZW31-SN
For simplicity, I’ve limited it to just - integration: zwave_js
under device, but all 15 areas, including those with no Z-Wave devices, are still shown. If I change the code to filter area entites, only areas with Z-Wave devices are offered, which is exactly what I’d expect.
fields:
area:
name: Area
description: Area names or IDs containing Inovelli devices.
required: no
example: "['Family Room']"
selector:
area:
multiple: true
entity:
- integration: zwave_js
My device selector, which uses a ‘filter’ option that doesn’t seem to be available in the areas selector, does limit my options to only devices with these three models. I think my values for integration and manufacturer are fine, but the area selector’s device filter doesn’t seem to be working. What am I missing here?
device:
name: Device
description: Device IDs for Inovelli LZW36, LZW30-SN, LZW31-SN device IDs. Mix and match types as you like
required: no
example: "['0249abdc634c12cbf6cdc06d7a507495']"
selector:
device:
multiple: true
filter:
- integration: zwave_js
manufacturer: Inovelli
model: LZW36
- integration: zwave_js
manufacturer: Inovelli
model: LZW30-SN
- integration: zwave_js
manufacturer: Inovelli
model: LZW31-SN