question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Call service popup and toast doesn't work

See original GitHub issue

My Home Assistant version: core-2021.2.3

What’s happened

All my pops stop runnig after new browser_mod and Hassio updating, for all my cards (custom as official)

What I’ve done

i tried to test the popup and toast service through the Homeassistant developer tools page. Before the updating i was able to show a test popup and toast message

What’s the actual behavior

now anythig happens, meanwhile the debug service works righlty showing the popup with the browser ID

Code test for popup

the service data that i used in the developer tools windows is:

card: 
 type: entities
 entities:
  - switch.lightpower_livingbathgf_l1
deviceID:
 - this
large: true
hide_header: true
auto_close: true
time: 20

Code test for Toast

the service data that i used in the developer tools windows is:

deviceID: 
 - this
duration: 10000

Conclusion

No logs error are reported I’ve tried the call service on 3 different browser chrome, firefox, edge on different systems windows 10, ubuntu 20.04 and also on the andorid APP. I can say that the service doesn’t work anymore. Please let me know if i’ve to change something in the call service code or if there is anything other to try or if there is a bug. Thanks you

  • 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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
yjajkiewcommented, May 6, 2021

From my end my popup wasn’t working only on my Android phone (chrome and home assistant companion) since browser mod 1.3.0 introducing breaking change. But updating Home Assistant to its new version 2021.5 this morning fixed it !

1reaction
TheArcturiancommented, Feb 23, 2021

This works:

type: button
entity: sun.sun
tap_action:
  action: fire-dom-event
  browser_mod:
    command: popup
    deviceID:
      - this
    title: kitchen's light
    card:
      type: light
      entity: light.tavla

This does NOT work:

type: custom:mini-media-player
entity: media_player.jupiter
tap_action:
  action: fire-dom-event
  browser_mod:
    command: popup
    deviceID:
      - this
    title: kitchen's light
    card:
      type: light
      entity: light.tavla

The popups are only solved for button and button custom card, not everything else.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Show pop-up or toast or banner in Lightning Service cloud ...
I tried firing toast event, but it doesnt work (maybe because this component is a backgroundutilityitem. ----- Update to include code for toast...
Read more >
ngx-toastr, Toast not showing in Angular 7 - Stack Overflow
I'm currently developing a web app using Angular 7. I wanted to include ngx-toastr to send notifications to users but it isn't working...
Read more >
Native toast notifications not displaying on Windows 10
Native HTML5 toast notifications do not work in Microsoft Edge, Google Chrome, and possibly other applications. This has been tested with ...
Read more >
Notifications in the Toast App
To help busy staff provide the best customer service this notification sends pop-up alerts to individual servers when the orders they've placed have...
Read more >
Toast - Adobe Spectrum
4 examples of proper toast placement. First example, placement: bottom center. Toast. Don't place mobile toasts over navigation#.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found