Skip to content

Commit ac7e62c

Browse files
Merge pull request #20 from 404GamerNotFound/codex/fix-action-resolution-error
Fix Hassfest action branch reference
2 parents a9c0c20 + 22cba90 commit ac7e62c

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Hassfest validation
14-
uses: home-assistant/actions/hassfest@main
14+
uses: home-assistant/actions/hassfest@master
1515
- name: HACS validation
1616
uses: hacs/action@main
1717
with:

custom_components/vserver_ssh_stats/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55

66
from homeassistant.config_entries import ConfigEntry
77
from homeassistant.core import HomeAssistant
8+
from homeassistant.helpers import config_validation as cv
89

910
_LOGGER = logging.getLogger(__name__)
1011

1112
DOMAIN = "vserver_ssh_stats"
1213

14+
CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
15+
1316

1417
async def async_setup(hass: HomeAssistant, config: dict) -> bool:
1518
"""Set up the VServer SSH Stats integration."""
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"domain": "vserver_ssh_stats",
33
"name": "VServer SSH Stats",
4-
"version": "0.1.9",
5-
"documentation": "https://github.com/404GamerNotFound/vserver-ssh-stats",
6-
"issue_tracker": "https://github.com/404GamerNotFound/vserver-ssh-stats/issues",
7-
"requirements": [],
84
"codeowners": [
95
"@404GamerNotFound"
106
],
11-
"integration_type": "service"
7+
"documentation": "https://github.com/404GamerNotFound/vserver-ssh-stats",
8+
"integration_type": "service",
9+
"iot_class": "cloud_polling",
10+
"issue_tracker": "https://github.com/404GamerNotFound/vserver-ssh-stats/issues",
11+
"requirements": [],
12+
"version": "0.1.9"
1213
}

hacs.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"name": "VServer SSH Stats",
32
"content_in_root": false,
4-
"render_readme": true,
5-
"domains": ["vserver_ssh_stats"]
3+
"name": "VServer SSH Stats",
4+
"render_readme": true
65
}

0 commit comments

Comments
 (0)