mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Add model_id filter to device selector (#135646)
* Add model_id filter to device selector * Rerun CI
This commit is contained in:
@@ -164,6 +164,8 @@ DEVICE_FILTER_SELECTOR_CONFIG_SCHEMA = vol.Schema(
|
||||
vol.Optional("manufacturer"): str,
|
||||
# Model of device
|
||||
vol.Optional("model"): str,
|
||||
# Model ID of device
|
||||
vol.Optional("model_id"): str,
|
||||
# Device has to contain entities matching this selector
|
||||
vol.Optional("entity"): vol.All(
|
||||
cv.ensure_list, [ENTITY_FILTER_SELECTOR_CONFIG_SCHEMA]
|
||||
@@ -178,6 +180,7 @@ class DeviceFilterSelectorConfig(TypedDict, total=False):
|
||||
integration: str
|
||||
manufacturer: str
|
||||
model: str
|
||||
model_id: str
|
||||
|
||||
|
||||
class ActionSelectorConfig(TypedDict):
|
||||
|
||||
Reference in New Issue
Block a user