@codypet2002 line 130 of the mail_package.yaml explains that the line 133 needs to be changed to the path of the GIF that is defined in and created by the mail.py on line 41, IMAGE_OUTPUT_PATH.
In my case I keep all my file paths in my secret.yaml. Since you do not have a “USPS_camera” entry in the secret file it is giving you the error.
@Bartem I do not manage the UPS component nor do I have the skills to fix it. You can submit the issue on git hub in the main Hass repository. I am considering just adding those in the mail.py and forget about the component.
Trying to move this forward and create simplicity. My first attempt at a custom component. Fully functional, I just don’t know how to get configuration option from the yank to pass into the component so the code has to be edited with email details.
Looks like this component is causing asyncio issues and the event loop eventually halts. What is your approach to testing this…perhaps without home assistant? Is there a driver example?
@ [moralmunky is this still working in lieu of the recent deprecation of the USPS, FEDEx, and UPS components? I like the way you have it it is very nice.
I’ve got everything installed and working except the lovelace card. I have the individual sensors but no lovelace and it breaks the lovelace page when I try to save the custom card. Any ideas where to go? Running Hassio in Docker with an Ubuntu machine.
Many hours later and a few days…
had not added a camera to the configuration.yaml file (see below)
Also I was using Apple email and could not for the life of me figure out why it wouldn’t work and I switched to Google email and an app specific password and no issues. If anyone can get an apple IMAP email and app specific password to function I’d love to learn how.
I followed Adrian’s YouTube channel/video @ https://www.youtube.com/watch?v=-sVwEco28zc
And he broke it down very nicely in steps and the only area that got me was not adding the camera integration to the configuration.yaml file. I was similar to his install being a Hassio in docker. I gave up on iCloud email address and changed everything gmail and had no problems.
Sure wish this was a supported integration with login capability- need USPS and all to have an API some day to help with that!
Finally! mystery solved- I got the GIF to work. hen adding the integration from the “configuration” left menu bar, then selecting “integrations” and selecting the “mail and packages” integration, you probably copied and pasted the if using in docker path wrong. You must include the / forward slash at the end of the path: /config/www/mail_and_packages/ DO NOT /config/www/mail_and_packages without a foward slash at the end. As soon as I did that it worked- total rookie mistake I made and haunted me for days and hours of research!
@moralmunky I got this new version setup from your redesign (https://github.com/moralmunky/Home-Assistant-Mail-And-Packages) version. Question I have is there a way to add title icons on the cards you show in the instructions? Is there a place under Lovelace section here that shows more ways to create the cards? Looking for some other ideas on lovelace cards. I would love to add the delivery companies logos next to theirs names using the FontAwesome Icons they have but only the enitry card allows you to add icons for titles no luck with other cards.