Skip to content

Commit

Permalink
Integrate HACS
Browse files Browse the repository at this point in the history
  • Loading branch information
gicamm committed Feb 12, 2023
1 parent aa3523b commit b527618
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 8 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/hacs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Validate with HACS

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

jobs:
hacs:
name: HACS Action
runs-on: "ubuntu-latest"
steps:
- name: HACS Action
uses: "hacs/action@main"
with:
category: "integration"
ignore: brands
14 changes: 14 additions & 0 deletions .github/workflows/hassfest.yml
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@v2"
- uses: "home-assistant/actions/hassfest@master"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Comelit Hub/Vedo integration
# Comelit SimpleHome/Vedo integration for Home Assistant

With Comelit Hub/Vedo integration, you can connect your Home Assistant instance to Comelit Simple Home and Vedo systems.
With Comelit SimpleHome/Vedo integration, you can connect your Home Assistant instance to Comelit Simple Home and Vedo systems.

For more information, see the [Wiki](https://github.com/gicamm/homeassistant-comelit/wiki).

Expand Down
2 changes: 1 addition & 1 deletion custom_components/comelit/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ def update(self):
@property
def state(self):
state_mapping = {HVACAction.HEATING: STATE_ON, HVACAction.IDLE: STATE_IDLE, HVACAction.OFF: STATE_OFF}
return state_mapping[self.hvac_action]
return state_mapping[self.hvac_action]
11 changes: 6 additions & 5 deletions custom_components/comelit/manifest.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"domain": "comelit",
"name": "Comelit Hub/Vedo",
"documentation": "https://github.com/gicamm/homeassistant-comelit",
"issues": "https://github.com/gicamm/homeassistant-comelit/issues",
"name": "Comelit SimpleHome/Vedo",
"documentation": "https://github.com/gicamm/homeassistant-comelit/wiki",
"issue_tracker": "https://github.com/gicamm/homeassistant-comelit/issues",
"dependencies": [],
"codeowners": [
"gicamm"
"@gicamm"
],
"requirements": [
"requests",
"paho-mqtt",
"wrapt_timeout_decorator"
],
"iot_class": "local_push",
"quality_scale": "silver",
"version": "1.0",
"version": "0.9.0",
"config_flow": false
}
5 changes: 5 additions & 0 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Comelit SimpleHome/Vedo integration for Home Assistant",
"homeassistant": "2021.12.0",
"render_readme": true
}

0 comments on commit b527618

Please sign in to comment.