Skip to content

Commit

Permalink
Merge pull request rsampayo#17 from mikesalz/main
Browse files Browse the repository at this point in the history
  • Loading branch information
rsampayo authored Aug 26, 2024
2 parents 674255a + 6108338 commit 50d79ee
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Validate"

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
push:
branches:
- "main"
pull_request:
branches:
- "main"

jobs:
hassfest: # https://developers.home-assistant.io/blog/2020/04/16/hassfest
name: "Hassfest Validation"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/[email protected]"

- name: "Run hassfest validation"
uses: "home-assistant/actions/hassfest@master"

hacs: # https://github.com/hacs/action
name: "HACS Validation"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/[email protected]"

- name: "Run HACS validation"
uses: "hacs/action@main"
with:
category: "integration"
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"*.yaml": "home-assistant"
}
}
3 changes: 3 additions & 0 deletions custom_components/sleepme_thermostat/hacs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name": "SleepMe Thermostat Integration"
}
2 changes: 2 additions & 0 deletions custom_components/sleepme_thermostat/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
"dependencies": [],
"codeowners": ["@rsampayo"],
"requirements": [],
"integration_type": "device",
"iot_class": "cloud_polling",
"config_flow": true
}

0 comments on commit 50d79ee

Please sign in to comment.