Skip to content

Conversation

@dbuezas
Copy link
Owner

@dbuezas dbuezas commented Nov 1, 2022

Example:

type: custom:plotly-graph
entities:
  - entity: sensor.temperature
    statistic: mean
    period:
      0: 5minute
      24h: hour # when the visible range is ≥ 1 day, use the `hour` period
      7d: day # from 7 days on, use `day`
      # 6M: week # not yet supported in HA
      1y: month # from 1 year on, use `month

@dbuezas dbuezas merged commit eb43bc8 into master Nov 1, 2022
@dbuezas dbuezas deleted the feat/step-function-auto-period branch November 1, 2022 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants