How can I disable the Lovelace component?

Hello, Is there a was to disable the lovelace component?

Other components such as mqtt and recorder you can simple just comment out or remove the relevent line in the configuration.yaml and the component is disabled, how can I do the same thing lovelace component?

Thanks

why are you trying to do this? Did you turn it on and now wish to un-do it? If so, go to the hamburger menu in the upper left that looks like this:

image

then go to ā€œiā€ in the circle in the developer tools section at the bottom:

image

there you will see a message between >> and << to set the old front end as the default.

But just so you know - the whole thing is moving to Lovelace by default soonā€¦

If your goal is what mine was a while ago, of trying out some lovelace cards on your standard display, it doesnā€™t work that way. With lovelace you are either all in or all out.

Now, if youā€™ve already got a frontend designed the way you like it, there are add-ons that will do a conversion for you to lovelace and are actually quite good at it. They actually keep your design pretty intact and just convert to the new display codes.

why are you trying to do this?

Iā€™m trying to speed things up a little by turning off things that Iā€™m not using in the configuration.yaml file - Iā€™m using the old Polymer UI on all my devices.

If disabling Lovelace isnā€™t possible or causes issues then Iā€™ll leave it on.

But just so you know - the whole thing is moving to Lovelace by default soonā€¦

Thanks for letting me know - does that mean the old Polymer UI will stop working all together? Or that I just need go to ā€œiā€ in the circle and click ā€˜set the old front end as the defaultā€™ in future installs?

Iā€™d like to stick to the old UI for now as found Lovelace doesnā€™t work that well for me on some Tablet devices, I know it is still considered ā€˜experimentalā€™ right now so issues are to be expected. :slight_smile:

FYI. Iā€™m pretty sure lovelace is going to be the default in the next release or two.

Lovelace isnā€™t something you turn on or off or include or not include. Itā€™s just there and it uses the ui-lovelace.yaml file for its config.

if you donā€™t want to use Lovelace then just donā€™t set it as the default in the frontend.

1 Like

Coorect, in 0.84 lovelace is the default.

Hi, are there any docs or quick summary of how to use the old UI by default post-84.x?

Iā€™m still trying to port over my UI, and wish to manage the transition.

In .86 you can go to
dev-info page
on there there is a button
SET STATES AS DEFAULT PAGE ON THIS DEVICE

bear in mind you need to do this on every device and in future this functionality could be removed

1 Like

Nice, thanks.

That works great. :+1: