Villhellm / custom-sidebar

Custom Sidebar for Home Assistant
115 stars 23 forks source link

Installing Custom Sidebar Module #13

Closed NeWoKiKi closed 4 years ago

NeWoKiKi commented 4 years ago

Hi,

Sorry, I don't think that's a real issue... maybe (or certainly ?) my bad but it' not working for me. I searched for a way to contact you elsewhere but I didn't find so I'm raising this issue.

I installed HACS 1.4.1 on my Home Assistant 0.114.3, then I installed Custom Sidebar 0.1.7 using HACS.

I followed all instructions : I added function in my configuration.yaml

frontend:
  extra_module_url:
    - /hacsfiles/custom-sidebar/custom-sidebar.js

I created my sidebar-order.yaml using exemple at first

order:
  - item: map
    hide: true
  - item: developer tools
    href: /developer-tools/state
  - item: overview
  - item: history
    bottom: true
  - item: logbook
    bottom: true

I restarted HA but nothing happen.

I can see a new line as Javascript in Resources /hacsfiles/custom-sidebar/custom-sidebar.js

Maybe I missed something ? Is there anything else to do to get it work ?

Thanks by advance, Regards,

Villhellm commented 4 years ago

Where did you put the sidebar-order.yaml file?

NeWoKiKi commented 4 years ago

/config/www/sidebar-order.yaml

As requested in Step 3

Villhellm commented 4 years ago

Do you see any errors in your browser console?

NeWoKiKi commented 4 years ago

No, there's no error in log book I only see 1 warning :

2020-08-21 14:10:34 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

Or maybe there's another way to see "hidden logs" ?

Villhellm commented 4 years ago

No not the Home Assistant log, your browser console log. You can usually open it by hitting F12 in the browser.

NeWoKiKi commented 4 years ago

In console logs I have this :

Custom Sidebar is loading
custom-sidebar.js:123 Custom Sidebar is loaded

I don't see any error

Villhellm commented 4 years ago

I don't know why it's not working then, sorry. My last guess would be that your HA language isn't English

NeWoKiKi commented 4 years ago

I tried to switch for English language but I have the same issue. Nothing change, just like I didn't installed Custom Sidebar

Villhellm commented 4 years ago

Can you screenshot what your sidebar looks like and the page that loads when you go to <your-ha-ip>/local/sidebar-order.yaml?

NeWoKiKi commented 4 years ago

image

This is what my Sidebar looks like and when I go to your URL, it's downloading "sidebar-order.yaml" and this is what it contains :

order:
  - item: map
    hide: true
  - item: developer tools
    href: /developer-tools/state
  - item: overview
  - item: history
    bottom: true
  - item: logbook
    bottom: true
Villhellm commented 4 years ago

Did you not see this note in the readme

NOTE: If you are using a language other than English make sure to include both the English word and a second entry with the translated word that is displayed in your browser for the item: portion of the config. This will ensure that the item is moved/hidden regardless of the time at which it is rendered. Example: Language Portuguese
NeWoKiKi commented 4 years ago

No I didn't, sorry.

Now it's working well, thank you very much and sorry again