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.

Not working on iOS and sometimes even on Edge

See original GitHub issue

My Home Assistant version: 2021.3.1

My lovelace configuration method (GUI or yaml): GUI

What I am doing: Modified --icon for 3 button cards inside a horizontal-stack

What I expected to happen: Icon to reflect code changes always and on all devices

What happened instead: sometimes a refresh of the browser ( Edge on Win10 ) shows standard icons, mostly of the time it works. Instead it never worked for mobile app ( iOS device ). I have tried with javascript_version: latest as per troubleshooting steps but I receive:

2021-03-07 19:48:12 ERROR (MainThread) [homeassistant.components.frontend] Please remove javascript_version from your frontend config. It is no longer supported

Minimal steps to reproduce:

    card_mod:
      style: |
        :host {
          --icon:
            {% if states('binary_sensor.custom_alexa_speaks') == 'on' %}
              mdi:volume-high;
            {% else %}
              mdi:volume-off;
            {% endif %}
          }

Error messages from the browser console:


By putting an X in the boxes ([]) 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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
thomaslovencommented, Mar 16, 2021

This should be fixed in 3.0.11

0reactions
thomaslovencommented, Mar 16, 2021

I’ll take the thumbs up as a confirmation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mi iphone is stuck on Edge network - Apple Community
If they say that everything is okay on their side, go to Settings>General>Reset>Reset Network Settings and perform that reset procedure, ...
Read more >
Edge on iOS 13.3.1 not working - Microsoft Community
I have an iPhone 7 with iOS 13.3.1. I downloaded Edge from the Apple App Store - picture attached. Every time i open...
Read more >
How to Fix It When Microsoft Edge Is Not Working - Lifewire
Check if you're still using Internet Explorer. · Close Microsoft Edge tabs and windows. · Restart Edge. · Restart your computer or smart...
Read more >
Common Microsoft Edge Problems, and How to Fix Them
Problem: Edge isn't syncing across devices​​ Sometimes Edge will refuse to sync information across devices after you create a profile, which ...
Read more >
Top 12 Fixes for Safari Not Loading Pages on iPhone and iPad
Before you try the below-mentioned fixes, we would suggest you update the Safari browser from App Store. Often there is a bug in...
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