Skip to content

Commit 6390ed2

Browse files
committed
v0.6.2
1 parent 7e762a5 commit 6390ed2

File tree

6 files changed

+2772
-110
lines changed

6 files changed

+2772
-110
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ in the card we can define some global configuration below you can find these opt
8888
| `masonry` | boolean | optional | false | When enabled it will order the tiles by size and makes sure there are no blank space on a row. This is usefull when using wider and higher options on a tile so everything fits nicely, check out the website of the plugin builder to get an idea of what it does: https://masonry.desandro.com/ |
8989
| `statePositionTop` | boolean | optional | false | Default the brightness (for lights) and last_changed (for sensors) is shown in the title next to the current state (on/off) when this is true this state if chown next to the icon in a circle (inspired by: https://community-home-assistant-assets.s3.dualstack.us-west-2.amazonaws.com/optimized/3X/d/c/dcf67fccb5fa3772b2db6d38aeef307d01ba3bc8_2_1380x862.jpeg) |
9090
| `style` | string | optional | css | Use the style option to add extra CSS default there is a list of variables to easily overwrite colors, sizes of the tiles see the list of variables under the table |
91+
| `haptic` | string | none | `success`, `warning`, `failure`, `light`, `medium`, `heavy`, `selection` | Haptic feedback for the <a href="https://companion.home-assistant.io/" target="_blank">iOS Companion App</a> |
92+
| `doubleTapFallback` | string | optional | tap | double tap default fallback to a tap action, you can also change this to hold so it will fallback to hold action which default opens the more info popup |
93+
| `doubleTapDisabledWhenNoActionSet` | boolean | optional | true | This works togheter with the `doubleTapFallback` so when this is set to false there is a little delay on tap actions to determine if it could be a double tap, by setting this to `true` double tap is not used so it will just be 2 single tap actions without any delay |
9194

9295

9396
**Css variables and default values**
@@ -175,10 +178,12 @@ So below `statePositionTop: true` in our example we add the following:
175178

176179
As you can see we started with entities inside the entities we defined 1 item with a title rows and an empty list of more `entities`.
177180
These entities are the tiles we want to display in the row. let's add these tiles!
181+
You can also get haptic feedback for iOS user, this can be enabled globally or on each row by adding `haptic`.
178182

179183
```
180184
entities:
181185
- title: Row 1
186+
haptic: success
182187
entities:
183188
- entity: light.zithoek
184189
- entity: binary_sensor.wasmachine_status
@@ -218,6 +223,7 @@ In the above example we only set the `entity:` for a tile that is enough to let
218223
| `slider` | boolean | optional | false | If true a slider element is added to the tile to control the lights brightness |
219224
| `hide` | template | optional | "[[[ [template](#template-hide-or-customclass) ]]]" | With the use of JS in a template you can hide/show a tile |
220225
| `conditionalClass` | template | optional | "[[[ [template](#template-hide-or-customclass) ]]]" | With the use of JS in a template you can add a css class to a tile and in the style part of the card you can change the style any way you want |
226+
| `haptic` | string | none | `success`, `warning`, `failure`, `light`, `medium`, `heavy`, `selection` | Haptic feedback for the <a href="https://companion.home-assistant.io/" target="_blank">iOS Companion App</a> |
221227
222228
##### Template hide or customClass
223229

0 commit comments

Comments
 (0)