restriction-card icon indicating copy to clipboard operation
restriction-card copied to clipboard

Restriction bypassed by clicking above locked entity

Open sparkydave1981 opened this issue 2 years ago • 4 comments

Checklist:

  • [x ] I updated to the latest version available
  • [x ] I cleared the cache of my browser

Release with the issue: HA 2021.11.2 Last working release (if known):

Browser and Operating System: Chrome, Windows 8

Description of problem:

If the mouse is clicked / tap is done above the locked entity then the restriction is bypassed and the entity can still be controlled.

image

Javascript errors shown in the web inspector (if applicable):


Additional information:

sparkydave1981 avatar Nov 10 '21 04:11 sparkydave1981

A clearer image of where to click to bypass the restriction, just on the radius of the grey circle:

Untitled

type: entities
entities:
  - card:
      entity: switch.lounge_dehumidifier
      name: Lounge Dehumidifier Power Monitor
    condition:
      entity: input_boolean.unlock_restrictions
      value: 'off'
    restrictions:
      pin:
        code: 3141
    row: true
    type: custom:restriction-card
    name: Lounge Dehumidifier Plug

tomlut avatar Nov 10 '21 04:11 tomlut

Seems to be same - https://github.com/iantrich/restriction-card/issues/71

ildar170975 avatar Jul 10 '22 22:07 ildar170975

I am also having this issue.. came to report it.. seems like its been a while since its been reported.. is this card still maintained?

lsaadeh avatar Sep 06 '22 10:09 lsaadeh

HA 2024.1 1.2.9 The behaviour does not appear anymore. Closed.

FALSE ALARM. Managed to reproduce. Reopened.

изображение

type: entities
entities:
  - entity: input_boolean.test_boolean
  - type: custom:restriction-card
    card:
      entity: input_boolean.test_boolean
    row: true

ildar170975 avatar Jan 16 '24 23:01 ildar170975