lovelylain / hass_ingress

Home Assistant ingress feature, add additional ingress panels to your Home Assistant frontend.
Apache License 2.0
31 stars 6 forks source link

How to use? #7

Closed Antecer closed 1 month ago

Antecer commented 2 months ago

I just add this code:

ingress:
  add_ons:
    work_mode: ingress
    ui_mode: toolbar
    title: Add-ons
    icon: mdi:puzzle
    url: /hassio/dashboard

but when i click the icon, it show:
502: Bad Gateway

Antecer commented 2 months ago

image

lovelylain commented 2 months ago

@Antecer

work_mode: iframe
ui_mode: replace
Antecer commented 2 months ago

It works! Thank you.

Antecer commented 1 month ago

After some time, the tab cannot be opened

image

Antecer commented 1 month ago

already fixed it. just need set '__init__.py': URL_BASE = '/config/custom_components/ingress/www'