Releases: iantrich/restriction-card
Releases · iantrich/restriction-card
added version printout to console
1.1.1
add version number print out
add icon height/width css vars
name |
Default |
Description |
restriction-lock-icon-height |
24px |
Lock icon height |
restriction-lock-icon-width |
24px |
Lock icon width |
restriction-lock-row-margin-left
name |
Default |
Description |
restriction-lock-row-margin-left |
24px |
Manually bump the left margin of the lock icon in rows |
allow for inferring of row type based on entity
type: "custom:hui-entities-card"
entities:
- card:
entity: cover.garage_door
restrictions:
block: true
type: "custom:restriction-card"
row: true
- entity: light.kitchen
cleanup click handlers
1.0.7
cleanup click handlers
add action option
Action type to trigger the unlock. Options are tap
, double_tap
, or hold
. Default is tap
Name |
Type |
Requirement |
Description |
action |
string |
Optional |
Action type to trigger the unlock. Options are tap, double_tap, or hold. Default is tap |
add duration option
New Option
Name |
Type |
Requirement |
Description |
duration |
number |
Optional |
Duration of unlock in seconds. Default is 5 |
initial support for rows
new row
option which will set the icon's margin-left
to 24px
new theme option restriction-lock-margin-left
so that you can position the left/right for card lock icon