I can’t figure this out. I used the “Configure UI” to create 2 more views but the third one is a duplicate of the first. If I delete the third one, it also deletes the first one. I created a 4th view and it happened again. So, now the 1st, 3rd, and 4th views are exactly the same.
Everything was fine with the 2nd view. When I created a third which was to have my Google calendar, it worked until I restarted HA.
The icon for the 3rd one is still a calendar but the configuration is showing “mdi:home”.
I need to clarify because this is pretty confusing. After creating 2 views, I created a 3rd called: Calendar. When it came time to do a restart of HA for a config change, the content in the 3rd view no longer had my google calendar. It was now a duplicate of the 1st view. I’m on 102.3. This also happened on 101.1.
When I was on 101.1, I deleted the 3rd view and it not only deleted the 3rd view, it also deleted the 1st view. Now on 102.3, I’d rather not delete the 3rd view because I’m pretty sure it will deleted the 1st view again. When I pull up the raw editor I see remnants of the 3rd view calendar configuration.
I looked at some of the HA demo sites and when I look at the raw configuration output, it’s not at all like mine. It’s indented properly and looks structured. Mine is not. When I look for patterns in my raw config, nothing is sequenced logically, it’s weird as hell. I’m going to see what I can do to re-structure my data (to emulate some of the demos) and see if that corrects things.
A quick FYI. After creating the 3rd view (calendar) and restarting HA, both views have the same name (view 3 was changed to whatever view 1 was). If I change the name of view #3, it also changes view 1’s name to match. Essentially, 1 & 3 are the same view - except for the ‘Title’ and ‘icon’.
One thing to note is that when you change the icon to view 1 it does change the icon setting for view 3 but the actual icon is still a calendar. So, your suggestion to ensure that each view has a unique name is not possible. I have tried that and no matter what view I edit, the other view will match it. This is a bug.
Eeek. That’s not good. When I accidentally duplicated a view name I was able to change one of them.
Looks like you are going to have to edit the raw view. Make a copy of .storage/lovelace and put it somewhere safe before you start editing. That way if the worst happens and you can’t open the front end all you have to do is copy the file back using samba or ssh.