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

Incompatable with hass-action / mushroom cards v3 #598

Closed
4 tasks done
lichenophile opened this issue Jul 7, 2023 · 46 comments · Fixed by #599
Closed
4 tasks done

Incompatable with hass-action / mushroom cards v3 #598

lichenophile opened this issue Jul 7, 2023 · 46 comments · Fixed by #599

Comments

@lichenophile
Copy link

lichenophile commented Jul 7, 2023

My Home Assistant version: 2023.07.1

What I am doing:
Attempting to use a mushroom card action from within a browser mod popup

What I expected to happen:
Response to action

What happened instead:
Nothing

Minimal steps to reproduce:
1 Create a browsermod popup with a mushroom card within it
2 Attempt to perform an action of the mushroom card

The cause:
Mushroom v3.0.0 uses the new hass-action which seems to be causing an incompatibility with browser_mod
piitaya/lovelace-mushroom#1193


By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I:

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).

  • Have made sure I am using the latest version of the plugin.

  • Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.

  • Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

@lichenophile lichenophile changed the title Incompatable with mushroom cards/hass-action Incompatable with mushroom cards+hass-action Jul 7, 2023
@lichenophile lichenophile changed the title Incompatable with mushroom cards+hass-action Incompatable with hass-action / mushroom cards v3 Jul 7, 2023
@baerenmarke90
Copy link

+1 I've got the same issue with browser mod and mushroom cards

2 similar comments
@andrey170183
Copy link

+1 I've got the same issue with browser mod and mushroom cards

@ErikT80
Copy link

ErikT80 commented Jul 8, 2023

+1 I've got the same issue with browser mod and mushroom cards

@blackvrs
Copy link

blackvrs commented Jul 8, 2023

+1 I've got the same issue with browser mod and mushroom cards

@themaartenz
Copy link

+1, same here. Controlling a device within a Mushroom card in general works, unless it's configured within a popup (browser mod), then it's unresponsive.

@limitless00net
Copy link

same here..

@daanwa
Copy link

daanwa commented Jul 9, 2023

Yup. Facing the same problem. Can confirm Mushroom works in general just not within a popup browser.

@ivandelhoyo
Copy link

ivandelhoyo commented Jul 10, 2023

