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

Pop-Up no longer works with Home Assistant 2024.7.x #715

Closed
KyleStilkey opened this issue Jul 2, 2024 · 61 comments
Closed

Pop-Up no longer works with Home Assistant 2024.7.x #715

KyleStilkey opened this issue Jul 2, 2024 · 61 comments

Comments

@KyleStilkey
Copy link

My Home Assistant version: 2024.7.1

Seems like with this new release Browser Mod's Pop-Up no longer works. It will show a pop-up once then it will no longer work and display the default more info.

@MasterDevwi
Copy link

MasterDevwi commented Jul 3, 2024

I'm hitting this too. Clicking on an entity linked to a pop-up card no longer shows the pop-up card and instead takes me directly to the entity's more-info page. Initially it was broken on iOS but working on my desktop browser, but after restarting HA I can't get it to work anywhere.

Also, as of 2024.6 the dashboard also doesn't show a preview of the card anymore unless I click Edit to open the pop-up card configuration UI.
image

@mallewski
Copy link

mallewski commented Jul 3, 2024

Thanks for all your work and this gorgeous feature to HA. I'm loving IT.
Unfortunately same issue here.

Core
2024.7.0
Supervisor
2024.06.2
Operating System
12.4
Frontend
20240703.0

@igiannakas
Copy link

