Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Better fix for config flow defaults * Add more tests for config flow * Missed a default * Update config flow text * Add USPS Exception sensor * Added tests with sample email * Add test for download_img function * Remove commented code * Handle additional date formats in Amazon emails * Move init tests to test_init.py * Fix default for DEFAULT_PATH * Additional tests * Add amazon image download error test * Various path error tests * Add imap_timeout default test * Rework DataUpdateCoordinator * Remove unused variable * Remove commented code * Additional typing * Update release-drafter.yaml * Remove quotes from amazon foward emails * Remove garbage test files * Mail camera (#4) * Create camera.py * Add camera platform * Configuration is done via the config that's already in place * Remove unused imports * More unused imports removed * Add service call * Add service call to update camera * Add tests * Fix docstring * Update requirements_test.txt * Update camera.py * Remove file path since we get it from the coordinator * Attempt to get camera image to auto update * Add guards to service call * Add framework for Amazon camera * Add 'dev' marking to version * Clean up unused imports in test * Put async_update back in * Add host to camera attributes * More cleanup * Rename camera class * Update camera test * Add amazon image name rotation * Add test for amazon image rotation * Simplify amazon rotating image name generation * Adjust image_file_name generation for amazon images * Adjusted test * Create services.yaml * Change debug message * Add amazon deliveries image to camera * Update markdown files and hacs.json * Move images to component directory * Move images to images directory in custom_component directory * Change boolean wording * Add function to copy images to www/mail_and_packages if enabled * Added test for new function * typing * Add cleanup to new image paths * Adjusted test to confirm cleanup in directories * Update some translations * fix missing directory on amazon camera path * More tests for new function * Remove unneeded try/catch * Fix double slash in path * Path fix * Update .codecov.yaml * Add test for check_file_path_access * Clean up commented code * More cleanup * Copy placeholder image into directories * More debugging messages, update USPS tracking number pattern * Create no_deliveries.jpg * Create config.yml * Change default image for amazon * Fix no dlivery logic * Image change * Update camera.py * Fix errors * Removed unneeded logic from image_file_name * Updated docstrings * More tests * Update config.yml * fix: wrong filename generated * When no errors occur and no files are found return random filename * Fixes #413 * Revised tests to check for wrong filename output * Add additional subject for FedEx * Add amazon exception sensor * Adjust tests, handle IMAP errors * Fix Amazon exception email address * fix(shipper): Update for new UPS formatted emails * feat: add UPS exception sensor * chore: new labeler github action * chore: adjust release-drafter * chore: add category to labeler * fix: resolve bug in amazon exception sensor * fixes #431 * fix: filter empty list for amazon forwards * Config flow refactor (#5) * refactor: create _valididate_user_input function * Add check in async_setup_entry to fix invalid amazon forwarding email lists * refactor: update tests and error messages * chore: add comments * chore: add missing docstring * chore: clean up translation files * refactor: adjust tests, correct spelling * chore: fix translation file * chore: update workflow configs * Update release-drafter.yml * update the configs again * fix(shipper): fix usp_delivering sensor * refactor: code clean up and complexity reduction (#6) * refactor: code clean up and complexity reduction * create pylintrc, add missing docstring * more clean up * formatting, remove unused import * clean up unused imports * chore: add IoT class to manifest.json * Fix tests * Enable custom integration tests * Initial start to custom no mail * Update config flow to accept custom no mail image * fix: sensor error when self.data is None * Update config flow test * Added new default option to config flow test * Removed unused import * Add custom image paths to functions * Add tests for new custom image feature * Options flow fix * Fix options flow * Add tests for options for for new feature * More tests * adjust the default custom image * chore: workflow changes * Disable labeler * Use release-drafter auto labeler * Add PR Linter for semantic pr titles * Add available property to camera entities * fix typo * Add more debugging * fix test * chore: adjust release-drafter config * fix: config flow not loading new config * fix: adjust file path generation for new option * Fix/adjust tests to properly test new option * Add a more debugging to camera.py * fix(translations): adjust wording on new option * fix: adjust image_file_name function * Add more debugging * Minor refactor on "no mail" image * Add more checks to tests * fix: fix nomail image in get_mails function * Better error handling * More error handling * More debug messages * Update test requirements * update tests * more tests * Update USPS delivering subject * Fixes #473 * Add code-quality to release drafter * Attempt to parse international dates * Potential fix #478 * make sure date is processed * fix: better international handling of amazon * added additional international tests * update to install Italian locale * Update pytest.yaml * Add additional language flag * Update const.py * fix: better errors for intervals too low * Fixes #483 * Update USPS tracking number regex * fix test * fix: tracking number with multiple subjects search * fix: better fix for #488 * extend the tracking numbers list * make sure not to count the tracking numbers twice * condense code * fix: user input malformed bug in config flow * update the function where missing * Fix UPS Tracking * Add ConfigEntryNotReady if we can't pull data on startup * Change to use self._attr_unit_of_measurement * Fix tests * Update pytest.yaml * Fix tests * more test fixes * Update test_helpers.py * fix: properly handle HTML emails * refactor: small code cleanup * Adjust tests * refactor: more cleanup * Adjust tests * Adjust local warnings to info and adjust amazon count * fix: don't try to update camera if data is missing * docs: update README * ignore bandit warning * refactor: swap state for native_value * add missing entity classes * spelling * fix: requesting camera height and width * Update release-drafter.yml * fix: adjust find_text function * related to #515 * fix: pass the list directly to find_text * related to #515 * chore: formatting * tests: add fedex out for delivery * refactor: utilize walrus operator * replace amazon icon * feat: add error message if coordinator fails on startup * fix: list index out of range error * fixes #525 * Update en.json
- Loading branch information