fix: remove unused variable

pull/3246/head
ellabellla 2024-03-11 21:40:20 +11:00
parent a391f9a1b3
commit 04d838dccc
1 changed files with 0 additions and 2 deletions

View File

@ -79,8 +79,6 @@ const runHassio = () => {
const getBattery = () => { const getBattery = () => {
const b = E.getBattery(), const b = E.getBattery(),
c = Bangle.isCharging(); c = Bangle.isCharging();
let i = "mdi:battery";
if (c) i += "-charging";
return { return {
state: c ? "charging" : "discharging", state: c ? "charging" : "discharging",