User-based configuration for a dashboard?

I did setup dashboard, which shows/hides entities by using conditional cards and/or visibility conditions. As backend for decisions when to show or hide something I’m using input_select.

Now I would like to make this dashboard to be multi-user friendly, so that each user could select own options. The problem is that the input_select state is global, so when one user selects something - everyone is directly affected.

So I’m wondering now, how I could workaround this? As the number of users is limited, I could setup an input_select per user, but I’m still missing ideas how should I setup the conditions to determine who is the “current” user seeing the dashboard, so that appropriate input_select is evaluated…

Are there any better options how to solve this? Maybe something with conditions based on local storage (like browser_mod extension is doing it)? Is this possible at all?

If you have the input_select per user, you could use AND/OR conditions like:

visibility:
  - condition: or
    conditions:
      - condition: and
        conditions:
          - condition: user
            users:
              - 000000000000user1id
          - condition: state
            entity: input_select.user_1_select
            state: xyz
      - condition: and
        conditions:
          - condition: user
            users:
              - 000000000000user2id
          - condition: state
            entity: input_select.user_2_select
            state: xyz

Yes it is pretty ugly :sweat_smile:

A bit messy, but it works even with UI configuration, which is sometimes quite useful on the go. Thanks for the suggestion - will try this