ljmerza / ha-email-sensor

Email Sensor for collecting tracking numbers from over 40 providers.
MIT License
91 stars 24 forks source link

everything works but the tracking numbers do not go up #35

Closed phenixtai closed 2 years ago

phenixtai commented 2 years ago

Version of the custom_component

2.15.0

Configuration

sensor:

Add your logs here. Everything is ok, but as a result on the attribute of the sensor I have:


## Describe the bug

emails: 
- from:
    - - AliExpress
      - transaction@notice.aliexpress.com
  subject: Confirmation d’expédition de votre commande 301xxxxxxxxxxxxx6
- from:
    - - AliExpress
      - transaction@notice.aliexpress.com
  subject: Confirmation d’expédition de votre commande 301xxxxxxxxxxxx

tracking_numbers: 
ups: []
fedex: []
paypal: []
usps: []
ali_express: []
newegg: []
rockauto: []
bh_photo: []
ebay: []
dhl: []
hue: []
google_express: []
western_digital: []
monoprice: []
georgia_power: []
best_buy: []
dollar_shave_club: []
nuleaf: []
timeless: []
BESPOKE_POST: []
wyze: []
reolink: []
chewy: []
groupon: []
zazzle: []
home_depot: []
swiss_post: []
manta_sleep: []

count: 2
icon: mdi:email
friendly_name: email_xxxxxx@gmail.com

---> suddenly no tracking number is filled on the appropriate map card on lovelace :

type: custom:tracking-number-card entities:

I do not understand why the parser does not find the tracking number, could you help me?

brendanm720 commented 2 years ago

I have got a similar issue, only mine doesn't show the spaces for the tracking numbers or the email details - just the number of emails.

Version 2.15.0 of the custom component (I uninstalled, restarted HA, and then reinstalled, with no changes in behavior) Version 2022.5.3 of Home Assistant (running the HAOS version)

YAML Sensor Configuration

Incoming Packages

LOG ENTRY: Logger: homeassistant.helpers.entity Source: helpers/entity.py:746 First occurred: May 12, 2022, 12:33:10 PM (1258 occurrences) Last logged: 3:08:13 PM

Update of sensor.email_deliveries_XXXXXXX_XXX is taking over 10 seconds

Example Output: image

jsnfwlr commented 2 years ago

I am guessing that @ljmerza has stopped supporting this, because it straight up doesn't work any more

brendanm720 commented 2 years ago

@jsnfwlr if you can authenticate without SSL, try that. There's a broken thing in the IMAP in Home Assistant, and mine is back to it was in may.

ljmerza commented 2 years ago

Been meaning to get to this. Did a rewrite of this integration and card. Should work now.