Skip to content

Commit e7d14e3

Browse files
committed
Rename some "cover" to "shutter"
1 parent b924760 commit e7d14e3

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Cover card
1+
# Shutter card
22

3-
This card allows to open, close or set a cover to the opening rate you want.
3+
This card allows to open, close or set a shutter to the opening rate you want.
44

55
## Overview
66

@@ -13,10 +13,10 @@ This card allows to open, close or set a cover to the opening rate you want.
1313

1414
If you use HACS, the resources will automatically be configured with the needed file.
1515

16-
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:
16+
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:
1717

1818
```yaml
1919
resources:
20-
- url: /local/hass-cover-card.js
20+
- url: /local/hass-shutter-card.js
2121
type: module
2222
```

hacs.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"name": "Custom Cover Card",
3-
"filename": "hass-cover-card.js",
4-
"homeassistant": "0.110.0",
2+
"name": "Shutter Card",
3+
"filename": "hass-shutter-card.js",
54
"render_readme": true
65
}

hass-shutter-card.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class ShutterCard extends HTMLElement {
137137

138138
const style = document.createElement('style');
139139
style.textContent = `
140-
.cc-shutters { padding: 16px; }
140+
.sc-shutters { padding: 16px; }
141141
.sc-shutter { display: flex; margin-top: 1rem; }
142142
.sc-shutter:first-child { margin-top: 0; }
143143
.sc-shutter-left { flex: 1; }

0 commit comments

Comments
 (0)