From 254386b14a7f67cfb356bc1bdadc837963d5687d Mon Sep 17 00:00:00 2001 From: Dave T <17680170+davet2001@users.noreply.github.com> Date: Thu, 9 May 2024 20:34:13 +0000 Subject: [PATCH] Simplify optional vars --- .../lovelace/cards/energy/hui-energy-elec-flow-card.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/panels/lovelace/cards/energy/hui-energy-elec-flow-card.ts b/src/panels/lovelace/cards/energy/hui-energy-elec-flow-card.ts index 04cf9d5001d0..a97846dd2565 100644 --- a/src/panels/lovelace/cards/energy/hui-energy-elec-flow-card.ts +++ b/src/panels/lovelace/cards/energy/hui-energy-elec-flow-card.ts @@ -76,12 +76,10 @@ export class HuiEnergyElecFlowCard >