Skip to content

Commit 3bbdd2b

Browse files
Add developer blog about removing device filter from target selector (#2827)
Co-authored-by: Martin Hjelmare <[email protected]>
1 parent f0603e7 commit 3bbdd2b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
author: Erik Montnemery
3+
authorURL: https://github.com/emontnemery
4+
title: "Device filter has been removed from target selector"
5+
---
6+
7+
The device filter option is no longer supported by the target selector and has been removed from the [target selector documentation](https://www.home-assistant.io/docs/blueprint/selectors/#target-selector).
8+
9+
Hassfest has been updated to [fail on services with device filter on targets](https://github.com/home-assistant/core/pull/152794).
10+
11+
Validation of target selectors that specify a device filter will fail in Home Assistant Core 2026.11.
12+
13+
### Background
14+
15+
Core helpers that extract entities from targets did not support the device filter. When the user picked a floor, area, label, or category, the filter was ignored. The frontend also ignored the device filter when selecting entities for a target.
16+
17+
A review of all core integrations found no correct use of a device filter on target selectors. We removed the device filter from the target selector rather than implement support for it in Core and the frontend.
18+
19+
### Impact on custom integrations and blueprints
20+
21+
Update custom integrations and blueprints to remove device filters from target selectors.
22+
23+
If you have a valid use case for device filters on target selectors, reach out on Discord.

0 commit comments

Comments
 (0)