+1 urgent!! :( how can i make it work? Downgrading version mushroom or home assistant?

@igiannakas
Copy link

+1 same here.

@Schlichi83
Copy link

Same issue. Hope there‘s a fix soon.

@oxymoron1629
Copy link

+1 So happy I found this thread. I was losing my mind.

@douglasfl
Copy link

+1 Same issue

@maygoo23
Copy link

+1 Same issue here as well!

@realNF
Copy link

realNF commented Jul 12, 2023

+1 popups with mushroom not working

@little-better
Copy link

+1 not only mushroom buttons. I think other buttons also doesn't work with browser_mod popup.

@WW1983
Copy link

WW1983 commented Jul 13, 2023

still not working for me after the update.

@daanwa
Copy link

daanwa commented Jul 13, 2023

Did you copy over the files manually or are you checking if a new update is available in HACS? I don't think there is a new release yet and as such, no update available in HACS.

I copied over the files manually into my HA installation according to the installation instructions in the README. It seems to be working for me now.

@WW1983
Copy link

WW1983 commented Jul 13, 2023

Did you copy over the files manually or are you checking if a new update is available in HACS? I don't think there is a new release yet and as such, no update available in HACS.

I copied over the files manually into my HA installation according to the installation instructions in the README. It seems to be working for me now.

Fist i download it over HACS again. But i didnt work for me.
grafik

After that I deleted browser_mod completely. Also the folder config/custom_components/browser_mod. Then I reinstalled browser_mod

@WW1983
Copy link

WW1983 commented Jul 13, 2023

Did you copy over the files manually or are you checking if a new update is available in HACS? I don't think there is a new release yet and as such, no update available in HACS.

I copied over the files manually into my HA installation according to the installation instructions in the README. It seems to be working for me now.

Do you replace just the files "onfig/custom_components/browser_mod" ?

@smartqasa
Copy link

smartqasa commented Jul 13, 2023

I did the following with no success:

  1. Uninstalled the integration from the Integrations tab (Devices & Services).
  2. Deleted the integration from HACS.
  3. Restarted Home Assistant.
  4. Cleared cache on my browsers.
  5. Manually copied the files from github (https://github.com/thomasloven/hass-browser_mod/tree/master/custom_components/browser_mod) to my system (config/custom_components/browser_mod).
  6. Reinstalled the integration from the Integrations tab (Devices & Services).
  7. Restarted Home Assistant

I don't see any updates on the github repository. Is there another place from which I should download the files?

@daanwa
Copy link

daanwa commented Jul 13, 2023

So I didn't remove or reinstall the integration itself, just replaced the custom_components/browser_mod directory. So basically my flow goes like this.

  1. Install latest version from HACS
  2. Download the custom_components/browser_mod from the master branch of this repository.
  3. Replace the custom_components/browser_mod directory on your HASS installation with the one downloaded from the master branch.
  4. Restart HASS and clear browser cache

@WW1983
Copy link

WW1983 commented Jul 13, 2023

So I didn't remove or reinstall the integration itself, just replaced the custom_components/browser_mod directory. So basically my flow goes like this.

  1. Install latest version from HACS
  2. Download the custom_components/browser_mod from the master branch of this repository.
  3. Replace the custom_components/browser_mod directory on your HASS installation with the one downloaded from the master branch.
  4. Restart HASS and clear browser cache

Dont work for me. But the files are 2 months old:
image

@Schlichi83
Copy link

The changed file seems to be in the js folder

@WW1983
Copy link

WW1983 commented Jul 13, 2023

The changed file seems to be in the js folder

Can i replace the js file manually too?

@smartqasa
Copy link

smartqasa commented Jul 13, 2023

What I did was manually copy the code changes from #599 (cbb585c) and went through the steps (uninstall the integration, reinstall, clear cache). Now it works.

I also copies the code changes from #587 (header formatting issue) 2d3f2d4 and #595 (vertical alignment issue) cd4921c. That one fixes the header formatting issues.

I'm certain there is an easier way, but I didn't want to wait for an update.

@Schlichi83
Copy link

What I did was manually copy the code changes from #599 (cbb585c) and went through the steps (uninstall the integration, reinstall, clear cache). Now it works.

I also copies the code changes from #587 (header formatting issue) 2d3f2d4 and #595 (vertical alignment issue) cd4921c. That one fixes the header formatting issues.

I'm certain there is an easier way, but I didn't want to wait for an update.

But where do you paste the code changes?
I assume in the browser_mod.js File? But where exactly?

@oxymoron1629
Copy link

Is I manually add the new code, can I update via HACS for next update in the future? Any idea when these fixes will be in the next update?

@smartqasa
Copy link

smartqasa commented Jul 13, 2023

Schlichi83 Yes, browser_mod.js and I just examined the code and cut and pasted the adds, changes, and deletions.

As I said, I'm sure there is an easier way, but I'm not familiar enough (yet) with github.

@Schlichi83
Copy link

I can't seem to find these code positions. Could you maybe upload your browser_mod.js file here, so I can download & exchange it?

@themaartenz
Copy link

I'm also playing around with replacing files manually (from 'master'), redownload, reinstalling and restarting, but for me it doesn't work. Should we wait for an official update on v2.2.2? Not a github guru either...

@smartqasa
Copy link

Here you go...

https://github.com/smartqasa/hass-browser_mod/tree/master/custom_components/browser_mod

Be sure to delete the browser_mod.js.gz file.

@themaartenz
Copy link

Here you go...

https://github.com/smartqasa/hass-browser_mod/tree/master/custom_components/browser_mod

Be sure to delete the browser_mod.js.gz file.

This is working for me! Replaced the contents of the browser_mod.js file, removed browser_mod.js.gz, restarted HA, cleared my cache and the actions within my popups work! Thanks @smartqasa!

@igiannakas
Copy link

Found a bug with this change - the more info pop ups initiated from a mushroom button in a browser_mod pop up are showing but behind the browser mod one #603

Does anyone else have this issue?

Screenshot 2023-07-14 at 08 47 26

Screenshot 2023-07-14 at 08 47 46

@themaartenz
Copy link

themaartenz commented Jul 14, 2023

Found a bug with this change - the more info pop ups initiated from a mushroom button in a browser_mod pop up are showing but behind the browser mod one #603

Does anyone else have this issue?

After the things I did (see above), everything is working fine (for now). Are you launching a popup from a popup? That is not something I've ever tried.

@igiannakas
Copy link

Found a bug with this change - the more info pop ups initiated from a mushroom button in a browser_mod pop up are showing but behind the browser mod one #603
Does anyone else have this issue?

After the things I did (see above), everything is working fine (for now). Are you launching a popup from a popup? That is not something I've ever tried.

Yes correct. Launching the more info pop up from the pop up. For example to see the history of a sensor.

@Schlichi83
Copy link

It's working for me as well. But I can confirm, that the pop-up (more info) is being display behind the pop up from browser_mod. Would be nice, if this could get fixed.

@piitaya
Copy link
Contributor

piitaya commented Jul 14, 2023

It's working for me as well. But I can confirm, that the pop-up (more info) is being display behind the pop up from browser_mod. Would be nice, if this could get fixed.

Pushed a fix for that : #605

@remocamenisch
Copy link

I still have the Problem that my cards dont work. I dont understand how i can fix this? Is the a update coming to fix this odr do i need to do it by my own?
I habe not much skill with code so pleas can someone explane it simple or even with a video or something?
That would be great and help me a lot.

@piitaya
Copy link
Contributor

piitaya commented Jul 17, 2023

You only need to update browser mod to the latest version.

@AINER
Copy link

AINER commented Jul 17, 2023

So strange...
I have browser_mod v2.3.0 and Mushroom v3.0.3, but issue is still here.

@Schlichi83
Copy link

So strange...
I have browser_mod v2.3.0 and Mushroom v3.0.3, but issue is still here.

Delete your browser cache. Completely!

@remocamenisch
Copy link

Delete your browser cache. Completely!

Thank you now its working fine

@remocamenisch
Copy link

On my Computer it works fine. But in the Android App on my Phone i have still the same problem.
Close and reopen the App do not help.
What can i do?

@Schlichi83
Copy link

On my Computer it works fine. But in the Android App on my Phone i have still the same problem.
Close and reopen the App do not help.
What can i do?

There is a feature to clear the cache in the App. Just Google it. Did the same thing.

@remocamenisch
Copy link

There is a feature to clear the cache in the App. Just Google it. Did the same thing.

Thank you, now it works. :)

@Idan37S
Copy link

Idan37S commented Nov 6, 2023

It still happens to me with mushroom-chips-card inside a pop-up,
Trying to tap a chip card the more-info is being opened in the background (behind the current pop-up).

With regular mushroom cards it's working fine for me.
I'm on the latest version of everything.

Does it happen to anyone?

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

Successfully merging a pull request may close this issue.