From c960b3f783edac03bbc941a443ab530197273ab1 Mon Sep 17 00:00:00 2001 From: madmicio Date: Wed, 6 Dec 2023 18:49:15 +0100 Subject: [PATCH] readme --- info.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- readme.md | 1 - 2 files changed, 56 insertions(+), 2 deletions(-) diff --git a/info.md b/info.md index 291ffbd..3f7d0fb 100644 --- a/info.md +++ b/info.md @@ -1,10 +1,65 @@ + # 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 +[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg?style=for-the-badge)](https://github.com/hacs/integration) + +[![buymeacoffee_badge](https://img.shields.io/badge/Donate-buymeacoffe-ff813f?style=flat)](https://www.buymeacoffee.com/madmicio) + + ![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 \ No newline at end of file +## Hacs Card Install + +1. add madmicio/ampli-panel-card as custom reposity + +2. Find and install `ampli-panel-card` plugin + +2. Add a reference inside your resources config: + + ```yaml +resources: + - type: module + url: /hacsfiles/ampli-panel-card/ampli-panel-card.js +``` + + +### Manual install + +1. Download and copy `ampli-panel-card.js`, `DS-DIGII.TTF`, `LEDCalculator.ttf` + + from (https://github.com/madmicio/ampli-panel-card/releases) into your custom components directory. + +2. Add a reference `ampli-panel-card.js` inside your resources config: + + ```yaml + resources: + - url: /local/"your_directory"/ampli-panel-card.js + type: module + ``` + + + # gui config available + # lovelace manual config example: +```yaml +- entity: media_player.marantz_sr6010 + type: 'custom:ampli-panel-card' + name: zona 1 + brand: Marantz + info: AV Surround Receiver SR6010 + zone2: media_player.proiettore #(option) +``` +### Main Options +| Name | Type | Default | Supported options | Description | +| -------------- | ----------- | ------------ | ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | string | **Required** | `custom:ampli-panel-card` | Type of the card | +| `entity` | string | **Required** | | Av-Recevier madia_player entity | +| `name` | string | **Main Zone Receiver Name** | text | name of main zone | +| `brand` | | **Receiver description**| text | Av-Receiver brand name| +| `info` | | **Option**| text | Av-Receiver description | +| `zone2` | | **Option**| text | enable zone2 (second hdmi output) | +| `name_zona2` | string | **Zone2 Receiver Name** | text | name of main zone | diff --git a/readme.md b/readme.md index 9127cab..3f7d0fb 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,3 @@ -## n.b: fixed sound panel and input panel error # AV Receiver Panel - Popup Card Custom card for home assistant for the management of AV Receivers.