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.

Bug after adding the card to lovelace new storage mode

See original GitHub issue

Hi there, first of all thanks for that hard work on this! Whenever i add this card to the UI i cant use the raw config editor anymore. I can add it can save it 1

But after it has been added and i wanne edit it again, i cant: it keeps loading the card config: 2

I also cannot use the raw editor then, it just seems blank. 5 3

When i remove the card, im able to view the raw config and edit it again…

Removed card: 6

RAW Editor: 7

Does this card only work in the YAML mode?

EDIT: Meanwhile i have found out that the problem only occurs when i open the view with the actual card. i can use RAW edit on all other views as long as i wont go to that view that holds the button-card. Once i have opened the view, i think the card loads and things brake. After that when i go back to check config, the config seems fine and i can open the raw editor again from all the other views till the moment i open the view with this card again, I hope u understand me, my language is not native English.

Here is the card config:

type: vertical-stack
cards:
  - type: entities
    entities:
      - entity: sensor.harmony_activity
  - type: horizontal-stack
    cards:
    - type: custom:button-card
      entity: script.woonkamer_movies_tvshows
      icon: mdi:kodi
      color: rgb(0, 150, 255)
      color_off: rgb(0, 150, 255)
      name: Movies & TV Shows
    - type: custom:button-card
      entity: script.start.kodi
      icon: mdi:kodi
      color: rgb(0, 150, 255)
      color_off: rgb(0, 150, 255)
      name: Start Kodi
    - type: custom:button-card
      entity: script.woonkamer_ziggo_tv
      icon: mdi:television
      color: rgb(255, 140, 255)
      color_off: rgb(255, 140, 0)
      name: Ziggo TV
  - type: horizontal-stack
    cards:
    - type: custom:button-card
      entity: script.script.netflix_living_room
      icon: mdi:netflix
      color: rgb(255, 0, 0)
      color_off: rgb(255, 0, 0)
      name: Netflix
    - type: custom:button-card
      entity: script.woonkamer_spotify
      icon: mdi:spotify
      color: rgb(0, 255, 0)
      color_off: rgb(0, 255, 0)
      name: Spotify
    - type: custom:button-card
      entity: script.woonkamer_youtube
      icon: mdi:youtube
      color: rgb(255, 0, 0)
      color_off: rgb(255, 0, 0)
      name: Youtube
  - type: horizontal-stack
    cards:
    - type: custom:button-card
      entity: script.woonkamer_shutdown
      icon: mdi:power
      color: rgb(150, 150, 150)
      color_off: rgb(150, 150, 150)
      name: Shutdown

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
IIIdefconIIIcommented, Jan 26, 2019

thanks for the fix! its indeed working perfect now

0reactions
iantrichcommented, Jan 16, 2019

Discussing architecture changes is necessary and is not “arguing”. This project has not become as successful as it has without there being thought put into things. Kuuji is a good dev and the project needs good devs, things beyond a button ideally. Negative attitudes do nothing for the project and help no one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug after adding the card to lovelace new storage mode #39
Hi there, first of all thanks for that hard work on this! Whenever i add this card to the UI i cant use...
Read more >
Lovelace is running in storage mode. Define resources via ...
When I downloaded card_mod from HACS, I got this message: “After the download completes, since you are not using Lovelace in storage mode...
Read more >
FAQ - UI Lovelace Minimalist
First check what is being displayed when you download a frontend component. If it's showing something like: since you are not using Lovelace...
Read more >
Lovelace: Migrate from storage to yaml mode
Hi All,. I think it won't harm if I share my method of migrating from UI-configured Lovelace to YAML. I started using yaml...
Read more >
HACS and Mushroom and why am I having trouble? - Reddit
That done, it's time to add a card. Go to Dashboard, Edit, Add Card and...no mushroom option. It seems something has gone wrong....
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