Skip to content

Commit

Permalink
ver 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
madmicio committed Dec 6, 2023
1 parent 8ec5969 commit 2364a74
Show file tree
Hide file tree
Showing 29 changed files with 14,945 additions and 0 deletions.
Empty file added .github/funding.yml
Empty file.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Build'

on:
push:
pull_request:

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- uses: actions/setup-node@v3
with:
node-version: 14

- name: Build
run: |
npm install
npm run build
- name: Archive built file
uses: actions/upload-artifact@v3
with:
name: ampli-panel-card.js
path: dist/ampli-panel-card.js
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
release:
types: [published]

jobs:
release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- uses: actions/setup-node@v3
with:
node-version: 14

- name: Build the file
run: |
npm install
npm version --git-tag-version=false --commit-hooks=false "${{ github.event.release.tag_name }}"
npm run build
- name: Upload build result to release
uses: svenstaro/upload-release-action@v1-release

with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/ampli-panel-card.ts
asset_name: ampli-panel-card.ts
tag: ${{ github.ref }}
overwrite: true
17 changes: 17 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Validate HACS

on:
push:
pull_request:

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Validate HACS
uses: "hacs/action@main"
with:
category: "plugin"
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules/
/.rpt2_cache/
/dist
.idea
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"
}
}
Binary file added DS-DIGII.TTF
Binary file not shown.
Binary file added LEDCalculator.ttf
Binary file not shown.
1,075 changes: 1,075 additions & 0 deletions ampli-panel-card.js

Large diffs are not rendered by default.

Binary file added example/ampli_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added example/screen_video.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions example/test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Empty file added funding.yml
Empty file.
6 changes: 6 additions & 0 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "AV Receiver control card",
"filename": "ampli-panel-card.js",
"content_in_root": false,
"render_readme" : true
}
10 changes: 10 additions & 0 deletions info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# AV Receiver Panel - Popup Card
Custom card for home assistant for the management of AV Receivers.
it is based on the media_player component thus increasing compatibility with various devices and brands

![all](example/ampli_1.png)

## Demo Video
[![Watch the video](example/screen_video.png)](https://youtu.be/-ai8dvM8xrc)

## installation and configuration look at the repository
Loading

0 comments on commit 2364a74

Please sign in to comment.