Skip to content

Commit

Permalink
✨ init Version 2 (#51)
Browse files Browse the repository at this point in the history
* init Version2

* ⚰️ clean up

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔥 init V2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔨 release.yml

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔨 add Version 2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔨 Bump setup-python@v4

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔨 Bump setup-python@v4 python-version

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔨 lables

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🌱 location distance

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔨 remove templates

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🌱 add/remove const

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔨 add dependabot

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔨 update dependabot

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🌱 bring to version 2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🌱 add config_flow

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔥 binary_sensor V2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 📝 info.md V2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* Update info.md

* Update info.md

* 📝 README V2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🔨 Bump ghaction-github-labeler from 3 to 4

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* Update hacs.json

* 🌱 final var

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* Update binary_sensor.py

* Update config_flow.py

* 🔨 Bump pyxplora_api from 2.0.119 to 2.0.120

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* Update const.py

* Update const.py

* 🏷️ update typs

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🌱 switch V2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🌱 sensor V2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🌱 device_tracker V2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🌱 entity V2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🌱 add coordinator

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 🌱 language config_flow

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* 📝 update README, clean CHANGELOG

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* Update manifest.json

* Update README.md

* Update README.md

* Create integration.png

* Update README.md

* Update coordinator.py

* 🌱 add notify V2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* Update __init__.py

* 🔨 update V2

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>

* Update entity.py

* Update switch.py

* Update release.yml

* Update CHANGELOG.md

Signed-off-by: Ludy87 <Ludy87@users.noreply.github.com>
  • Loading branch information
Ludy87 authored Sep 18, 2022
1 parent 5978cec commit dd1aaff
Show file tree
Hide file tree
Showing 34 changed files with 1,333 additions and 2,209 deletions.
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/add_country.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/remove_country.yml

This file was deleted.

26 changes: 14 additions & 12 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,37 @@
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
- name: "Bug: Confirmed!"
description: Something isn't working
color: d73a4a
color: "d73a4a"
- name: "Bug: False Alarm"
description: no Bug - False Alarm
color: 80006C
color: "80006C"
- name: check for Bug
description: it is checked whether there is an Bug
color: 1AFF00
color: "1AFF00"
- name: documentation
description: Improvements or additions to documentation
color: 0075ca
color: "0075ca"
- name: duplicate
description: This issue or pull request already exists
color: cfd3d7
color: "cfd3d7"
- name: feature request
description: Request a new Xplora® Watch feature
color: a2eeef
color: "a2eeef"
- name: help wanted
description: Extra attention is needed
color: 008672
color: "008672"
- name: invalid
description: This doesn't seem right
color: e4e669
color: "e4e669"
- name: performance
description: Performance
color: "016175"
- name: question
description: Further information is requested
color: d876e3
color: "d876e3"
- name: Configuration incorrect
description: Configuration implemented incorrectly
color: 8AFF00
color: "8AFF00"
- name: "A: Country Code"
description: add Country Code
color: "0000FF"
Expand All @@ -45,7 +45,9 @@
color: "FF00FF"
- name: "Bug: Fix!"
description: Fix Bug
color: d73a4a
color: "d73a4a"
- name: "Beta"
description: Beta Version Release
color: d73a4a
color: "d73a4a"
- name: "Version 2"
color: "5319e7"
8 changes: 6 additions & 2 deletions .github/workflows/bandit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: Bandit Check

on:
push:
branches: [ main ]
branches:
- main
- Version2
paths-ignore:
- '.github/**'
pull_request:
branches: [ main ]
branches:
- main
- Version2
jobs:
bandit:
runs-on: "ubuntu-latest"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ name: "CodeQL"

on:
push:
branches: [ main ]
branches:
- main
- Version2
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches:
- main
- Version2
schedule:
- cron: '31 12 * * 0'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dynamic_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
ref: main
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/hassfest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: Validate with hassfest and HACS

on:
push:
branches: [ main ]
branches:
- main
- Version2
paths-ignore:
- '.github/**'
pull_request:
branches: [ main ]
branches:
- main
- Version2
schedule:
- cron: "0 0 * * *"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v3

- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v3
uses: crazy-max/ghaction-github-labeler@v4
with:
github-token: ${{ secrets.TOKEN }}
yaml-file: .github/labels.yml
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: "Flake & Black check"

on:
push:
branches: [ main ]
branches:
- main
- Version2
pull_request:
branches: [ main ]
branches:
- main
- Version2

jobs:
validate_flake8:
Expand All @@ -14,10 +18,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.x'
- name: Install flake8 & black
run: |
pip install flake8 black
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
ref: main
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
name: Check Tagname
id: check-tag
run: |
if [[ "${{ steps.version.outputs.version }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
if [[ "${{ steps.version.outputs.version }}" =~ ^v2\.[0-9]+\.[0-9]+$ ]]; then
echo ::set-output name=match::true
fi
- name: Build
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,6 @@ dmypy.json
# Pyre type checker
.pyre/
*.txt

# Home Assistant Core
/homeassistant
Loading

0 comments on commit dd1aaff

Please sign in to comment.