Home-Assistant-Mail-And-Packages-Custom-Card icon indicating copy to clipboard operation
Home-Assistant-Mail-And-Packages-Custom-Card copied to clipboard

Visual Code Editor is broken

Open NeoFax75 opened this issue 2 years ago • 9 comments

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):

  • HassOS

Desktop (please complete the following information):

  • OS: Windows 11
  • Vivaldi | 5.5.2805.44 (Stable channel) (64-bit)

Smartphone (please complete the following information):

  • Device: Pixel 5A
  • OS: Android 13
  • Browser Vivaldi

NeoFax75 avatar Nov 24 '22 18:11 NeoFax75

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

karaminder avatar Dec 10 '22 15:12 karaminder

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

popcorn808 avatar Dec 17 '22 04:12 popcorn808

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

cyber2th avatar Dec 19 '22 23:12 cyber2th

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

JamieSBenson avatar Jan 06 '23 16:01 JamieSBenson

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

jeeftor avatar Feb 10 '23 19:02 jeeftor

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👍

stayce avatar Feb 16 '23 01:02 stayce

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.

JamieSBenson avatar Feb 21 '23 15:02 JamieSBenson

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)

claudermilk avatar Jun 30 '23 00:06 claudermilk