diff --git a/README.md b/README.md index e2baa92..2726aa1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Cover card +# Shutter card -This card allows to open, close or set a cover to the opening rate you want. +This card allows to open, close or set a shutter to the opening rate you want. ## Overview @@ -13,10 +13,10 @@ This card allows to open, close or set a cover to the opening rate you want. If you use HACS, the resources will automatically be configured with the needed file. -If you don't use HACS, you can download js file from [latest releases](https://github.com/Deejayfool/hass-cover-card/releases). Drop it then in `www` folder in your `config` directory. Next add the following entry in lovelace configuration: +If you don't use HACS, you can download js file from [latest releases](https://github.com/Deejayfool/hass-shutter-card/releases). Drop it then in `www` folder in your `config` directory. Next add the following entry in lovelace configuration: ```yaml resources: - - url: /local/hass-cover-card.js + - url: /local/hass-shutter-card.js type: module ``` \ No newline at end of file diff --git a/hacs.json b/hacs.json index 0c70158..bfd31ab 100644 --- a/hacs.json +++ b/hacs.json @@ -1,6 +1,5 @@ { - "name": "Custom Cover Card", - "filename": "hass-cover-card.js", - "homeassistant": "0.110.0", + "name": "Shutter Card", + "filename": "hass-shutter-card.js", "render_readme": true } \ No newline at end of file diff --git a/hass-shutter-card.js b/hass-shutter-card.js index f236446..5da77a0 100644 --- a/hass-shutter-card.js +++ b/hass-shutter-card.js @@ -137,7 +137,7 @@ class ShutterCard extends HTMLElement { const style = document.createElement('style'); style.textContent = ` - .cc-shutters { padding: 16px; } + .sc-shutters { padding: 16px; } .sc-shutter { display: flex; margin-top: 1rem; } .sc-shutter:first-child { margin-top: 0; } .sc-shutter-left { flex: 1; }