-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Input select template #68
Comments
Can you give us some more info like screenshots or samples of the code you are currently using so we can get a better understanding of what you really need? |
Sorry, I thought it made more sense when I wrote it LOL. So this is my current set up. its been bastardised from: https://github.com/pqpxo/SWAKES_hassio/tree/master/guides/Light%20Dashboard%202.0/YAML So I have this first part that looks fine they are button cards that pick an input select
That's just for one of the room select buttons. But the light buttons look rubbish. below is the code for just one of the buttons. So I was wondering if this would be the kind of functionality you guys might want to template. similar to the input Boolean template. Hopefully this will be a lot clearer :)
|
Hi @1liminal1, sorry for the late reply. |
Hey mate, Thanks for that! It does work. But one thing I don't understand and thought that themes and templating were the point of sorting out (maybe I'm wrong) is spacing. They are all stuck together. And when I do hit the select for the light it just trys to add it in the end Am I just misunderstanding how templates works? I just don't really understand the point if its not going to align it for you LOL Let me know, or if there is something I've missed in the doco? Thanks again for remembering and pointing me at this, I do appreciate that. And if I should be looking at some other place for the spacing issues, please let me know :) This is my code with only one light attached right now
|
I'm sorry, but templates and themes only take care of the respective design of the cards and the general color design of the ui. Only the distance of the individual cards to each other is determined, but not where they are located. Our theme/UI is unlike dwains Dashboard or HKI not a 1 click solution, because we still want to keep the greatest possible freedom in the layout and the dashboard design. Therefore, it currently requires a bit more manual work. |
By the way, it looks like you put your horizontal stack into another card? What kind of card is that? In your code example you can only see the definition of the icon. Maybe this card causes your problems? |
Ok, so its meant to be like that. I do have the custom layout card and I'm playing with it now. But Its not working for me correctly. Not your problem though LOL :) I didn't have it separated out at first (this is not my area, so teaching myself as I go) So I have it looking better. But again issues with the layout card the layout break is not working for me. Ill get on the HA forums for that. Thanks so much for your help :) |
I'm currently using input selects to bring up options for different rooms. But because my CSS is crap, it looks like a dogs breakfast.
Can I request this? Or is there already a template that would work and I've missed it?
Thanks so much and awesome work :)
The text was updated successfully, but these errors were encountered: