kloggy / HA-Irrigation-Version2

221 stars 55 forks source link

Pop up doesn't work #82

Closed michelemattesini closed 1 year ago

michelemattesini commented 1 year ago

Hi I have installed everything (I am running Home Assistant 2022.9.1), including browser mod 2.0, pop-up card and all the other prerequisites, but when I go to update the zones or customize the labels the popup does not open and I can't choose the number of zones, the weather sensors and all the other customization. Does anyone can help me? Thanks

ahmaddxb commented 1 year ago

I'm facing this issue too.

michelemattesini commented 1 year ago

Screenshot

This is what I can see..with no popup working, no font name e no cycles name, even after having checked that each component is updated (maybe browser mod 2.0 can be the problem?)

shakin89 commented 1 year ago

You should install browser_mod V 1.x. version 2 introduced breaking changes that needs adapting the code everywhere. Ha irrigation doesn’t stil support browser_mod v2

michelemattesini commented 1 year ago

You should install browser_mod V 1.x. version 2 introduced breaking changes that needs adapting the code everywhere. Ha irrigation doesn’t stil support browser_mod v2

I tried it but with no results..could you gently explain me how to do that in the easiest way so that I can solve this issue? Unfortunately in HACS I can't find an older version to do that rapidly.

shakin89 commented 1 year ago

I think you should uninstall it from HACS then when you install it again you should be able to select the version

michelemattesini commented 1 year ago

I think you should uninstall it from HACS then when you install it again you should be able to select the version

I tried, but browser mod in HACS has only last versions available (from 2.0)..

shakin89 commented 1 year ago

you can read how to do here https://community.home-assistant.io/t/my-garden-irrigation/99686/1632

michelemattesini commented 1 year ago

Thanks so much! It seems to work!!

ahmaddxb commented 1 year ago

lovelace.zip

I have changes all the files I believe are required to make this compatible with browser mod v2.

you need to copy the files from the zip into <your config dir>/lovelace/folder and overwrite the existing files.

Then restart

Let me know if you find anything still not working.

P.S make sure to clear browser cache

Edit: browser mod v1 to v2 image

dapuzz commented 1 year ago

Thanks ahmaddxb can you try to submit a pull request to @kloggy to update all browser_mod popup functions? It will be very usefull.

ahmaddxb commented 1 year ago

Thanks ahmaddxb can you try to submit a pull request to @kloggy to update all browser_mod popup functions? It will be very usefull.

Yes I have already, https://github.com/kloggy/HA-Irrigation-Version2/pull/83

kloggy commented 1 year ago

Many thanks to @ahmaddxb for doing this while I was away. I still don't know how to use GitHub properly so I hope I merged it correctly...

I have not found a way to change the font of the popup header so there are a few lines of 'style' that don't do anything (or have any other effect). If anyone works out how to this before me, please post the solution!