esphome / esphome/feature-requests

Ask for pin code to unlock Lock component

Open
#2,154 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

Lock component could have an option to ask for pin code to allow unlock of it.
I see that HA component of Esphome is ready for it: https://github.com/home-assistant/core/blob/452e1d341de76c27ebaf04eb3039d5bd05de2988/homeassistant/components/esphome/lock.py#L82-L85

Thanks in advance!

**Please describe your use case for this integration and alternatives you've tried:**

I tried alarm mqtt component, but it feels too complicated and it's verified on HA side.

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the Lock component and the linked Home Assistant esphome lock.py reference, then compare the requested PIN unlock behavior with the existing alarm mqtt component. Done means the Lock component has a documented, usable PIN-based unlock option and its behavior is covered by the project's relevant tests.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.