I am looking to make an entity available only to select users. Preferably by passing the the username of the current user to a script as as variable. OR if there is another way to do this I am open to suggestions.
I’m bringing this up again because the title is really what I need. I’m making a task tracking app with the tasks displayed in Lovelace.
I need to be able to pass which user pressed a button to a python script.
Right now I have this working by making two separate tabs that look the same ,but call different python scripts. While that works it’s very inefficient making the same page twice with 50+ buttons even when they are templated.