From 3d112757d0ea5917a95788f37f7fd3cdf242560b Mon Sep 17 00:00:00 2001 From: Lukas Svoboda Date: Sat, 15 Mar 2025 15:44:57 +0100 Subject: [PATCH 1/6] Update const.py Update path to database as it differs in development installation. --- custom_components/sws12500/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/sws12500/const.py b/custom_components/sws12500/const.py index 14cffb6..a3c3a42 100644 --- a/custom_components/sws12500/const.py +++ b/custom_components/sws12500/const.py @@ -7,7 +7,7 @@ DOMAIN = "sws12500" DEFAULT_URL = "/weatherstation/updateweatherstation.php" WSLINK_URL = "/data/upload.php" WINDY_URL = "https://stations.windy.com/pws/update/" -DATABASE_PATH = "./config/home-assistant_v2.db" +DATABASE_PATH = "/config/home-assistant_v2.db" ICON = "mdi:weather" From dc5c45483e5b6e8b87e6d33a06380cb82b121879 Mon Sep 17 00:00:00 2001 From: Lukas Svoboda Date: Wed, 19 Mar 2025 17:54:22 +0100 Subject: [PATCH 2/6] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 34 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 23 +++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..0c6761a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,34 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Logs** +Provide `Developer log` if applicable + +**Provide information about your station:** + - Weather station type: + - firmware version: + +- [ ] Using PWS protocol +- [ ] Using WSLink API +- [ ] Using WSLink proxy Add-on + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..269790e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,23 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Is your feature request a new addition** +Describe what you want to achieve. How new feature should work. + +**Additional context** +Add any other context or screenshots about the feature request here. From 2b57eeb4fae36340101e2aebce60b7d1c8cfd6f3 Mon Sep 17 00:00:00 2001 From: Lukas Svoboda Date: Wed, 19 Mar 2025 18:23:59 +0100 Subject: [PATCH 3/6] Create FUNDING.yml --- .github/FUNDING.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..1d6db7e --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,5 @@ +# These are supported funding model platforms + +github: schizza +ko_fi: schizza +buy_me_a_coffee: schizza From f9d80d7a0012e2a714e07df46a9266ea10f79bdb Mon Sep 17 00:00:00 2001 From: Lukas Svoboda Date: Wed, 19 Mar 2025 18:25:13 +0100 Subject: [PATCH 4/6] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0c6761a..f09af96 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,8 +1,8 @@ --- name: Bug report about: Create a report to help us improve -title: '' -labels: '' +title: '[BUG]' +labels: 'bug' assignees: '' --- From 397e44e5f2b3802ae474468fbb55a2051a163b21 Mon Sep 17 00:00:00 2001 From: Lukas Svoboda Date: Sat, 29 Mar 2025 11:27:06 +0100 Subject: [PATCH 5/6] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++-- .github/ISSUE_TEMPLATE/issue.md | 34 ++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/issue.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index f09af96..4edd987 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,8 +1,8 @@ --- name: Bug report about: Create a report to help us improve -title: '[BUG]' -labels: 'bug' +title: "[BUG]" +labels: bug assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/issue.md b/.github/ISSUE_TEMPLATE/issue.md new file mode 100644 index 0000000..5c4f806 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue.md @@ -0,0 +1,34 @@ +--- +name: Issue +about: A minor issue that does not significantly affect functionality. +title: "[ISSUE]" +labels: issue +assignees: '' + +--- + +**Describe the issue** +A clear and concise description of what the issue is. + +**To Reproduce** +Steps to reproduce the behavior if any: + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Logs** +Provide `Developer log` if applicable + +**Provide information about your station:** + - Weather station type: + - firmware version: + +- [ ] Using PWS protocol +- [ ] Using WSLink API +- [ ] Using WSLink proxy Add-on + +**Additional context** +Add any other context about the problem here. From 287e74673e3cb14d7ca40c3772bbd00926e32538 Mon Sep 17 00:00:00 2001 From: Lukas Svoboda Date: Sat, 29 Mar 2025 11:30:34 +0100 Subject: [PATCH 6/6] Create config.yml --- .github/ISSUE_TEMPLATE/config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false