Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuezas committed Oct 13, 2024
0 parents commit 687c554
Show file tree
Hide file tree
Showing 276 changed files with 1,015 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

buy_me_a_coffee: dbuezas
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**yaml**
```yaml
type: custom:plotly-graph
entities:
- entity: sensor.my_sensor
```
**Additional context**
Add any other context about the problem here.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**How would it be defined in yaml?**
```yaml
type: custom:plotly-graph
entities:
- entity: sensor.monthly_internet_energy
entity_feature_config: xxx
global_feature_config: xxx
```
**Scribble**
When applicable, paste a drawing of how the feature would look like
**Additional context**
Add any other context or screenshots about the feature request here.
25 changes: 25 additions & 0 deletions .github/workflows/build-on-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build on release

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: npm install

- name: Update package.json
run: npm version ${{ github.ref_name }} --git-tag-version false

- name: Build
run: npm run build

- name: Upload release asset
uses: svenstaro/upload-release-action@v2
with:
file: dist/plotly-graph-card.js
16 changes: 16 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: HACS-Validate

on:
push:
pull_request:

jobs:
hacs:
name: HACS Action
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- name: HACS Action
uses: "hacs/action@main"
with:
category: "plugin"
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
.DS_Store
/dist
/coverage
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
semi: true,
//trailingComma: "all",
singleQuote: false,
printWidth: 80,
tabWidth: 2,
};
3 changes: 3 additions & 0 deletions 0002790bdb50e65b987a.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions 0002790bdb50e65b987a.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
Loading

0 comments on commit 687c554

Please sign in to comment.