Skip to content

Commit be28f65

Browse files
committed
Add new github workflow for hacs
1 parent eb6ef68 commit be28f65

File tree

4 files changed

+28
-27
lines changed

4 files changed

+28
-27
lines changed

.github/workflows/hacs.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: HACS validation
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
hacs:
9+
runs-on: "ubuntu-latest"
10+
steps:
11+
- uses: "actions/checkout@v2"
12+
- uses: "hacs/action@main"
13+
with: { category: "integration" }
14+
hassfest:
15+
runs-on: "ubuntu-latest"
16+
steps:
17+
- uses: "actions/checkout@v3"
18+
- uses: "home-assistant/actions/hassfest@master"

.github/workflows/validate.yml

-17
This file was deleted.
+8-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
22
"domain": "dash_cast",
33
"name": "DashCast",
4+
"codeowners": [
5+
"@AlexxIT"
6+
],
47
"config_flow": true,
8+
"dependencies": [
9+
"cast"
10+
],
511
"documentation": "https://github.com/AlexxIT/DashCast",
12+
"iot_class": "calculated",
613
"issue_tracker": "https://github.com/AlexxIT/DashCast/issues",
7-
"codeowners": ["@AlexxIT"],
8-
"dependencies": ["cast"],
914
"requirements": [],
10-
"version": "1.0.0",
11-
"iot_class": "calculated"
15+
"version": "1.0.0"
1216
}

custom_components/dash_cast/services.yaml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
load_url:
22
name: DashCast
3-
description: 'Send websites to Chromecasts'
3+
description: Send websites to Chromecasts
44
fields:
55
entity_id:
6-
description: Media player entity
7-
example: media_player.mibox4
86
required: true
97
selector:
108
entity:
119
integration: cast
1210
domain: media_player
13-
1411
url:
1512
description: Webpage URL
16-
example: http://yandex.ru/pogoda/moscow
13+
example: https://www.home-assistant.io/
1714
required: true
1815
selector:
1916
text:
20-
2117
force:
2218
description: Use this option if iframe blocking is enabled on the site
2319
default: false

0 commit comments

Comments
 (0)