Closed carldebilly closed 4 years ago
Other than seeing if the user is_admin
or is_owner
there is currently no way to access a user's group within Lovelace. While I agree that this would be a useful feature, it would be much more useful once that info is made available, especially custom groups. Once that happens I will add this to CCH.
Is your feature request related to a problem? Please describe. I would like to be able to use the User/Device Exceptions feature, but instead of targetting specific users or specific devices, I would like to target groups. This way I won't have to change the UI when I add or remove a user from the system: I'll just put them in the right group.
Describe the solution you'd like
Base on this: https://developers.home-assistant.io/blog/2019/03/11/user-permissions.html