Skip to content

Incorrect grouping #268

@darthsebulba04

Description

@darthsebulba04

Describe the bug
It looks like not all values are unit grouped correctly. Have a case where a Fahrenheit sensor is on the humidity axis.

https://community.home-assistant.io/t/plotly-interactive-graph-card/347746/313?u=darthsebulba04

Screenshots

yaml

- type: custom:plotly-graph
            entities:
              - entity: input_number.weather_forecast_low
                legendgroup: 1
                connectgaps: true
                name: Low
                line:
                  width: 3
                  color: rgba(59,117,175,1)
              - entity: input_number.weather_forecast_high
                legendgroup: 2
                connectgaps: true
                name: High
                line:
                  width: 3
                  color: rgba(239,134,54,1)
              - entity: sensor.relative_humidity
                legendgroup: 3
                connectedgaps: true
                name: Humidity
                fill: tozeroy
              - entity: sensor.temperature
                legendgroup: 4
                connectgaps: true
                name: Temperature
                line:
                  width: 3
            hours_to_show: 24
            refresh_interval: 3600
            layout:
              paper_bgcolor: transparent
              plot_bgcolor: transparent
            config:
              staticPlot: true
            defaults:
              entity:
                show_value: true
                line:
                  shape: spline

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