UI-Lovelace-Minimalist / UI

UI-Lovelace-Minimalist is a "theme" for HomeAssistant
https://ui-lovelace-minimalist.github.io/UI/
Other
1.63k stars 430 forks source link

Admin Only #1351

Open WaizenErnter opened 1 year ago

WaizenErnter commented 1 year ago

Please make it possible to set the ULM Dashboard to admin only. TY

KGS501 commented 1 year ago

You can already do this by making the dashboard only accessible to certain users. To do this get the user-id in Settings -> People -> Users (navbar at the top) -> click on the a user and copy the ID:

Then in your dashboard add the visible: option and paste die IDs of the users, which should have access to the dashboard like so: image

kaaspad commented 9 months ago

another way....

edit the file custom_components/ui_lovelace_minimalist/base.py

search for yaml, around line 350ish you will see the configs for the regular dashboard and adaptive dashboard - there is a like that says require_admin, change it from False to True. restart HA. not sure this will last an update of ULM so might need to do it again after updating ULM.