This project provides custom entities row for locks, covers and alarm systems in Home Assistant. The intent is to expose the locks/covers/alarm so that they can only be locked/closed/armed and not be unlocked/opened/disarmed through the ui. This is good for wall tablets or for users with restricted access.
This entity row only allows the lock command to be called on a lock and prevents the more-info popup from being shown. It looks like a normal lock row. Similarly, the only close cover row only allows the close_cover command to be called on a cover. The only arm alarm only allows the arm_alarm_home or arm_alarm_away to be called on an alarm_control_panel.
Add the type "custom:only-lock-lock-row" to your lock or "custom:only-close-cover-row" to your cover or "custom:only-arm-alarm-row" to your security system. Configuration is the same for both types in that they only have entity to be configured. Note that cover is intended an only tested on "Garage doors", it will work on other cover types.
entity: lock.front_door
type: custom:only-lock-lock-row
Or
entity: cover.garage_door
type: custom:only-close-cover-row
Or
entity: alarm_control_panel.house
type: custom:only-arm-alarm-row
type: entities
entities:
- entity: lock.front_door
type: custom:only-lock-lock-row
In general, the intended purpose of this is complete, outside of maintenance/cleanup. However, there are some optional features I want to add.
- Add battery level icon next to lock
- Requires setting a battery sensor entity per lock.
- Allow specific user to unlock and view the more info popup.
- Support theming?