purifier-card 2.7.0 → 2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +1 -1
- package/README.md +32 -10
- package/dist/purifier-card.js +2 -2
- package/package.json +1 -1
- package/src/purifier-card.ts +1 -0
- package/src/styles.css +3 -3
package/README.md
CHANGED
|
@@ -1,36 +1,53 @@
|
|
|
1
|
+
> [!IMPORTANT]
|
|
2
|
+
>
|
|
3
|
+
> I don't own an air purifier anymore.
|
|
4
|
+
>
|
|
5
|
+
> I still maintain this card. I will be fixing bugs, maitaining dependencies and styles. However, new features won't be actively developed anymore.
|
|
6
|
+
>
|
|
7
|
+
> If you have an air purifier and are willing to contribute, you are welcome.
|
|
8
|
+
|
|
1
9
|
[](https://stand-with-ukraine.pp.ua/)
|
|
2
10
|
|
|
3
11
|
# Purifier Card
|
|
4
12
|
|
|
5
|
-
[![
|
|
13
|
+
[![GitHub Release][gh-release-image]][gh-release-url]
|
|
14
|
+
[![GitHub Downloads][gh-downloads-image]][gh-downloads-url]
|
|
6
15
|
[![hacs][hacs-image]][hacs-url]
|
|
7
16
|
[![GitHub Sponsors][gh-sponsors-image]][gh-sponsors-url]
|
|
8
|
-
[![Patreon][patreon-image]][patreon-url]
|
|
9
17
|
[![Buy Me A Coffee][buymeacoffee-image]][buymeacoffee-url]
|
|
10
18
|
[![Twitter][twitter-image]][twitter-url]
|
|
11
19
|
|
|
20
|
+
> [!NOTE]
|
|
12
21
|
> Air Purifier card for [Home Assistant][home-assistant] Lovelace UI
|
|
13
22
|
|
|
14
23
|
By default, the Home Assistant does not provide any card for controlling air purifiers. This card displays the state and allows to control your air purifier.
|
|
15
24
|
|
|
16
25
|
![Preview of purifier-card][preview-image]
|
|
17
26
|
|
|
18
|
-
##
|
|
27
|
+
## Sponsorship
|
|
19
28
|
|
|
20
|
-
|
|
29
|
+
Your generosity will help me maintain and develop more projects like this one.
|
|
21
30
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
31
|
+
- 💖 [Sponsor on GitHub][gh-sponsors-url]
|
|
32
|
+
- ☕️ [Buy Me A Coffee][buymeacoffee-url]
|
|
33
|
+
- Bitcoin: `bc1q7lfx6de8jrqt8mcds974l6nrsguhd6u30c6sg8`
|
|
34
|
+
- Ethereum: `0x6aF39C917359897ae6969Ad682C14110afe1a0a1`
|
|
35
|
+
|
|
36
|
+
## Installing
|
|
25
37
|
|
|
26
38
|
### HACS
|
|
27
39
|
|
|
28
40
|
This card is available in [HACS][hacs] (Home Assistant Community Store).
|
|
29
41
|
|
|
42
|
+
[![Add to HACS via My Home Assistant][hacs-install-image]][hacs-install-url]
|
|
43
|
+
|
|
30
44
|
Just search for `Purifier Card` in the plugins tab.
|
|
31
45
|
|
|
32
46
|
### Manual
|
|
33
47
|
|
|
48
|
+
<details>
|
|
49
|
+
<summary>Click to show how to manually add to dashboard resources</summary>
|
|
50
|
+
|
|
34
51
|
1. Download `purifier-card.js` file from the [latest-release].
|
|
35
52
|
2. Put `purifier-card.js` file into your `config/www` folder.
|
|
36
53
|
3. Add a reference to `purifier-card.js` in Lovelace. There's two way to do that:
|
|
@@ -45,6 +62,8 @@ Just search for `Purifier Card` in the plugins tab.
|
|
|
45
62
|
|
|
46
63
|
4. Add `custom:purifier-card` to Lovelace UI as any other card (using either editor or YAML configuration).
|
|
47
64
|
|
|
65
|
+
</details>
|
|
66
|
+
|
|
48
67
|
## Using the card
|
|
49
68
|
|
|
50
69
|
This card can be configured using Lovelace UI editor.
|
|
@@ -286,8 +305,10 @@ MIT © [Denys Dovhan][denysdovhan]
|
|
|
286
305
|
|
|
287
306
|
<!-- Badges -->
|
|
288
307
|
|
|
289
|
-
[
|
|
290
|
-
[
|
|
308
|
+
[gh-release-url]: https://github.com/denysdovhan/purifier-card/releases/latest
|
|
309
|
+
[gh-release-image]: https://img.shields.io/github/v/release/denysdovhan/purifier-card?style=flat-square
|
|
310
|
+
[gh-downloads-url]: https://github.com/denysdovhan/purifier-card/releases
|
|
311
|
+
[gh-downloads-image]: https://img.shields.io/github/downloads/denysdovhan/purifier-card/total?style=flat-square
|
|
291
312
|
[hacs-url]: https://github.com/hacs/integration
|
|
292
313
|
[hacs-image]: https://img.shields.io/badge/hacs-default-orange.svg?style=flat-square
|
|
293
314
|
[gh-sponsors-url]: https://github.com/sponsors/denysdovhan
|
|
@@ -303,10 +324,11 @@ MIT © [Denys Dovhan][denysdovhan]
|
|
|
303
324
|
|
|
304
325
|
[home-assistant]: https://www.home-assistant.io/
|
|
305
326
|
[hacs]: https://hacs.xyz
|
|
327
|
+
[hacs-install-image]: https://my.home-assistant.io/badges/hacs_repository.svg
|
|
328
|
+
[hacs-install-url]: https://my.home-assistant.io/redirect/hacs_repository/?owner=denysdovhan&repository=purifier-card&category=plugin
|
|
306
329
|
[preview-image]: https://user-images.githubusercontent.com/3459374/164275676-504d92aa-2c61-4451-ae9b-23dad113ce14.png
|
|
307
330
|
[latest-release]: https://github.com/denysdovhan/purifier-card/releases/latest
|
|
308
331
|
[ha-scripts]: https://www.home-assistant.io/docs/scripts/
|
|
309
|
-
[xiaomi-miio-favorite-levels]: https://www.home-assistant.io/integrations/xiaomi_miio/#service-xiaomi_miiofan_set_favorite_level-air-purifiers-only
|
|
310
332
|
[original-gif]: https://github.com/macbury/SmartHouse/blob/master/home-assistant/www/custom-lovelace/air-purifier/standby.gif
|
|
311
333
|
[edit-readme]: https://github.com/denysdovhan/purifier-card/edit/master/README.md
|
|
312
334
|
[add-translation]: https://github.com/denysdovhan/purifier-card/blob/master/CONTRIBUTING.md#how-to-add-translation
|