new version

This commit is contained in:
Sergey Makarov
2024-11-18 00:43:28 +03:00
parent a7a945e6e1
commit 9cda11ad40
19 changed files with 603 additions and 892 deletions
+32
View File
@@ -0,0 +1,32 @@
---
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.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Home Assistant (please complete the following information):**
- Version: [e.g. 2023.11.0]
- Installation type: [e.g. Home Assistant OS, Container, Core]
- Browser [e.g. chrome, safari]
**Additional context**
Add any other context about the problem here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**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.
**Additional context**
Add any other context or screenshots about the feature request here.
+2 -2
View File
@@ -8,7 +8,7 @@ on:
jobs:
validate:
runs-on: "ubuntu-latest"
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v3"
- uses: actions/checkout@v3
- uses: home-assistant/actions/hassfest@master
+16 -6
View File
@@ -1,4 +1,4 @@
name: HACS Validation
name: Validate
on:
push:
@@ -8,10 +8,20 @@ on:
jobs:
validate:
runs-on: "ubuntu-latest"
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v3"
- name: HACS validation
uses: "hacs/action@main"
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
category: "integration"
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pylint
- name: Run tests
run: |
pytest
- name: Lint with pylint
run: |
pylint custom_components/ha_text_ai/*.py