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

Add support for Locking thermostat keypad #253

Merged
merged 5 commits into from
Jan 31, 2025
Merged

Conversation

ocrease
Copy link
Collaborator

@ocrease ocrease commented Jan 30, 2025

This PR delivers the feature request in #252. It adds two new entities:

  • A Lock entity that allows locking and unlocking. Clicking lock in the UI will use whatever pin number was previously used. If you want to set a new pin number, call the lock.lock service and provide a number between 0 and 9999. Numbers less than 1000 are padded with 0 at the beginning, eg 12 becomes 0012. This entity is available both on thermostats and time clocks.
  • User Limit - controls the temperature up/down limit when the thermostat is locked. Setting it to 0 will mean that the temperature can't be changed on a locked thermostat unless it is unlocked. Only available on thermostats

@ocrease ocrease merged commit 21226a7 into MindrustUK:dev Jan 31, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant