generated from custom-cards/boilerplate-card
-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
You could put all reused filters in an array once at the root, the extra ones inside the entity and then load them via filters: $ex [...get('reused_filters'), ...get('.extra_filters')]
(note the dot on extra_filters, which makes it relative to that part of the yaml)
This does not seem to work. In fact, even using
type: custom:plotly-graph
entities:
- entity: "sun.sun"
filters: '$ex [ { "map_y": "0" } ]'
hours_to_show: 24
refresh_interval: 10
does not seem to work. The filters
member seems correctly computed and passed to plotly itself (as any member of data
would be), but it looks like it does not influence plotly-graph-card
, in that the filters themselves are not evaluated.
Metadata
Metadata
Assignees
Labels
No labels