Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing docs, pls help. #180

Open
nardev opened this issue Feb 18, 2020 · 4 comments
Open

Confusing docs, pls help. #180

nardev opened this issue Feb 18, 2020 · 4 comments

Comments

@nardev
Copy link

nardev commented Feb 18, 2020

I tried several times but those docs are pretty confusing to me.

In stead of real complete examples, there is some unclear hosted/local examples without enough explanation what does what.

I was expecting the sliders to appear below the cover controls, but nothing happened. In the log i see that it is loading but.. is ti? I cleaned cache too.

2020-02-18 17:39:25 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for customizer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.

I have HA running in docker and i have placed this in my configuration yaml

customizer:
custom_ui: hosted

frontend:
extra_html_url:
- https://github.com/andrey-git/home-assistant-custom-ui/releases/download/20171129/state-card-custom-ui-dbg.html
extra_html_url_es5:
- https://github.com/andrey-git/home-assistant-custom-ui/releases/download/20171129/state-card-custom-ui-dbg-es5.html
homeassistant:
customize:
cover.balcony_cover:
friendly_name: Balcony Cover
custom_ui_state_card: custom-ui

@Mariusthvdb
Copy link

Mariusthvdb commented Feb 19, 2020

the docs clearly state you should use 1 of the listed options.

since the extra_html_url is deprecated in modern HA, you're left with the customizer option. And since custom_ui isn't updated any longer, I suggest you use

custom_ui: local

to prevent the use of an external connection for custom-ui to load.

also, if the config you gave above is correctly copied, your spacing is incorrect, and a bit of a mess really.

it should at least be:

homeassistant:
  customize:
    cover.balcony_cover:
      friendly_name: Balcony Cover
      custom_ui_state_card: custom-ui

@nardev
Copy link
Author

nardev commented Feb 20, 2020

@Mariusthvdb thank you for help but i still have no idea what is that i need to do in complete. The docs is IMHO pretty confusing for someone looking at that first time.

What is option one, there is plenty, related and unrelated 1.1. 1.2. etc..

If i run HA with docker, where to download those libs, what paths should i use etc etc etc..

And why not to put complete example and simple say:

"Put this in your configuration yaml"

Obviously current is not so clear IMNO. Sorry.

If i put this in the configuration, is this ok:

customizer:
  custom_ui: local
frontend:
  extra_html_url:
    - https://raw.githubusercontent.com/andrey-git/home-assistant-custom-ui/master/state-card-custom-ui.html
  extra_html_url_es5:
- https://raw.githubusercontent.com/andrey-git/home-assistant-custom-ui/master/state-card-custom-ui-es5.html

homeassistant:
  customize:
    cover.balcony_cover:
      friendly_name: Balcony Cover
      custom_ui_state_card: custom-ui

@nardev
Copy link
Author

nardev commented Feb 23, 2020

I actually see the slider but only in the popup when i click on a control name. I wanted it on the front card immediately to be shown.

@Mariusthvdb
Copy link

Yeah, custom-ui was for States , not for Lovelace.

Most of the features are no longer functional in the Lovelace frontend (except icon_color and a few others) but still visible in the more—info pop-up. Even the extra badges are functional there...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants