Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restriction bypassed by clicking above locked entity #66

Open
sparkydave1981 opened this issue Nov 10, 2021 · 4 comments
Open

Restriction bypassed by clicking above locked entity #66

sparkydave1981 opened this issue Nov 10, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@sparkydave1981
Copy link

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 sparkydave1981 added the bug Something isn't working label Nov 10, 2021
@tomlut
Copy link

tomlut commented Nov 10, 2021

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

@ildar170975
Copy link
Collaborator

Seems to be same - #71

@bughaver
Copy link

bughaver commented Sep 6, 2022

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?

@ildar170975
Copy link
Collaborator

ildar170975 commented Jan 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants