Skip to content

[ISSUE] UI hide/show Door Code button toggles all codes #1121

@OsulivanAB

Description

@OsulivanAB

What happened?

When I'm in the generated UI page if I go to the lock summary screen, I'll see all the slots that I've provisioned and for the ones with codes it will have the code hidden with an eyeball next to it. Howe ever if I click the eyeball to see the code on a slot, it actually reveals the codes in the other slots as well.

Steps to reproduce the issue

  1. Add an entry with at least two slots enabled
  2. Assign a code to each slot
  3. Create a page in the ui using the custom:lock-code-manager strategy
  4. Wait for the codes to be put into the locks
  5. In the UI, scroll to the bottom where you see the summary of the lock itself
  6. Click on the eye next to one of the codes in order to un-hide it.
  7. You'll notice that it does become visible, but so does the other slot.

Home Assistant Version

2026.4.4

What version of Lock Code Manager are you running?

3.1.0

Lock make and model

No response

Debug logs (paste)

Debug logs (upload)

No response

Lock Code Manager diagnostics (upload)

No response

Lock integration diagnostics (upload)

No response

Diagnostics (paste)

Browser console logs (paste)

Browser console logs (upload)

No response

Screenshots

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions