Skip to content

Commit

Permalink
Added min and max options #15
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolae Farmache authored and nicufarmache committed Mar 26, 2023
1 parent df3f0d9 commit e73da73
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ colorize: true
icon: mdi:lamp
show_percentage: true
bold_text: true
min: 1
max: 80
hold_time: 600
settle_time: 3000
tap_action:
Expand All @@ -67,6 +69,8 @@ hold_action:
| icon | string | **Optional** | Sets custom icon | entity icon |
| show_percentage | boolean | **Optional** | Show percentage under entity name | false |
| bold_text | boolean | **Optional** | Make taxt font bold | false |
| min | number | **Optional** | Maximum value for slider | `0` |
| max | number | **Optional** | minimum value for slider | `100` |
| hold_time | number | **Optional** | Hold gesture time (ms) | `600` |
| settle_time | number | **Optional** | Ignore updates after changig the value (ms) | `3000` |
| tap_action | object | **Optional** | Action to take on tap | `action: toggle` |
Expand Down

0 comments on commit e73da73

Please sign in to comment.