Skip to content

Commit

Permalink
Merge pull request #39 from artem-sedykh/dev
Browse files Browse the repository at this point in the history
version 2.2.5
  • Loading branch information
artem-sedykh authored Aug 2, 2020
2 parents 8120f00 + 17fd0ae commit 77283ea
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Inspired by [mini media player](https://github.com/kalkih/mini-media-player).

```yaml
resources:
- url: /local/mini-humidifier-bundle.js?v=2.2.4
- url: /local/mini-humidifier-bundle.js?v=2.2.5
type: module
```
Expand All @@ -40,14 +40,14 @@ Inspired by [mini media player](https://github.com/kalkih/mini-media-player).
2. Grab `mini-humidifier-bundle.js`

```console
$ wget https://github.com/artem-sedykh/mini-humidifier/releases/download/v2.2.4/mini-humidifier-bundle.js
$ wget https://github.com/artem-sedykh/mini-humidifier/releases/download/v2.2.5/mini-humidifier-bundle.js
```

3. Add a reference to `mini-humidifier-bundle.js` inside your `ui-lovelace.yaml`.

```yaml
resources:
- url: /local/mini-humidifier-bundle.js?v=2.2.4
- url: /local/mini-humidifier-bundle.js?v=2.2.5
type: module
```

Expand All @@ -60,7 +60,7 @@ Inspired by [mini media player](https://github.com/kalkih/mini-media-player).

```yaml
resources:
- url: /local/mini-humidifier-bundle.js?v=2.2.4
- url: /local/mini-humidifier-bundle.js?v=2.2.5
type: module
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mini-humidifier",
"version": "v2.2.4",
"version": "v2.2.5",
"description": "humidifier card for Home Assistant Lovelace UI",
"keywords": [
"home-assistant",
Expand Down
6 changes: 6 additions & 0 deletions release_notes/v2.2.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## v2.2.5
[![Downloads](https://img.shields.io/github/downloads/artem-sedykh/mini-humidifier/v2.2.5/total.svg)](https://github.com/artem-sedykh/mini-humidifier/releases/tag/v2.2.5)

### FIXED
- for ha >= 0.113.0 added theme variable `--card-background-color`
- 'group: on' don’t work anymore with ha 0.113.0 beta #37
6 changes: 4 additions & 2 deletions src/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const style = css`
display: none;
}
.mh__bg {
background: var(--ha-card-background, var(--paper-card-background-color, white));
background: var(--ha-card-background, var(--card-background-color, var(--paper-card-background-color, white)));
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
overflow: hidden;
Expand All @@ -57,7 +57,9 @@ const style = css`
opacity: var(--mh-bg-opacity);
border-radius: var(--ha-card-border-radius, 0);
}
ha-card.--group .mh__bg {
background: none;
}
.mh-humidifier {
align-self: flex-end;
box-sizing: border-box;
Expand Down

0 comments on commit 77283ea

Please sign in to comment.