├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ └── bug_report.md └── workflows │ ├── quality.yml │ └── validate.yml ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── dist ├── streamline-card.js └── streamline_templates.example.yaml ├── eslint.config.js ├── examples ├── bubble_cover.md ├── bubble_light.md ├── conditional_javascript.md ├── entity_list_template.md └── template_objects.md ├── hacs.json ├── images └── hero.png ├── package.json ├── pnpm-lock.yaml ├── public └── streamline_templates.example.yaml ├── src ├── __fixtures__ │ └── hass.fixture.js ├── __helpers__ │ └── lovelace.helper.js ├── __mocks__ │ └── getLovelace.helper.js ├── deepEqual-helper.js ├── deepEqual-helper.test.js ├── evaluateJavascript-helper.js ├── evaluateJavascript-helper.test.js ├── evaluateVariables-helper.js ├── evaluateVariables-helper.test.js ├── evaluateYaml.js ├── evaluteConfig-helper.js ├── evaluteConfig-helper.test.js ├── fireEvent-helper.js ├── formatVariables-helper.js ├── formatVariables-helper.test.ts ├── getLovelace.helper.js ├── getLovelace.helper.test.js ├── streamline-card-editor.js ├── streamline-card-editor.test.ts ├── streamline-card.js ├── templateLoader.js ├── templates │ └── exampleTile.js └── tests │ ├── issue-2-visibility-settings.test.js │ ├── issue-65-multiple-variables-single-line.test.js │ └── issue-69-visual-editor-crash.test.js ├── test-setup.js └── vite.config.js /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/workflows/quality.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/.github/workflows/quality.yml -------------------------------------------------------------------------------- /.github/workflows/validate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/.github/workflows/validate.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env.*.local 3 | coverage -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/README.md -------------------------------------------------------------------------------- /dist/streamline-card.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/dist/streamline-card.js -------------------------------------------------------------------------------- /dist/streamline_templates.example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/dist/streamline_templates.example.yaml -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/eslint.config.js -------------------------------------------------------------------------------- /examples/bubble_cover.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/examples/bubble_cover.md -------------------------------------------------------------------------------- /examples/bubble_light.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/examples/bubble_light.md -------------------------------------------------------------------------------- /examples/conditional_javascript.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/examples/conditional_javascript.md -------------------------------------------------------------------------------- /examples/entity_list_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/examples/entity_list_template.md -------------------------------------------------------------------------------- /examples/template_objects.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/examples/template_objects.md -------------------------------------------------------------------------------- /hacs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/hacs.json -------------------------------------------------------------------------------- /images/hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/images/hero.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/streamline_templates.example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/public/streamline_templates.example.yaml -------------------------------------------------------------------------------- /src/__fixtures__/hass.fixture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/__fixtures__/hass.fixture.js -------------------------------------------------------------------------------- /src/__helpers__/lovelace.helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/__helpers__/lovelace.helper.js -------------------------------------------------------------------------------- /src/__mocks__/getLovelace.helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/__mocks__/getLovelace.helper.js -------------------------------------------------------------------------------- /src/deepEqual-helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/deepEqual-helper.js -------------------------------------------------------------------------------- /src/deepEqual-helper.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/deepEqual-helper.test.js -------------------------------------------------------------------------------- /src/evaluateJavascript-helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/evaluateJavascript-helper.js -------------------------------------------------------------------------------- /src/evaluateJavascript-helper.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/evaluateJavascript-helper.test.js -------------------------------------------------------------------------------- /src/evaluateVariables-helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/evaluateVariables-helper.js -------------------------------------------------------------------------------- /src/evaluateVariables-helper.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/evaluateVariables-helper.test.js -------------------------------------------------------------------------------- /src/evaluateYaml.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/evaluateYaml.js -------------------------------------------------------------------------------- /src/evaluteConfig-helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/evaluteConfig-helper.js -------------------------------------------------------------------------------- /src/evaluteConfig-helper.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/evaluteConfig-helper.test.js -------------------------------------------------------------------------------- /src/fireEvent-helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/fireEvent-helper.js -------------------------------------------------------------------------------- /src/formatVariables-helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/formatVariables-helper.js -------------------------------------------------------------------------------- /src/formatVariables-helper.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/formatVariables-helper.test.ts -------------------------------------------------------------------------------- /src/getLovelace.helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/getLovelace.helper.js -------------------------------------------------------------------------------- /src/getLovelace.helper.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/getLovelace.helper.test.js -------------------------------------------------------------------------------- /src/streamline-card-editor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/streamline-card-editor.js -------------------------------------------------------------------------------- /src/streamline-card-editor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/streamline-card-editor.test.ts -------------------------------------------------------------------------------- /src/streamline-card.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/streamline-card.js -------------------------------------------------------------------------------- /src/templateLoader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/templateLoader.js -------------------------------------------------------------------------------- /src/templates/exampleTile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/templates/exampleTile.js -------------------------------------------------------------------------------- /src/tests/issue-2-visibility-settings.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/tests/issue-2-visibility-settings.test.js -------------------------------------------------------------------------------- /src/tests/issue-65-multiple-variables-single-line.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/tests/issue-65-multiple-variables-single-line.test.js -------------------------------------------------------------------------------- /src/tests/issue-69-visual-editor-crash.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/src/tests/issue-69-visual-editor-crash.test.js -------------------------------------------------------------------------------- /test-setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/test-setup.js -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunosabot/streamline-card/HEAD/vite.config.js --------------------------------------------------------------------------------