Skip to content

CPU Graph like Task manager #511

Closed Answered by DeFlanko
DeFlanko asked this question in Q&A
Discussion options

You must be logged in to vote

For those who are looking for this same solution.

type: vertical-stack
cards:
  - type: horizontal-stack
    cards:
      - type: custom:plotly-graph
        entities:
          - entity: sensor.load_cpu_0
            name: CPU Load
            color: |
              {% if states('sensor.load_cpu_0') | float <= 74 %}
                'lime'
              {% elif states('sensor.load_cpu_0') | float <= 85 %}
                'orange'
              {% else %}
                'red'
              {% endif %}
            fill: tozeroy
        graph: line
        smooth: true
        show_legend: false
        show_ticks: false
        style: |
          .chart {
            background-color: rgba…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DeFlanko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants