Mail and Packages: Custom component for UPS, FEDEX, and USPS

Yes

I guess it could.

Mine still shows the gif path when I tried to create a new card. On the old card it showed gift sensor. Maybe I didnā€™t understand. I think I also need to create the automation also? I thought from yesterday this was not needed?

Thereā€™s a sensor with the image name/path. You can use that. I havenā€™t updated yet but thereā€™d be a way to do it I know.

If you updated the card to 0.05 and you donā€™t see what is in the screenshot, that means your front end cache has not been updated. You need to, at the very least, empty your browsers cache until it releases the cache for HASS.

If you are using the direct link to the gif and no camera entity toggle the switch above gif sensor field and choose the sensor you see in the screenshot.

If you are using a camera entity to display the image you need to create the camera entity and the automation, then toggle the camera entity file on and choose the camera you created.

@bschatzow the pre-release versions are bound to break things and are not documented. I suggest that you return to the stable release and wait for new features to come out in a stable, documented release.

I donā€™t mine things getting broken. I just would like to know how to implement new changes.
I have emptied cache, reinstalled the mail and package integration and the card. Both are at the latest version. My card does not have what you show. It did yesterday.

image

If this is the no mail thing, you have to do some kind of hocus pocus to get the image as the image is a random guid and changes every time or every day. Not sure I see why but thatā€™s how itā€™s working now.

No my card didnā€™t match. I donā€™t have gif sensor.

Custom card b0.06 published.

Very quick fix, thanks.
Looks like it works. No image, but this is typical what I see at now. Lets see what happens in the morning.
my yaml code

-
    type: 'custom:mail-and-packages-card'
    name: Mail Summary
    updated: sensor.mail_updated
    details: true
    image: false
    deliveries_message: sensor.mail_deliveries_message
    packages_delivered: sensor.mail_packages_delivered
    packages_in_transit: sensor.mail_packages_in_transit
    fedex_packages: sensor.mail_fedex_delivering
    ups_packages: sensor.mail_ups_packages
    usps_packages: sensor.mail_usps_packages
    amazon_packages: sensor.mail_amazon_packages
    gif_sensor: sensor.mail_image_url
    camera_entity: camera.mail_usps

Is this what you mean?
image
Either the gif sensor is on or the camera? Could I use the gif for the mail and the camera for Amazon?

Still not seeing the picture. It does show the link in the card. I still must be setting something up incorrectly.
Also how does the app handle a reschedule? I was suppose to get an Amazon delivery yesterday. It showed one item in transit. Last night Amazon rescheduled it to today. The app does not show this reschedule. There is an email from Amazon showing the reschedule. The email subject is: Delivery update.

Iā€™m using v 0.3.0b-37. My preview on HA Lovelace card shows the correct photo, my www folder does not show the photo, and the photo sent to me in the notification shows a 404 error!

The image link is only valid until the next cycle.

What is the cycle? My notification doesnā€™t send until 15mins after the email is received. I just triggered the automation again (almost 60mins later) and still the same error. This has been 3 days in a row.

The cycle is the interval you have the email checked.

I finally have everything working again with the new beta. Seems to work well. I donā€™t know if you are playing with the amazon delivery picture. Right now I use the picture card. The problem I have using this is the picture stays until the next Amazon delivery. It would be nice if it could use a cycle so that the picture doesnā€™t stay more than a day.

Settings show 5 minutes. Every time I look at my mail_and_packages folder it updates for the time Iā€™m looking at it but there is never a picture of the mail or what is in my Lovelace card.

I see the images in the iOS notifications for all past notifications in the notifications center. They appear to store the image once received.

@CommittotheIndian which sensor are you using for the notification image? Are you able to view the url it shows in the sensor in the web browser? If not, there may be a network issue or the url isnā€™t being formed correctly.

0.3.0-b38

:sparkles: New Features :sparkles:

  • Only change filename daily @firstof9 (#350)

Links

I get this in my error log.

Logger: custom_components.mail_and_packages.helpers
Source: custom_components/mail_and_packages/helpers.py:900
Integration: Mail and Packages (documentation, issues)
First occurred: 5:33:06 AM (20 occurrences)
Last logged: 5:53:32 AM

Problem decoding email message: Expected list, got <class 'str'>

Iā€™m not getting this error, what version are you running?