Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.4.1"
current_version = "1.4.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
Expand Down
6 changes: 6 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bug:
- "error"
- "fail"
feature:
- "feature request"
- "enhancement"
33 changes: 33 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## 📝 What’s Changed?

<!-- Briefly describe the main changes in this PR -->
- ...

## 🔍 Why is this Change Needed?

<!-- Explain the reason or motivation behind the change -->
- ...

## 🧪 How Was This Tested?

<!-- Describe how you tested the changes -->
- [ ] Added or updated unit tests
- [ ] Manually tested in development environment
- [ ] CI/CD pipeline passed successfully

## ✅ Checklist

- [ ] Code follows the style guide
- [ ] All tests are passing
- [ ] Documentation updated if needed
- [ ] No breaking changes (or clearly documented)

## 📸 Screenshots / Logs (Optional)

<!-- Add any relevant UI screenshots or logs -->
_(e.g., Home Assistant UI, terminal output, etc.)_

## 📎 Additional Notes

<!-- Add anything else reviewers should know -->
- ...
6 changes: 5 additions & 1 deletion .github/workflows/hacs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ on:
types: [published]
schedule:
- cron: "0 0 * * *"



permissions:
contents: read

jobs:
validate-hacs:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/hassfest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
branches:
- dev

permissions:
contents: read

jobs:
hassfest:
runs-on: ubuntu-latest
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ on:
types:
- reopened
- opened
- edited
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- run: gh issue edit "$NUMBER" --add-label "$LABELS"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
LABELS: triage
- uses: peaceiris/actions-issue-labeler@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- main
workflow_dispatch:

permissions:
contents: write

jobs:
test:
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- main
workflow_dispatch:

permissions:
contents: read

jobs:
test:
env:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release-versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
release:
types: [published]

permissions:
contents: write

jobs:
bump-release:
# Zorg dat we alleen in deze job de tag-push afhandelen
Expand All @@ -19,6 +22,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main

- name: Setup Python
uses: actions/setup-python@v5
Expand All @@ -36,7 +40,7 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add custom_components/simple_pid_controller/manifest.json
git add custom_components/simple_pid_controller/manifest.json setup.cfg
git commit -m "chore: bump to next version after release ${{ github.ref_name }}"
git push origin HEAD:main

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
release:
types: [published]

permissions:
contents: write

jobs:
build-and-upload:
runs-on: ubuntu-latest
Expand Down
44 changes: 44 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Security Policy

## Supported Versions

We currently support the latest released version of this project. Previous versions may not receive security updates.

| Version | Supported |
|---------|-----------|
| latest | ✅ |
| older | ❌ |

## Reporting a Vulnerability

If you discover a security vulnerability in this project, **please do not open an issue or pull request publicly**.

Instead, report it confidentially via email:

📧 **bvweerd@users.noreply.github.com**

Please include the following (if possible):
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested mitigation (optional)

We aim to respond within **5 business days**.

## Scope

This policy covers:
- Source code in this repository
- Configuration files and scripts that are part of the published release

This policy does **not** cover:
- Third-party dependencies
- Home Assistant core or any other integrations outside this repository

## Acknowledgements

We appreciate responsible disclosure and will credit contributors if desired and appropriate.

---

Thanks for helping keep this project and its users secure.
2 changes: 1 addition & 1 deletion custom_components/simple_pid_controller/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"quality_scale": "silver",
"requirements": ["simple-pid==2.0.1"],
"ssdp": [],
"version": "1.4.1",
"version": "1.4.2",
"zeroconf": []
}
12 changes: 6 additions & 6 deletions custom_components/simple_pid_controller/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"name": "Kp",
"key": "kp",
"unit": "",
"min": -10.0,
"max": 10.0,
"min": -100.0,
"max": 100.0,
"step": 0.001,
"default": 1.0,
"entity_category": EntityCategory.CONFIG,
Expand All @@ -43,8 +43,8 @@
"name": "Ki",
"key": "ki",
"unit": "",
"min": -10.0,
"max": 10.0,
"min": -100.0,
"max": 100.0,
"step": 0.001,
"default": 0.1,
"entity_category": EntityCategory.CONFIG,
Expand All @@ -53,8 +53,8 @@
"name": "Kd",
"key": "kd",
"unit": "",
"min": -10.0,
"max": 10.0,
"min": -100.0,
"max": 100.0,
"step": 0.001,
"default": 0.05,
"entity_category": EntityCategory.CONFIG,
Expand Down
Loading