Skip to content

Multi Axis Data Relating to the incorrect ID #1014

@James712346

Description

@James712346

Checklist

  • [o] I updated the card to the latest version available
  • [o] I cleared the cache of my browser
  • [o] I verified that I'm really running the lastest version in my browser console
  • [o] I checked if there is another issue opened with the same problem

Describe the bug

Export data series should be relating to the power axis like the import, but it’s relating to the cost axis instead.

Version of the card
Version: v2.2.3

To Reproduce
This is the configuration I used:

type: custom:apexcharts-card
graph_span: 24h
update_interval: 30s
header:
  title: Grid Import/Export - Power & Cost (24 Hours)
  show: true
apex_config:
  chart:
    height: 350
  yaxis:
    - id: power
      decimalsInFloat: 4
      title:
        text: Energy (kWh)
      labels:
        style:
          colors: "#008FFB"
    - id: cost
      opposite: true
      decimalsInFloat: 2
      min: 0
      title:
        text: Price ($/kWh)
      labels:
        style:
          colors: "#FEB019"
series:
  - entity: sensor.solaredge_m1_imported_kwh
    yaxis_id: power
    name: Import Power
    type: line
    color: red
    group_by:
      func: diff
      duration: 10min
    stroke_width: 2
  - entity: sensor.solaredge_m1_exported_kwh
    yaxis_id: power
    name: Export Power
    type: line
    color: blue
    group_by:
      func: diff
      duration: 10min
    stroke_width: 2
  - entity: sensor.bald_hills_general_price
    name: Import Price
    type: line
    color: orange
    yaxis_id: cost
    stroke_width: 2
  - entity: sensor.bald_hills_feed_in_price
    name: Export Price
    type: line
    color: cyan
    yaxis_id: cost
    stroke_width: 2

Screenshots
image
Expected behavior

The Export should scale to the power axis, reaching 0.3. As seen in the screenshot, it’s only reaching 0.1, but is aligned with the cost axis.

Desktop (please complete the following information):

  • Browser Safari
  • Version iPadOS 26.1

Smartphone (please complete the following information):

  • Device: iPad
  • OS: iPadOS 26.1
  • Browser safari (on the home assistant app)
  • Version 26.1

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