home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.08k stars 2.8k forks source link

Lovelance dashboard can not be switch to auto mode #7818

Closed majkrzak closed 3 years ago

majkrzak commented 3 years ago

Checklist

The problem

Is it not possible to simply switch lovelance dashboard back to be automatically manage after switching to manual mode without manual hacking/removing /config/.storage/lovelance

Expected behavior

Steps to reproduce

  1. Switch dashboard to manual mode
  2. Cry
zsarnett commented 3 years ago

This is not a bug. You can create a new dashboard easily in the configuration... The action for that dashboard should not be reversable

majkrzak commented 3 years ago

Why so? For me it sounds like a major design flaw. Especially together with lack of possibly to remove default dashboard. When someone will switch it to manually mannaged he is doomed forever by design.

SeanPM5 commented 3 years ago

You can switch back to auto generated mode by doing the following:

  1. Click Lovelace action menu (3 dots)
  2. Edit Dashboard
  3. Click Lovelace menu again, this time enter "Raw configuration editor"
  4. Select all -> Delete everything -> Hit "Save" button in top right
  5. Accept prompt

It's kind of hidden / undiscoverable, but that's for the best IMO as you don't want to accidentally do this and lose all your edits.

iantrich commented 3 years ago

You can also do:

  1. Create new auto dashboard
  2. Make it default
  3. Delete old dashboard

Given there are multiple solutions to this, I'm going to close. Perhaps a PR to docs could be beneficial to explain