Commit Graph
133 Commits
Author SHA1 Message Date
epenetGitHubcopilot-swe-agent[bot] <[email protected]>frenck
d766aae436 Remove import annotations from components (#169536)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: frenck <[email protected]>
2026-04-30 21:14:48 +02:00
018e8e06fa Cancel and await idle_start future if the task was canceled after an IMAP connection was lost (#168662)
Co-authored-by: J. Nick Koston <[email protected]>
2026-04-22 09:43:22 +02:00
epenetandGitHub c881d96d2f Cleanup unnecessary brackets for except statements (i-p) (#162405) 2026-02-06 13:23:25 +01:00
Joost LekkerkerkerandGitHub 537f93872c Add integration_type service to imap (#159171) 2025-12-16 11:32:48 +01:00
Robert ReschandGitHub 96f84b2b99 Sort homeassistant json files (#155285) 2025-10-28 10:33:10 +01:00
Jan BouwhuisandGitHub de6c3512d2 Add IMAP fetch message part feature (#152845) 2025-09-27 14:49:26 +02:00
Norbert RittelandGitHub 86a48294f4 Change all imap action descriptions to match HA style (#143894)
Change all `imap` action description to match HA style

Change all four descriptions to use third-person singular to ensure proper (machine) translations.
2025-04-29 20:59:06 +03:00
Jan BouwhuisandGitHub 220509fd6c Fix body text of imap message not available in custom event data template (#139609) 2025-03-01 23:00:22 -05:00
Erik MontnemeryandGitHub f83c8de8d3 Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
Jan BouwhuisandGitHub 96b4a71f6f Explicitly pass in the config_entry in imap coordinator (#138068) 2025-02-09 15:43:43 +01:00
Jan BouwhuisandGitHub e56772d37b Bump aioimaplib to version 2.0.1 (#137049) 2025-01-31 18:38:11 -06:00
epenetandGitHub 9046ab0250 Standardize homeassistant imports in component (i-k) (#136826) 2025-01-29 11:56:50 +01:00
Jan BouwhuisandGitHub 6fd73730cc Bump aioimaplib to 2.0.0 (#135448) 2025-01-13 19:19:06 +01:00
epenetandGitHub e61142c2c2 Check if requirement is typed in strict_typing IQS validation (#133415)
* Check if requirement is typed in strict_typing IQS validation

* Apply suggestions from code review

* Apply suggestions from code review

* Return a list

* Adjust

* Improve
2024-12-17 12:53:27 +01:00
epenetandGitHub 12be82fdbc Add parallel-updates rule to quality_scale validation (#132041) 2024-12-06 22:40:29 +01:00
Jan BouwhuisandGitHub d66a6d9596 Fix imap sensor in case of alternative empty search response (#132081) 2024-12-03 13:06:54 +01:00
epenetandGitHub 5458ee2fa9 Use typed config entry in imap (#132029)
* Use typed config entry in imap

* Adjust
2024-12-02 07:28:29 +01:00
Jan BouwhuisandGitHub 00ea56e085 Add quality scale for IMAP integration (#131289) 2024-11-24 11:30:05 +01:00
Jan BouwhuisandGitHub 6064055150 Improve imap config flow strings and add data descriptions (#131279) 2024-11-22 17:14:23 +01:00
Jan BouwhuisandGitHub 384b2af31e Add entity translations and entity category for IMAP mail count sensor (#131152)
* Add entity translations and entity category for IMAP mail count sensor

* Update tests

* Support unit_of_measurement

* Add unit_of_measurement
2024-11-22 15:03:24 +01:00
Jan BouwhuisandGitHub 4a8a674bd3 Refrase imap fetch service description string (#130152) 2024-11-08 18:36:19 +01:00
epenetandGitHub 8b6c99776e Cleanup unnecessary OptionsFlowWithConfigEntry (part 1) (#129752)
* Cleanup unnecessary OptionsFlowWithConfigEntry

* Fix emoncms

* Fix imap

* Fix met

* Fix workday
2024-11-03 22:57:18 +01:00
rappenzeandGitHub 59ad69b637 Fix description placeholder in imap reauth (#128940) 2024-10-21 22:29:24 +02:00
epenetandGitHub 94506c3c90 Use reauth helpers in imap (#128645) 2024-10-18 14:27:21 +02:00
Erik MontnemeryandGitHub cffa8b4feb Update icons.json to new service schema part 2 (#124769) 2024-08-28 13:47:41 +02:00
Jan BouwhuisandGitHub 2add53e334 Bump aioimaplib to 1.1.0 (#120045) 2024-06-21 08:47:50 +02:00
Rami MoslehandGitHub bb2883a5a8 Store imap coordinator in runtime_data (#119611) 2024-06-13 16:58:05 +02:00
Rami MoslehandGitHub cab58fa9b2 Check if imap message text has a value instead of checking if its not None (#118901)
* Check if message_text has a value instead of checking if its not None

* Strip message_text to ensure that its actually empty or not

* Add test with multipart payload having empty plain text
2024-06-06 14:10:03 +02:00
Jan BouwhuisandGitHub 8bc5a798ca Fix IMAP config entry setup (#116797) 2024-05-04 13:18:26 -05:00
Marc MuellerandGitHub a0314cddd4 Fix invalid tuple annotations (#116035) 2024-04-23 16:02:16 +02:00
J. Nick KostonandGitHub f3a3e6821b Switch imap push coordinator to use eager_start (#115454)
When I turned on eager_start here the data would always end up being
None because _async_update_data always returned None. To fix this
it now returns the value from the push loop. It appears this race
would happen in production so this may be a bugfix but since
I do not use this integration it could use a second set of eyes
2024-04-12 09:14:35 +02:00
fc1ebdaaa3 Add config message items selector to imap option flow (#115108)
* Update const.py

* Update config_flow.py

* Update coordinator.py

* Update coordinator.py

* Update strings.json

* Update config_flow.py

* Update const.py

* Update coordinator.py

* Update config_flow.py

* Update config_flow.py

* Update test_diagnostics.py

* Update const.py

* Update test_init.py

* Update test_diagnostics.py

* Update test_diagnostics.py

* Update test_diagnostics.py

* Update test_init.py

* Update test_diagnostics.py

* Update test_init.py

* Update test_diagnostics.py

* Update test_diagnostics.py

* Update test_diagnostics.py

* Update test_config_flow.py

* Update config_flow.py

* Update test_config_flow.py

* Update test_init.py

* Update const.py

* Only make text and headers optional

* Add message data tests

* Add message data test

* Update test_config_flow.py

* Update test message data

* Fix ruff

* Fix ruff

* Update test_init.py

* Update strings.json

---------

Co-authored-by: jbouwh <[email protected]>
Co-authored-by: Jan Bouwhuis <[email protected]>
2024-04-08 19:34:50 +02:00
Jan BouwhuisandGitHub 8b5177e989 Add IMAP fetch service (#115127)
* Add IMAP fetch service

* Fix docstr
2024-04-08 09:50:28 +02:00
Jan BouwhuisandGitHub c270ab0059 Correct duplicate word in IMAP translations (#115132) 2024-04-07 19:29:19 +02:00
J. Nick KostonandGitHub 166910f587 Make eager_start default to True for async_create_background_task (#114996) 2024-04-06 09:53:50 -10:00
Jan BouwhuisandGitHub fa47e79292 Correct typo in IMAP translation (#115032) 2024-04-06 18:37:54 +02:00
Øyvind Matheson WergelandandGitHub fdef3ece13 Fix placeholder quotes (#114974)
* When quoting placeholders, always use double quotes so Lokalise recognizes the placeholder.

* Ensure that strings does not contain placeholders in single quotes.

* Avoid redefining value

* Moved string_with_no_placeholders_in_single_quotes

* Define regex once

* Fix tests
2024-04-06 13:01:56 +02:00
0d66d298ec Enable Ruff RET504 (#114528)
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <[email protected]>
2024-04-06 11:07:37 +02:00
Jan BouwhuisandGitHub d66145358a Correct imap services setup (#114760)
* Correct imap services setup

* Add config schema
2024-04-03 18:40:59 +02:00
Jan BouwhuisandGitHub 83b56ab005 Add IMAP seen, move and delete service (#114501)
* Add seen, move and delete IMAP services

* Add entry_id to the imap_content event data

* Use config validation library

* Add tests

* Add logging

* Typo in docstr

* Add guard
2024-04-02 23:05:05 +02:00
SidandGitHub 6587ee20db Enable Ruff TRY300 (#114437)
* Enable Ruff TRY300

* Update validation.py

* Address review comments
2024-03-30 10:37:59 +01:00
Luca AngemiandGitHub 54c5f18aac Add uid attribute to imap_content event data (#114432)
* Add uid to imap event

* Add ´uid´ to tests

* Update test_init.py
2024-03-29 15:04:24 +01:00
6bb4e7d62c Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <[email protected]>
Co-authored-by: Marc Mueller <[email protected]>
Co-authored-by: J. Nick Koston <[email protected]>
2024-03-26 00:02:16 +01:00
SidandGitHub 82a60fe8ad Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
Marc MuellerandGitHub 8809d3aa88 Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
Erik MontnemeryandGitHub 52e7912caf Migrate integrations i-m to generic flowhandler (#111863) 2024-02-29 20:08:46 +01:00
Jan BouwhuisandGitHub 8aa4157290 Add entry diagnostics to imap integration (#109460) 2024-02-09 11:30:27 +01:00
Marc MuellerandGitHub 7a89e58873 Use builtin TimeoutError [e-i] (#109679) 2024-02-05 12:00:37 +01:00
Jan BouwhuisandGitHub 7ab1cdc2b3 Move nested code to class level as static method in imap coordinator (#109665)
* Move _decode_payload to module level in imap coordinator

* Make static method
2024-02-05 08:59:03 +01:00
Jan BouwhuisandGitHub 7cc0b8a2fe Fix imap message part decoding (#109523) 2024-02-04 21:25:14 +01:00