moralmunky / Home-Assistant-Mail-And-Packages-Custom-Card

A Custom Lovelace card to pull together the mail and packages sensors.
73 stars 16 forks source link

Visual Code Editor is broken #49

Open NeoFax75 opened 1 year ago

NeoFax75 commented 1 year ago

Describe the bug None of the dropdowns show up and all of my sensors show up, but cannot select any.

To Reproduce Steps to reproduce the behavior:

  1. Follow instructions to add the manual card
  2. Click on 'Visual Code Editor'
  3. See error

Expected behavior Should show only my mail and camera.mail dropdowns in a dropdown fashion.

Screenshots or Error If applicable, add screenshots to help explain your problem.

Hass environment (please complete the following information):

Desktop (please complete the following information):

Smartphone (please complete the following information):

karaminder commented 1 year ago

I have the same behavior running the latest b20 (as of the date of this post).

malice-ftw commented 1 year ago

Also getting the same.

popcorn808 commented 1 year ago

I am getting the same issue. The card doesn't work and I can not edit to fix it.

cyber2th commented 1 year ago

I've got the same issue here.

This is what the YAML looks like for anyone just wanting to get it working.

type: custom:mail-and-packages-card name: Mail Summary details: true updated: sensor.mail_updated packages_delivered: sensor.mail_packages_delivered packages_in_transit: sensor.mail_packages_in_transit fedex_packages: sensor.mail_fedex_packages ups_packages: sensor.mail_ups_packages amazon_packages: sensor.mail_amazon_packages usps_packages: sensor.mail_usps_packages usps_mail: sensor.mail_usps_mail camera: true camera_entity: camera.mail_usps_camera

JamieSBenson commented 1 year ago

@moralmunky do you think you'll be able to resolve this? The card is functionally useless without this step working. Thanks!

jeeftor commented 1 year ago

This is what I'm seeing in visual editor on any attempt to edit it.

The 1st time it worked but when I go back in its like this :)

image

stayce commented 1 year ago

I was planning on debugging this tonight, but I noticed a JS error from another card in my console, in my case the tracking number card. I deleted that card, updated to the latest beta, and everything is working swimmingly👍

JamieSBenson commented 1 year ago

I was planning on debugging this tonight, but I noticed a JS error from another card in my console, in my case the tracking number card. I deleted that card, updated to the latest beta, and everything is working swimmingly👍

Can you provide a bit more detail on which card you removed? I'm not seeing a tracking number card on my HA.

claudermilk commented 1 year ago

FYI, I've run into this but eventually it works. It may be that the integration is still processing. That can take a while (particularly Amazon Packages)