Skip to content

Commit

Permalink
Fix auto slider, add transition
Browse files Browse the repository at this point in the history
  • Loading branch information
DBuit committed Dec 23, 2021
1 parent 627ede7 commit 3543c29
Show file tree
Hide file tree
Showing 3 changed files with 2,295 additions and 1,680 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ resources:
| `settings` | boolean | optional | false | When it will add an settings button that displays the more-info content |
| `settingsPosition` | string | optional | `bottom` | set position of the settings button options: `top` or `bottom`. |
| `displayType` | string | optional | `auto` | set the type of the card to force display slider of switch options: `slider` or `switch`. |
| `brightnessTransitionEnabled` | boolean | optional | `false` | set to true to enable brightness transition. |
| `brightnessTransitionTime` | string | optional | `0.5` | set the duration the transition for the brightness should take default is 0.5 sec. |

To show actions in the pop-up you add `actions:` in the config of the card follow bij multiple actions.
These actions are calling a service with specific service data. For people that used the `services:` before can still activate scenes look at the first example below. Besides a service call you can set the `action` parameter to `fire-dom-event` to open another popup for example
Expand Down
Loading

0 comments on commit 3543c29

Please sign in to comment.