├── .DS_Store ├── .editorconfig ├── .eslintrc.ts ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── other.md └── workflows │ ├── ci.yaml │ ├── release.yaml │ ├── semantic-pull-request.yaml │ └── validate.yaml ├── .gitignore ├── .prettierrc ├── .releaserc.js ├── .vscode ├── extensions.json └── tasks.json ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── README.md ├── __tests__ └── i18n.test.ts ├── babel.config.js ├── hacs.json ├── jest.config.ts ├── package.json ├── pnpm-lock.yaml ├── rollup.config.js ├── src ├── const.ts ├── energy-flow-card-plus-config.ts ├── energy-flow-card-plus.ts ├── energy │ ├── index.ts │ └── subscribe-mixin.ts ├── handle-actions.ts ├── hass.ts ├── localize │ ├── languages │ │ ├── cs.json │ │ ├── de.json │ │ ├── dk.json │ │ ├── en.json │ │ ├── es.json │ │ ├── fi.json │ │ ├── fr.json │ │ ├── it.json │ │ ├── nl.json │ │ ├── pl.json │ │ ├── pt-BR.json │ │ ├── pt-PT.json │ │ ├── ru.json │ │ ├── sk.json │ │ └── sv.json │ └── localize.ts ├── logging.ts ├── style.ts ├── types.ts ├── ui-editor │ ├── schema │ │ ├── _schema-all.ts │ │ ├── _schema-base.ts │ │ ├── battery.ts │ │ ├── fossil_fuel_percentage.ts │ │ ├── grid.ts │ │ ├── home.ts │ │ ├── individual.ts │ │ └── solar.ts │ └── ui-editor.ts └── utils │ ├── get-default-config.ts │ ├── get-element-width.ts │ ├── index.ts │ └── register-custom-card.ts └── tsconfig.json /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.DS_Store -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.eslintrc.ts -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/other.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.github/ISSUE_TEMPLATE/other.md -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.github/workflows/semantic-pull-request.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.github/workflows/semantic-pull-request.yaml -------------------------------------------------------------------------------- /.github/workflows/validate.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.github/workflows/validate.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.prettierrc -------------------------------------------------------------------------------- /.releaserc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.releaserc.js -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/i18n.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/__tests__/i18n.test.ts -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/babel.config.js -------------------------------------------------------------------------------- /hacs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/hacs.json -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/jest.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/const.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/const.ts -------------------------------------------------------------------------------- /src/energy-flow-card-plus-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/energy-flow-card-plus-config.ts -------------------------------------------------------------------------------- /src/energy-flow-card-plus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/energy-flow-card-plus.ts -------------------------------------------------------------------------------- /src/energy/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/energy/index.ts -------------------------------------------------------------------------------- /src/energy/subscribe-mixin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/energy/subscribe-mixin.ts -------------------------------------------------------------------------------- /src/handle-actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/handle-actions.ts -------------------------------------------------------------------------------- /src/hass.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/hass.ts -------------------------------------------------------------------------------- /src/localize/languages/cs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/cs.json -------------------------------------------------------------------------------- /src/localize/languages/de.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/de.json -------------------------------------------------------------------------------- /src/localize/languages/dk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/dk.json -------------------------------------------------------------------------------- /src/localize/languages/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/en.json -------------------------------------------------------------------------------- /src/localize/languages/es.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/es.json -------------------------------------------------------------------------------- /src/localize/languages/fi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/fi.json -------------------------------------------------------------------------------- /src/localize/languages/fr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/fr.json -------------------------------------------------------------------------------- /src/localize/languages/it.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/it.json -------------------------------------------------------------------------------- /src/localize/languages/nl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/nl.json -------------------------------------------------------------------------------- /src/localize/languages/pl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/pl.json -------------------------------------------------------------------------------- /src/localize/languages/pt-BR.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/pt-BR.json -------------------------------------------------------------------------------- /src/localize/languages/pt-PT.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/pt-PT.json -------------------------------------------------------------------------------- /src/localize/languages/ru.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/ru.json -------------------------------------------------------------------------------- /src/localize/languages/sk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/sk.json -------------------------------------------------------------------------------- /src/localize/languages/sv.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/languages/sv.json -------------------------------------------------------------------------------- /src/localize/localize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/localize/localize.ts -------------------------------------------------------------------------------- /src/logging.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/logging.ts -------------------------------------------------------------------------------- /src/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/style.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/ui-editor/schema/_schema-all.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/ui-editor/schema/_schema-all.ts -------------------------------------------------------------------------------- /src/ui-editor/schema/_schema-base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/ui-editor/schema/_schema-base.ts -------------------------------------------------------------------------------- /src/ui-editor/schema/battery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/ui-editor/schema/battery.ts -------------------------------------------------------------------------------- /src/ui-editor/schema/fossil_fuel_percentage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/ui-editor/schema/fossil_fuel_percentage.ts -------------------------------------------------------------------------------- /src/ui-editor/schema/grid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/ui-editor/schema/grid.ts -------------------------------------------------------------------------------- /src/ui-editor/schema/home.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/ui-editor/schema/home.ts -------------------------------------------------------------------------------- /src/ui-editor/schema/individual.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/ui-editor/schema/individual.ts -------------------------------------------------------------------------------- /src/ui-editor/schema/solar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/ui-editor/schema/solar.ts -------------------------------------------------------------------------------- /src/ui-editor/ui-editor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/ui-editor/ui-editor.ts -------------------------------------------------------------------------------- /src/utils/get-default-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/utils/get-default-config.ts -------------------------------------------------------------------------------- /src/utils/get-element-width.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/utils/get-element-width.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/register-custom-card.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/src/utils/register-custom-card.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flixlix/energy-flow-card-plus/HEAD/tsconfig.json --------------------------------------------------------------------------------