Skip to content

Commit

Permalink
change order of charge modes
Browse files Browse the repository at this point in the history
  • Loading branch information
cshagen committed Jan 11, 2025
1 parent 18556c7 commit 1c028ee
Showing 1 changed file with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,36 +281,36 @@ export const widescreen = computed(() => {
return screensize.x >= breakpoint
})
export const chargemodes: { [key: string]: ChargeModeInfo } = {
stop: {
mode: ChargeMode.stop,
name: 'Stop',
color: 'var(--color-fg)',
icon: 'fa-power-off',
},
standby: {
mode: ChargeMode.standby,
name: 'Standby',
color: 'var(--color-axis',
icon: 'fa-pause',
},
pv_charging: {
mode: ChargeMode.pv_charging,
name: 'PV',
color: 'var(--color-pv',
icon: 'fa-solar-panel',
},
instant_charging: {
mode: ChargeMode.instant_charging,
name: 'Sofort',
color: 'var(--color-charging)',
icon: 'fa-bolt',
},
scheduled_charging: {
mode: ChargeMode.scheduled_charging,
name: 'Zielladen',
color: 'var(--color-battery)',
icon: 'fa-bullseye',
},
instant_charging: {
mode: ChargeMode.instant_charging,
name: 'Sofort',
color: 'var(--color-charging)',
icon: 'fa-bolt',
standby: {
mode: ChargeMode.standby,
name: 'Standby',
color: 'var(--color-axis)',
icon: 'fa-pause',
},
stop: {
mode: ChargeMode.stop,
name: 'Stop',
color: 'var(--color-fg)',
icon: 'fa-power-off',
}
}
// methods
export function savePrefs() {
Expand Down

0 comments on commit 1c028ee

Please sign in to comment.