Skip to content

Releases: iantrich/restriction-card

style console

03 Nov 04:43
Compare
Choose a tag to compare
1.1.3

bump

General housekeeping

03 Nov 03:59
Compare
Choose a tag to compare
1.1.2

housekeeping

added version printout to console

24 Oct 21:42
Compare
Choose a tag to compare
1.1.1

add version number print out

add icon height/width css vars

22 Oct 03:36
Compare
Choose a tag to compare
name Default Description
restriction-lock-icon-height 24px Lock icon height
restriction-lock-icon-width 24px Lock icon width

restriction-lock-row-margin-left

22 Oct 02:53
Compare
Choose a tag to compare
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

21 Oct 17:58
Compare
Choose a tag to compare
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

21 Oct 03:19
Compare
Choose a tag to compare
1.0.7

cleanup click handlers

add action option

21 Oct 02:31
Compare
Choose a tag to compare

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

18 Oct 00:08
Compare
Choose a tag to compare

New Option

Name Type Requirement Description
duration number Optional Duration of unlock in seconds. Default is 5

initial support for rows

17 Oct 18:47
Compare
Choose a tag to compare

new row option which will set the icon's margin-left to 24px
image

new theme option restriction-lock-margin-left so that you can position the left/right for card lock icon