From 0badcba8e8dacaac4cf339454ec01b99d0f99bff Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Wed, 26 Feb 2025 05:36:34 -0800 Subject: [PATCH] Allow entity-filter-card to filter on other entity (#37701) * Update entity-filter.markdown * Update entity-filter.markdown whitespace --- source/_dashboards/entity-filter.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_dashboards/entity-filter.markdown b/source/_dashboards/entity-filter.markdown index cbee335116c..d63460e9326 100644 --- a/source/_dashboards/entity-filter.markdown +++ b/source/_dashboards/entity-filter.markdown @@ -145,6 +145,10 @@ state_not: required: false description: Entity state or ID to not be equal to this value. Can contain an array of states.* type: [list, string] +entity: + required: false + description: An optional entity ID to be used for testing the state condition. If not provided, the state of the entity being displayed is tested. + type: string {% endconfiguration %} *one is required (`state` or `state_not`) @@ -178,6 +182,10 @@ below: required: false description: Entity state or ID to be below this value.* type: string +entity: + required: false + description: An optional entity ID to be used for testing the numeric state condition. If not provided, the numeric state of the entity being displayed is tested. + type: string {% endconfiguration %} *at least one is required (`above` or `below`), both are also possible for values between.