I seem to be having an issue with Lovelace/1 appearing even though I have designed a custom view for the intended mobile device. Does my configuration look correct? The below config appears on every view in my ui-lovelace.yaml file except the very last one (which is omitted from the configuration anyway).
mayker
(maykar (pronounced "maker" with a southern accent))
189
There is no view 0 for user_agent_views.
Looking back on it, I should have started tab numbering with 0 as lovelace does that in the URL, but at least for now numbering starts at one. So, give this a shot:
That seems to have done the trick. Strange that the numbers are so far off.
mayker
(maykar (pronounced "maker" with a southern accent))
191
Yeah, I agree. I’ll probably add a breaking change to fix it unless there are any objections. When I did it I was thinking of ease of use, but forgot that the default URLs start with tab 0.
I have just started using this and it works great on my tablets, so thank you.
I do have one issue though, this message keeps appearing in my log: http://hassio.local:8123/local/custom-lovelace/compact-custom-header/compact-custom-header.lib.js?v0.2.7:185:50 Uncaught ReferenceError: hide is not defined
mayker
(maykar (pronounced "maker" with a southern accent))
194
That all looks correct, as long as the usernames are right. Any errors? Does the header work at all?
mayker
(maykar (pronounced "maker" with a southern accent))
195
Reinstall the card and make sure you’re copying the raw files from github. Be sure to add something like 01 to the end of the resources portion. so if its
Every time I’ve had problems with cards, my indentation was to blame. Here’s a sample of a user specific view from my lovelace config that works. Maybe this will help?
Is it possbile to turn views on and off? One view when at home another when at work for example. I e switch between default and specific for user.
mayker
(maykar (pronounced "maker" with a southern accent))
205
Not currently if it’s the same device, if it’s different devices I’d just use user agent over username. I’ll have to think about the best way to implement something like this.
Awesome addition to my lovelace collection. Thank you for making space for our buttons
I have a background on my views and since the header is now gone, my footer is gray (gets the color from the theme, I guess). That means that my bg is no longer fullscreen
mayker
(maykar (pronounced "maker" with a southern accent))
207