Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
roflcoopter committed Jan 9, 2020
1 parent 5df22fc commit 6e6e1ff
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ First of all, [card-tools](https://github.com/thomasloven/lovelace-card-tools) i
type: module
```
### Simple install
### Manual install
1. Download and copy `deep-press.js` from the [latest release](https://github.com/roflcoopter/deep-press/releases/latest) into your `config/www` directory.

Expand All @@ -30,24 +30,6 @@ First of all, [card-tools](https://github.com/thomasloven/lovelace-card-tools) i
type: module
```

### CLI install

1. Move into your `config/www` directory

2. Download `deep-press.js`

```console
$ wget https://github.com/roflcoopter/deep-press/releases/download/v0.1.0/deep-press.js
```

3. Add a reference to `deep-press.js` inside your `ui-lovelace.yaml` or through the raw config editor interface.

```yaml
resources:
- url: /local/deep-press.js
type: module
```

## Usage
This is not actually a new card. It works by changing how other cards work. </br>
It looks for any card which has `deep_press: true` in it's config. If `hold_action` is in the target cards config, those options are used for the deep press(3D touch).</br>
Expand Down

0 comments on commit 6e6e1ff

Please sign in to comment.