Jan Bouwhuis
65ebb6a74f
Improve imap error handling for config entry ( #96724 )
...
* Improve error handling config entry
* Removed CancelledError
* Add cleanup
* Do not call protected async_set_state()
2023-07-17 09:44:47 +02:00
Jan Bouwhuis
72458b6672
Add feature to turn off using IMAP-Push on an IMAP server ( #96436 )
...
* Add feature to enforce polling an IMAP server
* Add test
* Remove not needed string tweak
* Rename enforce_polling to enable_push
* Push enabled by default
2023-07-14 21:26:35 +02:00
Franck Nijhof
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap ( #94359 )
2023-06-27 17:42:46 +02:00
Jan Bouwhuis
5e55f83cbc
Correct imap sensor measurement class and add suggested precision ( #94060 )
...
* Fix imap sensor measurement class and precision
* Test measurement class is set correctly
* Remove unrelated changes
* Move EntityDescription to module level
2023-06-16 00:44:58 +02:00
Jan Bouwhuis
7a195b5291
Fix imap crash on email without subject ( #94230 )
2023-06-08 11:11:12 +02:00
Jan Bouwhuis
1e0770ff8a
Add ssl_verify option to imap integration ( #93811 )
...
* Add ssl_verify option to imap integration
* Add test
2023-05-30 19:48:47 +02:00
Jan Bouwhuis
4c0d169cfc
Fix imap parsing non rfc compliant date crash ( #93630 )
...
* Fix imap parsing non rfc compliant date crash
* Use parsedate_to_datetime from mail.utils
2023-05-28 13:28:11 +02:00
Jan Bouwhuis
1b5d207984
Add imap custom event data template ( #93423 )
...
* Add imap custom event template
* Add template validation
2023-05-25 11:05:25 +02:00
Jan Bouwhuis
5bc825a8ab
Add advanced imap option to set custom event max message size ( #93163 )
2023-05-22 12:14:06 +02:00
Jan Bouwhuis
c97e0f11a5
Fix last imap message is not reset on empty search ( #93119 )
2023-05-15 21:15:10 +02:00
Jan Bouwhuis
3f6541a6db
Add cipher list option to IMAP config flow ( #91896 )
...
* Add cipher list option to IMAP config flow
* Use client_context to get the ssl_context
* Formatting
* Add ssl error no make error handling more specific
* Make ssl_ciper_list an advanced option
2023-04-24 15:37:21 +02:00
Jan Bouwhuis
94817f61e5
Suppress imap logging on reconnect and presume state ( #90826 )
2023-04-05 12:18:16 +02:00
Jan Bouwhuis
580b20b0a8
Deprecate imap_content_sensor ( #90429 )
...
* Deprecate imap_content_sensor
* Rename unique_id to issue_id
* Migrate config to imap entry
* Improve dialogs
* Improve dialog texts
* Add repairs.py to .coveragerc
* Test the integration component setup
* Text tweak
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use flow for creating entries
* Rename schema add tests
* Patch client instead
* Add tests repairs - refactor async_step_confirm
* Comments test, correct calling next step
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-04-03 07:27:41 +02:00
Jan Bouwhuis
93e1cd8dd8
Add header with parsed date to imap event data ( #90422 )
2023-03-28 22:50:25 +02:00
Jan Bouwhuis
24d0d15f38
Implement imap_content event for imap integration ( #90242 )
2023-03-28 21:02:43 +02:00
Jan Bouwhuis
5b3c57ff1e
Add option flow for imap integration ( #89914 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-27 11:47:22 +02:00
Jan Bouwhuis
51b12cbf96
Add user_input as suggested value in imap config flow ( #89982 )
...
Add user_input as suggested value to config_schema
2023-03-20 15:52:54 +01:00
Jan Bouwhuis
e4275a053c
Remove yaml import from imap integration ( #89981 )
...
* Remove yaml import from imap integration
* Cleanup sensor code and strings.json
2023-03-20 15:52:07 +01:00
Rami Mosleh
a0e18051c7
Add config flow to imap ( #74623 )
...
* Add config flow to imap
fix coverage
fix config_flows.py
* move coordinator to seperate file, remove name key
* update intrgations.json
* update requirements_all.txt
* fix importing issue_registry
* Address comments
* Improve handling exceptions on intial connection
* exit loop tasks properly
* fix timeout
* revert async_timeout
* Improve entity update handling
* ensure we wait for idle to finish
* fix typing
* Update deprecation period
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-09 11:41:47 +01:00