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

Did you have this working in Hassio? Sorry a little new to some of this - looks like might have, interested in this if so. Thanks

The component works in HassIO.

One last quick question. looking at the following I assume mail_host is your Gmail account? I tried to set it up but no luck. Ill keep messing around but figured I would ask.

sensor:
  - platform: mail_and_packages
    host: 'mail_host'
    username: 'mail_username'
    password: 'mail_password' 

The latest version uses integrations, no sensor configs are needed.

Oh, I get it :slight_smile: Must be something wrong with my setup, but I understand what you are saying.

Once I get that part configured - assuming host is imap.gmail.com and the rest is well pretty straight forward.

Sorry forgot to say that yes it’d be the imap.gmail.com for the host. Odd that your labels are not showing up. I’ll look into that.

It should look like this:

Thanks got it running - everything is still blank but I assume from what I was reading above its because its Sunday and nothing is being delivered today. I have 6 packages being delivered this week, and from reading everything above, if they are coming monday In transit will update it 6 and all the other fields will correspond as well.

thanks for your help and responses.

The only thing I did notice (since my labels arent showing up) is that when I click on the actual integration - I get the message (this integration has no devices) not sure if that is common but figured Id mention it.

Integration page:

mail and packages Integration :

It’s possible I may not have pushed the correct copy :man_facepalming: I’ll double check when I get home.

1 Like

Just as an FYI - I pulled from the moralmunky repo, and not yours, if I should pull from yours I can quickly make the change.

No that’s where I push my updates from, I may not have pushed updates from my local machine to github tho. :frowning:

Ah - no problem - I am sure its something I did. my location for packages is different than yours but I am guessing that is minor (mine is packages: !include_dir_named components/packages), this is the message I see in the Logs.

Yup you have to set the last option to /config/www/mail_and_packages/ since you’re using HassIO.

Refer to my picture from this post.

Who knew it was the little things :slight_smile: - now to figure out changing URL color thanks again for all your help and the great component.

All the credit should really go to @moralmunky :smiley:

1 Like

Hey @firstof9 quick question - on your hassio setup do you get the mail images? I was gonna try the suggestion a few threads up by @moralmunky, but I wanted to ask beforehand.

I was they’ve recently stopped. I’ll have to check the debugs over the weekend.

Is there something I am missing that would cause it to not show up in integrations?

Did you put the files into the custom_components directory in your configuration folder?

yes they are in there… the new ones with the config_flow.py etc…

I still had the include from the old version in there… should I remove that?

You can it’s not needed anymore to include the package version.