diff --git a/src/apex-layouts.ts b/src/apex-layouts.ts
index 3a95e1f..1581b62 100644
--- a/src/apex-layouts.ts
+++ b/src/apex-layouts.ts
@@ -93,7 +93,7 @@ export function getLayoutConfig(config: ChartCardConfig, hass: HomeAssistant | u
value = (value as number).toFixed(1);
}
const uom = computeUom(opts.seriesIndex, conf, undefined, hass2?.states[conf.series[opts.seriesIndex].entity]);
- return [name, `${value} ${uom}`];
+ return [name, value === undefined ? `N/A ${uom}` : `${value} ${uom}`];
},
},
stroke: {