I have been just amazed at all the contributors on here that make HA as powerful as it is. Unfortunately, I do not know coding well enough to be able to contribute anything quite yet. I do have an idea for a project that some people may find useful but I need some help to make it a little better/easier to work with long-term. I’ll be happy to share the final product once I have it all working.
All of my experience in HA is from building my system at my home and I’ve learned a ton. At my office, we are needing a way to display if someone is in the office or not and we are looking for a more advanced solution to the traditional manual board. So, I started putting together an HA instance to do just that. It’s not an overly difficult configuration since all I needed was a bunch of input booleans. All the main work is on the UI.
My plan is to put panels near the entrances to the building where employees would tap on their status and it would update the main display boards. For each person, I created a horizontal stack card with some custom-buttons and it works the way I want it to. If the person changes their status to “In”, the In button highlights green and turns the off button back to transparent and vice versa when they change it to 'out".
On the main display board, I’m using auto-entities and layout to move people’s names to different areas and highlight them as their status changes. This is also working well and doing what I want.
I’m looking for a way to make it easier to maintain the In/Out screen where I can easily document how to add new users to the panel so that pretty much anyone at our office can add users. The horizontal stacks use about 40 lines of code and leaves too much room for error for the less-experienced users of HA. I then ran across the ability to create custom cards and started playing around. The advanced example does essentially what I want but not exactly how I want to display it. Java and html are just not in my wheelhouse so I was wanting to see if there was anyone out there that would be able to either modify the code in the example or create something new that mimics the buttons like my horizontal stack. I would prefer to use buttons as opposed the a slider.