Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add amazon otp sensor #914

Closed
wants to merge 58 commits into from
Closed

Conversation

firstof9
Copy link
Collaborator

Proposed change

Add Amazon OTP sensor

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (which adds functionality)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests
  • Documentation update
  • Adds a new shipper
  • Update existing shipper

Additional information

@firstof9 firstof9 added enhancement Changes that reduce code complexity or speed things up feature New feature or request and removed enhancement Changes that reduce code complexity or speed things up labels Jun 19, 2024
Copy link

github-actions bot commented Jul 4, 2024

This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the no-pr-activity Stale PR label Jul 4, 2024
@firstof9 firstof9 closed this Jul 5, 2024
@firstof9 firstof9 deleted the feat-896 branch July 5, 2024 13:53
@firstof9 firstof9 restored the feat-896 branch July 5, 2024 14:17
@firstof9 firstof9 reopened this Jul 5, 2024
@firstof9
Copy link
Collaborator Author

Sample emails are needed for tests.

@Bluscream
Copy link

I see, thanks!

@snickers2k
Copy link

Sample emails are needed for tests.

you still need sample emails? because i think they don't really change at all?

@firstof9
Copy link
Collaborator Author

you still need sample emails? because i think they don't really change at all?

Yes, if you have one.

@Bluscream
Copy link

give me a mail address and i will forward some

firstof9 and others added 13 commits December 19, 2024 09:28
* feat: add option to not verify ssl certs

* formatting

* update _test_login function

* update tests, sort imports
* feat: add none/SSL/TLS config option for IMAP

* shorten warning message

* adjust coverage min
* fix: better fix for io blocking

* formatting

* update tests config
* feat: add usps mail delivered binary sensor

* add logic to binary_sensor

* formatting
* fix: usps_mail_delivered device_class

* disable sensor by default

* fix test
* fix: usps_mail_delivered device_class

* disable sensor by default

* fix test

* fix: io blocking when downloading amazon images

* fix test

* fix missing `await`, fix test
* feat: add amazon.nl support

* update tests
* handle more errors with mailbox listing

* formatting

* refactor: clean up code that did nothing

* update tests
firstof9 and others added 26 commits December 19, 2024 09:32
* refactor: less amazon forwarding email validation

* formatting

* remove unused import

* more linting
* feat: allow image storage location to be configured

* update tests

* formatting

Signed-off-by: [email protected] <[email protected]>

* linting

* fix tests again

* formatting

* fix tests, add error and translations for invalid path

* formatting

* update tests

* more test updates

---------

Signed-off-by: [email protected] <[email protected]>
* fix: clean up amazon images

* fix test
* fix: move amazon image clean up to proper function

* formatting
…#989)

* fix: adjust amazon domains and forwarding parser function

* adjust pylint config
* fix: update amazon delivered subject for amazon.de

* update tests
* fix: attempt to fix IO blocking with ssl contexts

* linting
* Update Intelcom Shipper

Intelcom changed its name to Dragonfly and updated email notifications.

* Update const.py
* Added Otto mal subject

* Update custom_components/mail_and_packages/const.py

Co-authored-by: Chris <[email protected]>

---------

Co-authored-by: Chris <[email protected]>
* fix: adjust decoding for amazon emails

* adjust ssl context

* attempt alternative processing method

* attempt to get_payload with no value

* adjust processing for amazon hub emails as well

* formatting

* update tests to py3.13
* fix: config flow missing storage default

* formatting
…#1026)

* fix: fix iCloud email fetching due to non-RFC IMAP server

* update test fixtures
Updated Walmart deliveries to include "Arrived:"
* fix: add additional amazon email

* update tests

* update test workflow
@firstof9
Copy link
Collaborator Author

Well that didn't go as planned. This will be in a new PR.

@firstof9
Copy link
Collaborator Author

Please see #1037

@firstof9 firstof9 closed this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants