Config UI: add tariffs (#26698)

Co-authored-by: Maschga <88616799+Maschga@users.noreply.github.com>
Co-authored-by: andig <cpuidle@gmail.com>
Co-authored-by: andig <andi@evcc.io>
This commit is contained in:
Michael Geers 2026-03-01 12:06:34 +01:00 • committed by GitHub
parent ba159992fd
commit a4ed1080e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 2711 additions and 310 deletions

8
tests/tariffs-legacy.sql Normal file
View file

@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS `settings` (
`key` text
, `value` text
, PRIMARY KEY(`key`)
);
-- legacy tariff configuration stored in database
INSERT INTO settings("key", value) VALUES('tariffs', 'currency: EUR');