Open Michelone86 opened 2 months ago
Hi @Michelone86, can you let me know how long you have been noticing this issue? Do you think it might be related to a recent Home Assistant update?
Hi @neilimixamo, I've had this problem for about 1 month. I don't know why it happens, I also tried clearing the cache of the companion app but nothing changes :(
Hi @neilimixamo, any ideas or feedback? Thanks ✌🏻
Hi @Michelone86, to be honest, I don't have a clear idea of what is causing this bug, but I will have more time this weekend to do some research. Feel free to share all your observations to better define the problem.
@Michelone86, perhaps the issue is related to the use of the horizontal-stack card inside the custom:button-card. Try to replace /templates/layout/menu.yaml
with this revised version and tell me if the bottom menu now always appear when opening HA app.
Hi @neilimixamo, I updated the code you sent me. The situation has improved a lot, the bottom menu now always appears, but unfortunately the two headers at the top still don't always appear. I'm attaching a screenshot, thanks 🙏
Ok, this confirms that the header and subheader do not appear because they also include the horizontal-stack card. I will also adjust their code to fix your problem.
For the header, can you try replacing in /templates/layout/header.yaml
row2:
card:
type: horizontal-stack # CATEGORIES
cards:
- type: custom:button-card # SECURITY
with
row2:
card:
type: grid
columns: 5
square: false
cards:
- type: custom:button-card # SECURITY
and tell me if it fixes the problem. I'll do the subheader section next
Hi @neilimixamo, I modified the code but now the header looks like this...
Did you indent the code correctly? It looks like the columns: 5
is not being considered
Try with this full code
ok I solved it, my mistake, I copied the code manually from the phone and wrote "colums" instead of "columns"... 🙈🙈🙈
Thanks, I'll update you tomorrow so I can do some tests 😉
Another thing, I noticed that your main section is truncated at the bottom.
You can adjust line 10 of each of your views with
grid-template-rows: 19.5vh 6.5vh 51vh 4vh 10vh 9vh
to display the section back in its entirety
Thanks for your suggestion! I tried to modify the code in the home view but unfortunately the view is still cut off 🤷🏻♂️
Can you also adapt line 39
height: 51vh
Hi @neilimixamo , I confirm that the modification on the menu and header works perfectly! All that remains is to fix the subheader, I tried to do some tests but I didn't succeed 😔
Finally, the main section remains truncated even by modifying line 39 🤷🏻♂️
Ok, maybe you should add more height to the main section and decrease one of the other sections until you find what fits perfect to your screen.
I'll update the subheader layout soon
Hi Neil, I hope you can help me.. why does the dashboard appear like this every time I open Home Assistant? I go out, I come back, I go out, I come back and then everything shows correctly. Thank you!