Skip to content

Display boolean values the right way #553

Open
@pparvin

Description

@pparvin

Whenever the value of my boolean sensor changes from false to true the graph also changes the y-axis. So false is up and true is down.

Image

type: custom:plotly-graph
entities:

  • entity: sensor.vorlauf
    line:
    color: red
  • entity: sensor.rucklauf
    line:
    color: green
  • entity: sensor.heat_demand
    name: Bedarf
    fill: tozeroy
    line:
    color: lightblue
    hours_to_show: 24
    layout:
    xaxis:
    rangeselector:
    "y": 1.2
    buttons:
    - count: 1
    step: minute
    - count: 1
    step: hour
    - count: 12
    step: hour
    - count: 1
    step: day
    - count: 7
    step: day
    refresh_interval: 10
    title: Heizung

Do I need some more code in the yaml to manage this?

Regards
Patrik

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions