home-assistant-custom-ui icon indicating copy to clipboard operation
home-assistant-custom-ui copied to clipboard

Is the custom ui working with lovelace?

Open fernmac2 opened this issue 5 years ago • 6 comments

Hello, I am using hass.io 0.100.2 with lovelace and custom ui 20190518, I am nos sure if I am doing something wrong but after installing, loading and customizing entities, nothing happens. Is it still working with latest lovelace?

fernmac2 avatar Oct 21 '19 14:10 fernmac2

Yes, it works for me. First, you need to call homeassistant.reload_core_config or restart home assistant to load the customizations. The value/state of the entities that you’re customizing also need to change to reflect the customization, so you either need to wait for that, or call homeassistant.update_entity.

rccoleman avatar Oct 21 '19 14:10 rccoleman

Thanks for answering. Maybe I am doing something wrong, I installed and loaded as instructions, I restarted HA, in my customize.yaml file, I wrote for testing:

cover.estores1_dinner_room: custom_ui_state_card: state-card-custom-ui state_card_mode: break-slider

but I watch my frontend with the entity in question and nothing happens. The log as no error also.

fernmac2 avatar Oct 21 '19 14:10 fernmac2

Sinz HA Version 100.2 this implementation don't work for me. Home Assisrant did not start because of an error in line 27 in custom state card ui.

duffel90 avatar Oct 23 '19 17:10 duffel90

I've not been working on HA for almost two years. I've upgraded to 0.93.2, just after Lovelace. Nothing about CustomUI works any more. Not sure what to do. The most important one is hide_in_default_view.

Any advice on what might have changed?

jtitley avatar May 31 '20 09:05 jtitley

See https://github.com/Mariusthvdb/custom-ui

Btw you should really read up on the differences between Ha States and Lovelace.

Most functionality of ‘old’ custom_ui was for States. As the one you asked about.

Mariusthvdb avatar May 31 '20 10:05 Mariusthvdb

Looks clean, I can't wait. I must suffer through a Python 3.7 upgrade first though, considering how many versions behind I am.

jtitley avatar May 31 '20 11:05 jtitley