Skip to content

Commit 0cd5672

Browse files
committed
Implement Blueprint - Remove functionality
1 parent 43a0c9d commit 0cd5672

21 files changed

+804
-164
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
**Is your feature request related to a problem? Please describe.**
8+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
10+
**Describe the solution you'd like**
11+
A clear and concise description of what you want to happen.
12+
13+
**Describe alternatives you've considered**
14+
A clear and concise description of any alternative solutions or features you've considered.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/issue.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: Issue
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
<!-- Before you open a new issue, search through the existing issues to see if others have had the same problem.
8+
9+
Issues not containing the minimum requirements will be closed:
10+
11+
- Issues without a description (using the header is not good enough) will be closed.
12+
- Issues without debug logging will be closed.
13+
- Issues without configuration will be closed
14+
15+
-->
16+
17+
## Version of the custom_component
18+
<!-- If you are not using the newest version, download and try that before opening an issue
19+
If you are unsure about the version check the const.py file.
20+
-->
21+
22+
## Configuration
23+
24+
```yaml
25+
26+
Add your logs here.
27+
28+
```
29+
30+
## Describe the bug
31+
A clear and concise description of what the bug is.
32+
33+
34+
## Debug log
35+
36+
<!-- To enable debug logs check this https://www.home-assistant.io/components/logger/ -->
37+
38+
```text
39+
40+
Add your logs here.
41+
42+
```

.github/workflows/cron.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Cron actions
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
validate:
9+
runs-on: "ubuntu-latest"
10+
name: Validate
11+
steps:
12+
- uses: "actions/checkout@v2"
13+
14+
- name: HACS validation
15+
uses: "hacs/integration/action@master"
16+
with:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
CATEGORY: "integration"
19+
20+
- name: Hassfest validation
21+
uses: "home-assistant/actions/hassfest@master"

.github/workflows/pull.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Pull actions
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
validate:
8+
runs-on: "ubuntu-latest"
9+
name: Validate
10+
steps:
11+
- uses: "actions/checkout@v2"
12+
13+
- name: HACS validation
14+
uses: "hacs/integration/action@master"
15+
with:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
CATEGORY: "integration"
18+
19+
- name: Hassfest validation
20+
uses: "home-assistant/actions/hassfest@master"
21+
22+
style:
23+
runs-on: "ubuntu-latest"
24+
name: Check style formatting
25+
steps:
26+
- uses: "actions/checkout@v2"
27+
- uses: "actions/setup-python@v1"
28+
with:
29+
python-version: "3.x"
30+
- run: python3 -m pip install black
31+
- run: black .

.github/workflows/push.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
name: Push actions
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
- dev
9+
10+
jobs:
11+
validate:
12+
runs-on: "ubuntu-latest"
13+
name: Validate
14+
steps:
15+
- uses: "actions/checkout@v2"
16+
17+
- name: HACS validation
18+
uses: "hacs/integration/action@master"
19+
with:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
CATEGORY: "integration"
22+
23+
- name: Hassfest validation
24+
uses: "home-assistant/actions/hassfest@master"
25+
26+
style:
27+
runs-on: "ubuntu-latest"
28+
name: Check style formatting
29+
steps:
30+
- uses: "actions/checkout@v2"
31+
- uses: "actions/setup-python@v1"
32+
with:
33+
python-version: "3.x"
34+
- run: python3 -m pip install black
35+
- run: black .

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__pycache__

__init__.py

-164
This file was deleted.

0 commit comments

Comments
 (0)