Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve repository CICD #1

Merged
merged 3 commits into from
Jul 10, 2022
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
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Linting

on:
push:
branches:
- master
pull_request:
schedule:
- cron: "0 0 * * *"

env:
DEFAULT_PYTHON: 3.9

jobs:
hacs:
runs-on: "ubuntu-latest"
name: HACS
steps:
- name: Check out the repository
uses: "actions/[email protected]"

- name: HACS validation
uses: "hacs/[email protected]"
with:
category: "integration"
ignore: "brands"

hassfest:
runs-on: "ubuntu-latest"
name: Hassfest
steps:
- name: Check out the repository
uses: "actions/[email protected]"

- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"
14 changes: 14 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
push:
branches:
- master

jobs:
release-on-push:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: minor
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
![GitHub](https://img.shields.io/github/license/alemuro/ha-cecotec-conga?style=flat-square)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/alemuro/ha-cecotec-conga?style=flat-square)
![GitHub Release Date](https://img.shields.io/github/release-date/alemuro/ha-cecotec-conga?style=flat-square)
# Cecotec Conga integration

This integration aims to manage new versions of Cecotec Conga vacuum cleaner. The ones that cannot be managed with [FreeConga](https://freecon.ga/).
Expand Down
3 changes: 1 addition & 2 deletions custom_components/cecotec_conga/strings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"title": "Cecotec Conga",
"config": {
"flow_title": "Login",
"step": {
Expand All @@ -16,4 +15,4 @@
"auth_error": "Invalid user."
}
}
}
}
18 changes: 18 additions & 0 deletions custom_components/cecotec_conga/translations/ca.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"config": {
"flow_title": "Inici de sessió",
"step": {
"login": {
"title": "Inici de sessió",
"description": "Si us plau, introdueix les teves credenciales de Cecotec.",
"data": {
"username": "Usuari",
"password": "Contrasenya"
}
}
},
"error": {
"auth_error": "Credencials incorrectes. Torna a provar."
}
}
}
7 changes: 3 additions & 4 deletions custom_components/cecotec_conga/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"title": "Cecotec Conga",
"config": {
"flow_title": "Login",
"step": {
"login": {
"title": "Login",
"description": "Use the same credentials you use with your mobile app.",
"description": "Use your Cecotec Conga credentials.",
"data": {
"username": "Username",
"password": "Password"
}
}
},
"error": {
"auth_error": "Invalid user."
"auth_error": "Invalid user. Try again."
}
}
}
}
18 changes: 18 additions & 0 deletions custom_components/cecotec_conga/translations/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"config": {
"flow_title": "Inicia sesión",
"step": {
"login": {
"title": "Inicia sesión",
"description": "Por favor, introduce tus credenciales de Cecotec.",
"data": {
"username": "Usuario",
"password": "Contraseña"
}
}
},
"error": {
"auth_error": "Credenciales inválidas. Prueba de nuevo."
}
}
}