Same here unfortunately :( Pop up doesnt work and the entities are shown as the screenshot above with the latest HA version.

@benjycov
Copy link

benjycov commented Jul 4, 2024

+1 for this.

@fspaggia
Copy link

fspaggia commented Jul 4, 2024

Same behaviour for me.
Stopped working after i reloaded cache (new frontend available).

@djjoereece94
Copy link

Same here :(

@benjycov
Copy link

benjycov commented Jul 4, 2024

So it looks like the browser_mod.popup method is still working, just the more-info approach is broken?

@Flintr
Copy link

Flintr commented Jul 4, 2024

+1

@benjycov
Copy link

benjycov commented Jul 4, 2024

For anyone else in the same situation, I've just knuckled down and redone all of mine using:


tap_action:
  action: call-service
  service: browser_mod.popup
  service_data: 
    title: Media
    content:
       type:..

and:

  tap_action:
    action: fire-dom-event
    browser_mod:
      service: browser_mod.popup
      data:
        title: {{ room_name(room, country) }}
        content:
           type:...

I've been meaning to do this for ages, and it does seem a better way and more importantly it still works!

@Tobi-Wheeler
Copy link

Me Too!

@KJThaDon
Copy link

KJThaDon commented Jul 5, 2024

For anyone else in the same situation, I've just knuckled down and redone all of mine using:


tap_action:
  action: call-service
  service: browser_mod.popup
  service_data: 
    title: Media
    content:
       type:..

and:

  tap_action:
    action: fire-dom-event
    browser_mod:
      service: browser_mod.popup
      data:
        title: {{ room_name(room, country) }}
        content:
           type:...

I've been meaning to do this for ages, and it does seem a better way and more importantly it still works!

Can you show an example of how you're integrating it this way please?

I'm trying to switch it to a card like this for example

        tap_action:
          action: call-service
          service: browser_mod.popup
          service_data: 
            title: Media
            content:
                type: custom:popup-card
                dismissable: true
                card:
                  type: custom:teamtracker-card
                  entity: sensor.wolverines_tracker
                  show_timeouts: true
                  show_rank: true
                entity: calendar.michigan_wolverines

@benjycov
Copy link

benjycov commented Jul 5, 2024 via email

@KJThaDon
Copy link

KJThaDon commented Jul 5, 2024

You are nearly there, you can remove: type: custom:popup-card dismissable: true card: So with the content start immediately with: type: custom:teamtracker-card I hope that helps.

On Fri, 5 Jul 2024 at 07:25, KJThaDon @.> wrote: For anyone else in the same situation, I've just knuckled down and redone all of mine using: tap_action: action: call-service service: browser_mod.popup service_data: title: Media content: type:.. and: tap_action: action: fire-dom-event browser_mod: service: browser_mod.popup data: title: {{ room_name(room, country) }} content: type:... I've been meaning to do this for ages, and it does seem a better way and more importantly it still works! Can you show an example of how you're integrating it this way please? I'm trying to switch it to a card like this for example tap_action: action: call-service service: browser_mod.popup service_data: title: Media content: type: custom:popup-card dismissable: true card: type: custom:teamtracker-card entity: sensor.wolverines_tracker show_timeouts: true show_rank: true entity: calendar.michigan_wolverines — Reply to this email directly, view it on GitHub <#715 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZVQ2F2DLDIBMG5KUIQTEDZKY34PAVCNFSM6AAAAABKHWGU4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJQGI2TSMJUGU . You are receiving this because you commented.Message ID: @.>

Thank you! I got it to work again for that card.

How could this work with pop up cards that are hidden and pop up using the more-info dialog?

@benjycov
Copy link

benjycov commented Jul 5, 2024 via email

@Soukyuu
Copy link

Soukyuu commented Jul 5, 2024

Well, for me that doesn't work for whatever reason. I tried it in dev tools/call service and the call executes correctly, but no popup is shown. Same for the actual widget. The service also seems to have a problem with mushroom's custom template card, specifically with the entity: your.entity_here part. It complains that entity is unknown.

@KJThaDon
Copy link

KJThaDon commented Jul 5, 2024

Ah you mean replacing normal more-info when you just look at the entity directly? I don’t think you can work around that :( I have to say though sometimes I found that annoying with the more-info approach, go to look at the entity and get my custom popup!

On Fri, 5 Jul 2024 at 09:02, KJThaDon @.> wrote: You are nearly there, you can remove: type: custom:popup-card dismissable: true card: So with the content start immediately with: type: custom:teamtracker-card I hope that helps. … <#m_8095103277203468504_> On Fri, 5 Jul 2024 at 07:25, KJThaDon @.> wrote: For anyone else in the same situation, I've just knuckled down and redone all of mine using: tap_action: action: call-service service: browser_mod.popup service_data: title: Media content: type:.. and: tap_action: action: fire-dom-event browser_mod: service: browser_mod.popup data: title: {{ room_name(room, country) }} content: type:... I've been meaning to do this for ages, and it does seem a better way and more importantly it still works! Can you show an example of how you're integrating it this way please? I'm trying to switch it to a card like this for example tap_action: action: call-service service: browser_mod.popup service_data: title: Media content: type: custom:popup-card dismissable: true card: type: custom:teamtracker-card entity: sensor.wolverines_tracker show_timeouts: true show_rank: true entity: calendar.michigan_wolverines — Reply to this email directly, view it on GitHub <#715 (comment) <#715 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZVQ2F2DLDIBMG5KUIQTEDZKY34PAVCNFSM6AAAAABKHWGU4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJQGI2TSMJUGU https://github.com/notifications/unsubscribe-auth/AQZVQ2F2DLDIBMG5KUIQTEDZKY34PAVCNFSM6AAAAABKHWGU4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJQGI2TSMJUGU . You are receiving this because you commented.Message ID: @.> Thank you! I got it to work again for that card. How could this work with pop up cards that are hidden and pop up using the more-info dialog? — Reply to this email directly, view it on GitHub <#715 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZVQ2ERIPNDCWBI4VGUBCLZKZHJXAVCNFSM6AAAAABKHWGU4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJQGM4TIMRTGQ . You are receiving this because you commented.Message ID: @.**>

yes, replacing the pop up of more info. It was working fine forever until now. I have custom cards I made for my TV remotes, and you would click on the entity icon using the more info action and it would open up my custom popup-cards. Not sure what broke with it recently, but I had nearly 10 cards just showing like this, when they used to work.

I did manage to copy the
Screenshot 2024-07-05 042147

@Soukyuu
Copy link

Soukyuu commented Jul 5, 2024

@KJThaDon: You could try replacing the more_info with the service call, I think that's what @benjycov did. But it does not work for me.

@KJThaDon
Copy link

KJThaDon commented Jul 5, 2024

Well, for me that doesn't work for whatever reason. I tried it in dev tools/call service and the call executes correctly, but no popup is shown. Same for the actual widget. The service also seems to have a problem with mushroom's custom template card, specifically with the entity: your.entity_here part. It complains that entity is unknown.

This is how I ended getting one of mine to work with @benjycov help.

        tap_action:
          action: call-service
          service: browser_mod.popup
          service_data:
            content:
              type: custom:teamtracker-card
              entity: sensor.wolverines_tracker

This works fine if you are trying to get a popup of a custom card other than popup-card it seems...

@benjycov
Copy link

benjycov commented Jul 5, 2024 via email

@benjycov
Copy link

benjycov commented Jul 5, 2024 via email

@Soukyuu
Copy link

Soukyuu commented Jul 5, 2024

This is what I have and it's not working - no popup.

tap_action:
  action: call-service
  service: browser_mod.popup
  data:
    content:
      type: custom:mushroom-template-card
      primary: >-
        UV Index {% if(is_state('sensor.current_uv_index', 'unavailable')) %}
        N/A {% else %} {{ states('sensor.current_uv_index') | round(1) ~' / ' ~
        states('sensor.max_uv_index') | round(1)}} {% endif %} 
      secondary: >-
        {% if is_state('sensor.current_uv_index', 'unavailable') or
        states('sensor.current_uv_index') | float() < 3.5 %}

        Kein Sonnenschutz erforderlich

        {% else %}

        {{ 'Kind darf ohne Schutz für ' ~
        states('sensor.skin_type_1_safe_exposure_time') ~ 'min in die
        Sonne\nFrau darf ohne Schutz für ' ~
        states('sensor.skin_type_2_safe_exposure_time') ~ 'min in die
        Sonne\nIch darf ohne Schutz für ' ~
        states('sensor.skin_type_3_safe_exposure_time') ~ 'min in die Sonne'}}

        {% endif %}
      icon: mdi:sun-wireless
      fill_container: false
      icon_color: >-
        {% if(is_state('sensor.current_uv_index', 'unavailable') or
        states('sensor.current_uv_index') | float() < 3.5) %}

        green

        {% elif(states('sensor.current_uv_index') | float() < 5.0) %}

        yellow

        {% elif(states('sensor.current_uv_index') | float() < 6.5) %}

        amber

        {% elif(states('sensor.current_uv_index') | float() < 8) %}

        orange

        {% else %}

        red

        {% endif %}
      tap_action:
        action: none
      hold_action:
        action: none
      double_tap_action:
        action: none
      layout: vertical
      multiline_secondary: true
  target: {}

I can't even get a simple

tap_action:
  action: call-service
  service: browser_mod.popup
  target: {}
  data:
    dismissable: true
    autoclose: false
    content:
      type: entity
      entity: sensor.date

to pop up. Neither in vivaldi browser (chrome based) nor in the app.

@benjycov
Copy link

benjycov commented Jul 5, 2024 via email

@Soukyuu
Copy link

Soukyuu commented Jul 5, 2024

Yes. On the app there was even a request to reload because the dashboard has changed

@Soukyuu
Copy link

Soukyuu commented Jul 5, 2024

Apparently you have to register the browser in browser_mod. That makes it work. But that also means your UI only works as expected on known devices, and the popup opens on ALL known devices simultaneously, which is not really a good thing.

@Soukyuu
Copy link

Soukyuu commented Jul 5, 2024

I just tried to use action: fire-dom-event and the editor goes bonkers complaining that it only supports the following:

"none","toggle","more-info","call-service","url","navigate","assist"

Which might be the root cause of the problems.

@tigers75
Copy link

tigers75 commented Jul 5, 2024

I can't even get a simple

tap_action:
  action: call-service
  service: browser_mod.popup
  target: {}
  data:
    dismissable: true
    autoclose: false
    content:
      type: entity
      entity: sensor.date

to pop up. Neither in vivaldi browser (chrome based) nor in the app.

I think you must change something:
not "data" but "service_data"

and then start directly with the "content:" section.
This works for me:

tap_action:
      action: call-service
      service: browser_mod.popup
      service_data:
        content:
          type: vertical-stack
          cards:
            - type: custom:mushroom-cover-card
              entity: cover.tapparelle_notte
              show_position_control: true
              secondary_info: none
        [...]

Anyway this solution is worse in my opinion because now I have a card inside another card, and I'm loosing the editor (I use the pop-up mainly in a pciture-elements card) and the yaml of the card becomes a mess.

@Soukyuu
Copy link

Soukyuu commented Jul 5, 2024

I think you must change something:
not "data" but "service_data"

Thanks, that does not change anything for me. I still have to be registered with browser mod and then it still opens the popup on all active registered browser. So for example me pressing on my app will open the popup on my laptop and my wife's app.

The docs do state you should use the fire-dom-event to only open the popup on your screen, even if the browser is not registered, but for some reason my instance of home assistant insists it's not supported.

@Lucif3r945
Copy link

I think you must change something:
not "data" but "service_data"

Thanks, that does not change anything for me. I still have to be registered with browser mod and then it still opens the popup on all active registered browser. So for example me pressing on my app will open the popup on my laptop and my wife's app.

The docs do state you should use the fire-dom-event to only open the popup on your screen, even if the browser is not registered, but for some reason my instance of home assistant insists it's not supported.

Hey, I struggled with the same thing for quite a while. What you (I have to at least) do is leaving action: as-is(e.g. call-service), type out all code as if it were set to fire-dom-event, THEN when the code is complete, you change action: to fire-dom-event, and hit save.
If you start with typing out action: fire-dom-event, without the browser_mod: section filled out already, it will sh*t itself and refuse to work. Why? idk...

@AndiRued
Copy link

AndiRued commented Jul 5, 2024

The solution shown above doesn't work for me. Is there perhaps a need for an update from Thomas Loven?

@tigers75
Copy link

tigers75 commented Jul 5, 2024

The fire-dom solution works fine for me. Please read carefully the instructions since the setup is slightly different data Vs service_data, different indentation, etc

@tacogy3
Copy link

tacogy3 commented Jul 5, 2024

You are right, it does trigger all browsers to open it.

@AndiRued
Copy link

AndiRued commented Jul 5, 2024

I had solved the pop-ups in the more-info variant from a custom:minimalistic-area-card and this is exactly what suddenly doesn't work anymore. Is there a solution or another mod for this? Unfortunately, Thomas Loven doesn't seem to have provided an update here for months.

@KJThaDon
Copy link

KJThaDon commented Jul 5, 2024

I had solved the pop-ups in the more-info variant from a custom:minimalistic-area-card and this is exactly what suddenly doesn't work anymore. Is there a solution or another mod for this? Unfortunately, Thomas Loven doesn't seem to have provided an update here for months.

I've been looking into
https://github.com/Clooos/Bubble-Card

type: vertical-stack
cards:
  - type: custom:bubble-card
    card_type: pop-up
    hash: '#test'

@KyleStilkey
Copy link
Author

I had solved the pop-ups in the more-info variant from a custom:minimalistic-area-card and this is exactly what suddenly doesn't work anymore. Is there a solution or another mod for this? Unfortunately, Thomas Loven doesn't seem to have provided an update here for months.

I've been looking into https://github.com/Clooos/Bubble-Card

type: vertical-stack
cards:
  - type: custom:bubble-card
    card_type: pop-up
    hash: '#test'

I tried bubble card but it requires you to set up the popups and buttons in certain orders and by doing so breaks my other add on layout cards. Sadly it breaks it and forces everything into a center 1 tile layout. Once the new home layout is more mature I'll probably be able to move over to it but it's still got some weird problems they are working on sorting.

@Soukyuu
Copy link

Soukyuu commented Jul 6, 2024 via email

@Lucif3r945
Copy link

Still no fix available? :(
Did a couple of tests yesterday and as far as I could tell it's not the pop-up-part of it that's broken - it's the actual card itself. I initially thought that HA might've changed the more-info event and the fix would be quick and easy but, nope, they haven't, so that particular part is still working as it should... It's just everything after that call that doesn't work >_>

@Scope666
Copy link

Scope666 commented Jul 6, 2024

This is how I solved it, the call_service method made it popup on ALL my HA installs which wasn't good for me. This works only in the browser where it's clicked:

type: vertical-stack
cards:
  - entity: sensor.home_temperature
    max: 100
    min: 0
    name: Outside
    severity:
      green: 50
      yellow: 77
      red: 83
    theme: default
    type: gauge
    tap_action:
      action: fire-dom-event
      browser_mod:
        service: browser_mod.popup
        data:
          title: Weather
          dismissable: true
          content:
            type: vertical-stack
            cards:
              - show_current: true
                show_forecast: true
                entity: weather.home
                name: Weather
                type: weather-forecast
                forecast_type: daily
              - show_current: true
                show_forecast: true
                entity: weather.home
                name: Weather
                type: weather-forecast
                forecast_type: hourly
                secondary_info_attribute: wind_speed

image

@IgorSimic
Copy link

I can confirm that problem comes with Frontend 20240705.0
On one on my rarely used computers popups worked as allways until I become message about new frontend version and reloaded.

@KJThaDon
Copy link

KJThaDon commented Jul 7, 2024

I think it's time to request for removal. Author is MIA and plugin hasn't had a real update in years

@kvanbiesen
Copy link

kvanbiesen commented Jul 7, 2024

Can someone test #720

I dont use popupcards myself, but i did a quick check and the seem to be working with this fix..

ad28548
for exact code.

Needs a hard refresh on the cache of the browsers also btw

@Spegeli
Copy link

Spegeli commented Jul 7, 2024

Can someone test #720

I dont use popupcards myself, but i did a quick check and the seem to be working with this fix..

ad28548 for exact code.

Needs a hard refresh on the cache of the browsers also btw

This fix is working for the localze in the panel but does not fix the popupcard issue.

When we talk about the popup there are 2 differents on how to call / trigger them.

The one you call via service: browser_mod.popup which are working fine. But when you call a popup via custom:popup-card this part is broken.

@kvanbiesen
Copy link

Can someone test #720
I dont use popupcards myself, but i did a quick check and the seem to be working with this fix..
ad28548 for exact code.
Needs a hard refresh on the cache of the browsers also btw

This fix is working for the localze in the panel but does not fix the popupcard issue.

can you post a sample code? i dont have popups so just did a quick test...

@Spegeli
Copy link

Spegeli commented Jul 7, 2024

Can someone test #720
I dont use popupcards myself, but i did a quick check and the seem to be working with this fix..
ad28548 for exact code.
Needs a hard refresh on the cache of the browsers also btw

This fix is working for the localze in the panel but does not fix the popupcard issue.

can you post a sample code? i dont have popups so just did a quick test...

Because you have browser_mod installed, you have alrdy installed the popup card.

In you dashboard simply create a card (search for popup). Under Settings as entity you have to select the entity which should trigger the popup. and under the Card Tab you can do the cards you want to show in the popup.

here is a example:

create 2 cards, one with:

graph: line
hours_to_show: 24
type: sensor
detail: 2
name: Temperatur
entity: sensor.zha_schlafzimmer_multisensor_temperatur

and the popup card self:

type: custom:popup-card
entity: sensor.zha_schlafzimmer_multisensor_temperatur
title: Custom popup
dismissable: true
card:
  type: markdown
  content: This replaces the more-info dialog
  title: Test Card

if you click on the sensor card, it should trigger the popup card.

the entity in the popup card is the trigger.

@Lucif3r945
Copy link

Yup, it's only the custom popup-CARD that's broken. The popup-SERVICE(s) still work just fine.

@Soukyuu
Copy link

Soukyuu commented Jul 8, 2024

I think you must change something:
not "data" but "service_data"

Thanks, that does not change anything for me. I still have to be registered with browser mod and then it still opens the popup on all active registered browser. So for example me pressing on my app will open the popup on my laptop and my wife's app.
The docs do state you should use the fire-dom-event to only open the popup on your screen, even if the browser is not registered, but for some reason my instance of home assistant insists it's not supported.

Hey, I struggled with the same thing for quite a while. What you (I have to at least) do is leaving action: as-is(e.g. call-service), type out all code as if it were set to fire-dom-event, THEN when the code is complete, you change action: to fire-dom-event, and hit save. If you start with typing out action: fire-dom-event, without the browser_mod: section filled out already, it will sh*t itself and refuse to work. Why? idk...

Yes, I got it to work now, but with this HUGE caveat that you can not use the graphical editor. Even after saving, if you then open the editor by clicking "edit" on the widget, it will cr*p its pants and replace the tap_action with default yaml.

@KentuckyMC
Copy link

KentuckyMC commented Jul 9, 2024

So, the most easy fix I got for this one right now, is to just add a layout-card around the pop-up cards on all places you use it.

So I've the following 'old' pop-up card here:

type: custom:popup-card
entity: light.alle_lampen
title: Actieve lampen
dismissable: true
card:

I've changed that piece of code with a surrounding layout card:

type: custom:layout-card
layout_type: masonry
layout: {}
cards:
  - type: custom:popup-card
    entity: light.alle_lampen
    title: Actieve lampen
    dismissable: true
    card: 

For me this is the quickest fix to at least get the cards going again. Wife isn't happy about this otherwise :)

@bilsonwilcox
Copy link

bilsonwilcox commented Jul 22, 2024

So, the most easy fix I got for this one right now, is to just add a layout-card around the pop-up cards on all places you use it.

So I've the following 'old' pop-up card here:

type: custom:popup-card
entity: light.alle_lampen
title: Actieve lampen
dismissable: true
card:

I've changed that piece of code with a surrounding layout card:

type: custom:layout-card
layout_type: masonry
layout: {}
cards:
  - type: custom:popup-card
    entity: light.alle_lampen
    title: Actieve lampen
    dismissable: true
    card: 

For me this is the quickest fix to at least get the cards going again. Wife isn't happy about this otherwise :)

Thank you! We appreciate the straight forward example.

@tigers75
Copy link

So, the most easy fix I got for this one right now, is to just add a layout-card around the pop-up cards on all places you use it.
So I've the following 'old' pop-up card here:

type: custom:popup-card
entity: light.alle_lampen
title: Actieve lampen
dismissable: true
card:

I've changed that piece of code with a surrounding layout card:

type: custom:layout-card
layout_type: masonry
layout: {}
cards:
  - type: custom:popup-card
    entity: light.alle_lampen
    title: Actieve lampen
    dismissable: true
    card: 

For me this is the quickest fix to at least get the cards going again. Wife isn't happy about this otherwise :)

Thank you! We appreciate the straight forward example.

This definitely works but we still lose the ability to visual-edit the card. Still better than inserting the popup cards inside the main card code, but not perfect yet.
This add in is so widely used that if @thomasloven is not able to maintain it someone should take care of it. unfortunately I don't have the knowledge to step in, but I can do some testing if required.

@KentuckyMC
Copy link

So, the most easy fix I got for this one right now, is to just add a layout-card around the pop-up cards on all places you use it.
So I've the following 'old' pop-up card here:

type: custom:popup-card
entity: light.alle_lampen
title: Actieve lampen
dismissable: true
card:

I've changed that piece of code with a surrounding layout card:

type: custom:layout-card
layout_type: masonry
layout: {}
cards:
  - type: custom:popup-card
    entity: light.alle_lampen
    title: Actieve lampen
    dismissable: true
    card: 

For me this is the quickest fix to at least get the cards going again. Wife isn't happy about this otherwise :)

Thank you! We appreciate the straight forward example.

This definitely works but we still lose the ability to visual-edit the card. Still better than inserting the popup cards inside the main card code, but not perfect yet. This add in is so widely used that if @thomasloven is not able to maintain it someone should take care of it. unfortunately I don't have the knowledge to step in, but I can do some testing if required.

For sure, this isn't a fix for this problem. Just a workaround so at least the popups are working again ;)

@mellamomax
Copy link

mellamomax commented Jul 28, 2024

I´ve made a fork that fixes this issue until/if we ever get an actual update.
https://github.com/mellamomax/hass-browser_modpop/

This is a combined fork of:

NOTE: Pop-up cards still show as blank in edit mode_

Steps to implement:

  1. Remove the original Browser_mod in HACS by clicking "ignore".
  2. Then delete it under "devices & services"
  3. Restart HA
  4. Install the fork as a custom repo within HACS
  5. Restart HA
  6. Add "Browser_mod" under "devices & services" as usual
  7. EDIT: refresh cache on mobile

Done! It should work immediately.

@tigers75
Copy link

That's nice bunti find it not optimal: what if anyone starts a new fork? Is @thomasloven not willing to maintain this anymore? Can he at least pass the project to someone else?

@KyleStilkey
Copy link
Author

I´ve made a fork that fixes this issue until/if we ever get an actual update. https://github.com/mellamomax/hass-browser_modpop/

This is a combined fork of:

NOTE: Pop-up cards still show as blank in edit mode_

Steps to implement:

  1. Remove the original Browser_mod in HACS by clicking "ignore".
  2. Then delete it under "devices & services"
  3. Restart HA
  4. Install the fork as a custom repo within HACS
  5. Restart HA
  6. Add "Browser_mod" under "devices & services" as usual
  7. EDIT: refresh cache on mobile

Done! It should work immediately.

I tested this and it doesn't seem to work. Works for the first time then doesn't work again.

@mellamomax
Copy link

I´ve made a fork that fixes this issue until/if we ever get an actual update. https://github.com/mellamomax/hass-browser_modpop/
This is a combined fork of:

NOTE: Pop-up cards still show as blank in edit mode_
Steps to implement:

  1. Remove the original Browser_mod in HACS by clicking "ignore".
  2. Then delete it under "devices & services"
  3. Restart HA
  4. Install the fork as a custom repo within HACS
  5. Restart HA
  6. Add "Browser_mod" under "devices & services" as usual
  7. EDIT: refresh cache on mobile

Done! It should work immediately.

I tested this and it doesn't seem to work. Works for the first time then doesn't work again.

hmm, did you remove every instance of original browser mod to begin with? I had some problem when reinstalling/testing Rays version myself but once i removed browser mod everywhere and then installed my fork and then the integration under devices & services it worked. Sounds weird that it worked the first time tho... Try refreshing front-end cache on your phone if not done already?

@KyleStilkey
Copy link
Author

I´ve made a fork that fixes this issue until/if we ever get an actual update. https://github.com/mellamomax/hass-browser_modpop/
This is a combined fork of:

NOTE: Pop-up cards still show as blank in edit mode_
Steps to implement:

  1. Remove the original Browser_mod in HACS by clicking "ignore".
  2. Then delete it under "devices & services"
  3. Restart HA
  4. Install the fork as a custom repo within HACS
  5. Restart HA
  6. Add "Browser_mod" under "devices & services" as usual
  7. EDIT: refresh cache on mobile

Done! It should work immediately.

I tested this and it doesn't seem to work. Works for the first time then doesn't work again.

hmm, did you remove every instance of original browser mod to begin with? I had some problem when reinstalling/testing Rays version myself but once i removed browser mod everywhere and then installed my fork and then the integration under devices & services it worked. Sounds weird that it worked the first time tho... Try refreshing front-end cache on your phone if not done already?

Yes deleted everything, restarted, installed, restarted, set up browser mod, restarted, cleared cache, still same results.

@Tobi-Wheeler
Copy link

Tobi-Wheeler commented Jul 31, 2024 via email

@slaygirlz
Copy link

sweet a fix has been made

@tigers75
Copy link

tigers75 commented Aug 1, 2024

I don't think this can be marked as completed in this repository: it involves installing a fork, it's not been merged. Also the cards not showing in edit is still a problem.

@KentuckyMC
Copy link

I don't think this can be marked as completed in this repository: it involves installing a fork, it's not been merged. Also the cards not showing in edit is still a problem.

Agree, this isn't closed here. There are workarounds though.

@KyleStilkey
Copy link
Author

This is merged I guess my response didn't post. If you are having trouble with it working on mobile like I did through the app I had to actually go into my phone and delete the cache and data and sync back up with my home assistant for it to work.

I have no idea why even though I was clearing the cache from the app it just wouldn't work and clearing the apps cache and data under setting or reinstalling fixed it for me.

Give this a shot and see what happens. On other devices clearing your cache and cookies will resolve it through the browser. I've tested this across multiple devices and this has worked for me on 5 different mobile devices and 8 different computers through a browser.

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