fratsloos / fr24_card

Lovelace card for showing Dump1090 data from FR24 in Home Assistant
44 stars 5 forks source link

Config of popup should be an object #35

Closed lloydbayley closed 10 months ago

lloydbayley commented 10 months ago

This is a weird one... The card will not display and shows and error complaining about the Config of popup should be an object.

Screenshot 2024-01-15 at 1 57 14 am

No matter what I set popup to, either true or false, the error remains. Now, if I remove the entire popup: true line, then the card displays properly.

The only thing I did recently was to add the card-mod entry to my configuration.yaml as I wanted more features as a front-end module rather than just as a lovelace resource.

# Front End/Theme Definitions
frontend:
  themes: !include_dir_merge_named themes
  extra_module_url:
    - /hacsfiles/hass-hue-icons/hass-hue-icons.js
    - /local/community/custom-brand-icons/custom-brand-icons.js
    - /local/plugins/card-mod.js
    - /local/community/lovelace-card-mod/card-mod.js. <-------------------- ADDED THIS LINE

However, upon removing the line and putting it back to how it was, the problem is not solved so perhaps I'm barking up the wrong tree and it's just a coincidence and nothing to do with that change?!?!?!?!?!

Any thoughts?

fratsloos commented 10 months ago

@lloydbayley Please see the updated configuration for the popup: https://github.com/fratsloos/fr24_card/blob/feature/litelement/readme/configuration/popup.md

Because you're using a pre-release the documentation is not yet available on the start page of this repo, but it is in the source branch.

lloydbayley commented 10 months ago

Ahh right, I'm sorry. I didn't think of the pre-release... You can delete this issue if you like.

fratsloos commented 10 months ago

No problem. I'll close it. Other people can then find this issue and use the solution if they experience the same problem.

lloydbayley commented 10 months ago

Sometimes being a developer and best tester etc can result in one looking like a bit of a dick....Ahh well.