Skip to content

Commit

Permalink
feat: add E3DC inverter image
Browse files Browse the repository at this point in the history
  • Loading branch information
slipx06 committed Apr 24, 2024
1 parent 7c15939 commit fdea602
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
16 changes: 8 additions & 8 deletions dist/sunsynk-power-flow-card.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sunsynk-power-flow-card",
"version": "4.32.0",
"version": "4.33.0",
"description": "A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.",
"main": "sunsynk-power-flow-card.js",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions src/inverters/brands/e3dc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {InverterSettingsDto} from '../dto/inverter-settings.dto';
import {InverterModel} from '../../types';

export class E3dc extends InverterSettingsDto {
brand = InverterModel.E3dc;
image = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAABICAYAAAC9bQZsAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAoRSURBVGhD1VpbbFTXFV0z4/GT2A7Y2NgGA7Z5BBzIg6YVKElLS0KFlPajUquqP5GqVmmSD9RKjVT1q2lLVNKfVlVUlVIlqZQ2StSo6U9ThYLShDQVAURpwCDAPBxsILbBLzwzXWufc2bMw8X3FnHFuj5z9jnnPva6a5997p1xqlAo5BEB3//pz7Dj3ffA45BKpXxv2mydKsWtwJ5UKo3lHe3YtnWL2+UWI80i72Ze6Hshn6b3adYpK6kC/3JkZm1y4pj20z7XPcctKCIWESmkeRg/yZD6FNLI54N6aaoGK+wwVZNCZGLOV5GgrZJykVzwW7Dy3DE5WjGICea0MWShakEdm12mnKuclQyiE6O3NnMMNDy/tJiIpLjZiB9LCNGJeWfdnHIsvEjOtspouUZCiEwsRblcaicpKaQ+MTDF1PC2euPkppuEWIqJ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xD9yjrCFjISYa1nOalmTW3FcVZBwQQQmZj9bwcyrI2BUyvPttn81HpQHGNJCJGJyWElCZtf8lvqiIMYeoVc0nD9SSE6MYVfmDtSxJMwxQIZm3hCqG89IhOTz+6/cWgo87G29y/L/64WHWsnxytOKNJh73PxfYtECzn/XkZYP9u3Vygy/Oyh3ZMy3/M6jUKUfZY8NMA5eDslD0sSXJxNH4WgiiQM4SlywbY6GcQIRe884ZcrZkHX59ph3A8mhMjElNEzDDHVCrR0vmBPUGVq21gBZWzbUxdLUohMTCGouSQSIpcOc8rGCNkyEiQlxCDGza3MvoPqsahvalG/2y8ZRJ9j3lnz3UiqYV2GQEZjVwzcYsRIHiVMH20ixHBNjlcMYmTjk2JJD7Wn9NuSwL8EecVXTOuX/RyrH9GNisiorYVZ4+7RKilEJmYU5DSJhWIErQ6lNJ4UohOTs+Z0cF61xOLiZUSmjJmaySB6KIafaHMsskMhEf1oLjKhrf2SQsxQ1GexVSRiPSItclbfTsTotCkzJdyc7YhorDjHPP0kEF8xI3UdgqxpuD6WpBB9jslXOeyddk2SMEvwVmgmhOjEiKBGCD/faX3G6Io6GUQPRZJxtYjI/RKhKwh7OynEVMytWaXaLcxFYraPH08IseZYkYATysiRmavVtkTCh+Db6eneuRoc9gSNjbWKm7WNeTKIEYoF+3c8/Qu6+a93E++/KRS4iFSC7y0xkofTo6RUYOL6TExWZqskhOiKmUJyWG/PXiHrCiQ8M8J+EEwEwH8Bino6warKeWQAAAAASUVORK5CYII='
}
3 changes: 3 additions & 0 deletions src/inverters/inverter-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {Deye} from './brands/deye';
import {Azzurro} from './brands/azzurro';
import {MPPSolar} from './brands/mpp-solar';
import {SMASolar} from './brands/sma-solar';
import {E3dc} from './brands/e3dc';



Expand All @@ -44,6 +45,8 @@ export class InverterFactory {
return new Goodwe()
case InverterModel.GoodweGridMode:
return new GoodweGrid()
case InverterModel.E3dc:
return new E3dc()
case InverterModel.FoxESS:
return new FoxESS()
case InverterModel.Huawei:
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export enum InverterModel {
Azzurro = 'azzurro',
CESBatteryBox = 'ces-battery-box',
Deye = 'deye',
E3dc = 'e3dc',
FoxESS = 'foxess',
Fronius = 'fronius',
Goodwe = 'goodwe',
Expand Down

0 comments on commit fdea602

Please sign in to comment.