Skip to content

Commit

Permalink
Add new github workflow for hacs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Apr 7, 2024
1 parent eb6ef68 commit be28f65
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 27 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: HACS validation

on:
push:
pull_request:

jobs:
hacs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- uses: "hacs/action@main"
with: { category: "integration" }
hassfest:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "home-assistant/actions/hassfest@master"
17 changes: 0 additions & 17 deletions .github/workflows/validate.yml

This file was deleted.

12 changes: 8 additions & 4 deletions custom_components/dash_cast/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"domain": "dash_cast",
"name": "DashCast",
"codeowners": [
"@AlexxIT"
],
"config_flow": true,
"dependencies": [
"cast"
],
"documentation": "https://github.com/AlexxIT/DashCast",
"iot_class": "calculated",
"issue_tracker": "https://github.com/AlexxIT/DashCast/issues",
"codeowners": ["@AlexxIT"],
"dependencies": ["cast"],
"requirements": [],
"version": "1.0.0",
"iot_class": "calculated"
"version": "1.0.0"
}
8 changes: 2 additions & 6 deletions custom_components/dash_cast/services.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
load_url:
name: DashCast
description: 'Send websites to Chromecasts'
description: Send websites to Chromecasts
fields:
entity_id:
description: Media player entity
example: media_player.mibox4
required: true
selector:
entity:
integration: cast
domain: media_player

url:
description: Webpage URL
example: http://yandex.ru/pogoda/moscow
example: https://www.home-assistant.io/
required: true
selector:
text:

force:
description: Use this option if iframe blocking is enabled on the site
default: false
Expand Down

0 comments on commit be28f65

Please sign in to comment.