This is all I can find on that. I was able to install through HACS and update. Maybe uninstall and remove any entries for the new or old versions in Configuration > Lovelace Dashboard > Resources
, then reinstall.
My resource file has been for a while
url: /hacsfiles/Home-Assistant-Mail-And-Packages-Custom-Card/Home-Assistant-Mail-And-Packages-Custom-Card.js ```
Has this changed?
Yes. It is completely rewritten.
Your docs still show the same path.
https://github.com/moralmunky/Home-Assistant-Mail-And-Packages-Custom-Card/blob/master/README.md
This is the same as what I have. I am not understanding what the resource should be changed to?
/hacsfiles/Home-Assistant-Mail-And-Packages-Custom-Card/Home-Assistant-Mail-And-Packages-Custom-Card.js
Maybe a misunderstanding. I have been using the beta pre-release for awhile. Just saw this message this week. Did something change on the pre-release that I need to add a change to use it?
I have just had to reinstall from backup my HA entire setup.
All looks as it should but the Mail Updated time is off.
It is currently 07:55 am my MST Arizona (NO DST observed) time, but the sensor shows 02:55 pm.
All other times in my system show correctly. I know that this is the 7 hour offset but how do I correct it.
Thanks
If youāre running the docker container you need to add to your volume mapping:
- /etc/localtime:/etc/localtime:ro
This will map the host OS timezone inside your container.
Iām trying to set this up with my Gmail but keep receiving the āUnable to connect or login to the mail server. Please check the log for details.ā
In the log it shows āError connecting into IMAP Server: [Errno -2] Name does not resolveā. Any suggestions?
Yup the correct server is imap.gmail.com
Ugh! Too early in the morning for me. Thank you!
Iāve seen some reference to combining two Amazon sensors (from two different accounts) into one sensor for my notifications. I saw reference to making a template but Iām not very familiar with templates and couldnāt find any examples.
With the latest version of this component, giving the latest version a try again that randomizes the image names. So I have it setup for USPS mail camera, however it looks like the Amazon image is now random to and in itās own amazon folder. Is this accurate? If so how do we manage that?
Yes
Thereās a new camera
that manages it for you
If Iām now getting a No Deliveries Amazon message safe to assume itās working then?
Thatās the default image, so yup.
So has no one combined the sensors from two Amazon accounts?
Hereās an example:
- platform: template
sensors:
combined_amazon_delivered:
value_template: '{{ states('sensor.mail_amazon_packages_delivered') + states('sensor.mail_amazon_packages_delivered_2') }}'
friendly_name: 'Amazon Delivered'
icon_template: 'mdi:amazon'
Thanks @firstof9,
I was just about to post this and ask if it would work. Iāve seen reference to | int or | float.
Between your example, int, or float; which should I use or best?
- platform: template
sensors:
combined_amazon_packages:
friendly_name: Combined Amazon Packages
value_template: "{{ ( states('sensor.mail_amazon_packages')|int + states('sensor.mail_amazon_packages_2')|int )| round (0) }}"
You only need to use int
and you donāt need to use the round
integers are whole numbers.