mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
Calculate actual charge energy used
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
defmodule TeslaMate.Repo.Migrations.AddEstTotalChargeEnergy do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:charging_processes) do
|
||||
add(:charge_energy_used, :float)
|
||||
add(:charge_energy_used_confidence, :float)
|
||||
add(:interval_sec, :integer)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user