diff --git a/src/components/battery.ts b/src/components/battery.ts index b7b4642d..a08751db 100644 --- a/src/components/battery.ts +++ b/src/components/battery.ts @@ -52,7 +52,7 @@ export const batteryElement = ( unit: battery.state_of_charge.unit ?? "%", unitWhiteSpace: battery.state_of_charge.unit_white_space, decimals: battery.state_of_charge.decimals, - accept_negative: undefined, + accept_negative: true, watt_threshold: config.watt_threshold, })} `