Hi,
I’m trying to add some a operation with transform in the apexCharts but I’m not able to read a different entity inside
here the example:
type: custom:apexcharts-card
graph_span: 1d
header:
show: true
title: Energy Breakdown (Today)
show_states: true
colorize_states: true
chart_type: donut
series:
- entity: sensor.solarman_today_grid_consumption
name: From Grid
color: "#FF5733"
- entity: sensor.solarman_battery_daily_discharge
name: From Battery
color: "#3366FF"
- entity: sensor.solarman_today_power_consumption
name: From Solar
color: "#00FF00"
transform: "return x - (sensor.solarman_battery_daily_discharge);"
with the last line as the problatic one,
thanks