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

HACS-support #11

Merged
merged 9 commits into from
Oct 13, 2024
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
14 changes: 14 additions & 0 deletions .github/workflows/hassfest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Validate with hassfest

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

jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: home-assistant/actions/hassfest@master
13 changes: 7 additions & 6 deletions custom_components/elektro_network_tariff/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"domain": "elektro_network_tariff",
"name": "Elektro Network Tariff",
"documentation": "https://github.com/frlequ/elektro_network_tariff",
"dependencies": [],
"codeowners": ["@frlequ"],
"version": "0.1.1",
"requirements": [],
"dependencies": [],
"documentation": "https://github.com/frlequ/elektro_network_tariff",
"integration_type": "entity",
"iot_class": "local_polling"
}
"iot_class": "local_polling",
"issue_tracker": "https://github.com/frlequ/elektro_network_tariff/issues",
"requirements": [],
"version": "0.1.1"
}
5 changes: 5 additions & 0 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Network Tariff",
"homeassistant": "2023.8.0",
"render_readme": true
}
5 changes: 5 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[mypy]
ignore_missing_imports = True

[mypy-voluptuous]
ignore_missing_imports = True
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
black>=22.12
flake8>=6.0
mypy>=0.991
pylint>=2.15
types-requests
Loading