lovelace-plotly-graph-card icon indicating copy to clipboard operation
lovelace-plotly-graph-card copied to clipboard

Add a "year" grouping option in period

Open FillR2 opened this issue 1 year ago • 0 comments
trafficstars

Describe the solution you'd like

Ability to do period grouping by year, today, limited to month as seen below:

Error: at [entities.1.on_click]: Error parsing automatic period config: "year" not expected. **Must be 5minute,hour,day,week,month**

How would it be defined in yaml?

type: custom:plotly-graph

    period:
      0m: 5minute
      25h: hour
      1M: day
      3M: week
      12M: year

FillR2 avatar Dec 06 '23 10:12 FillR2