Add config flow to imap#74623
Conversation
a461b7a to
32e88ef
Compare
8432cff to
55eeace
Compare
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
|
Please solve the merge conflict. |
55eeace to
6b34e94
Compare
|
A future improvement of this integration could be to fire a custom event when a new email arrives. Then we could deprecate the https://www.home-assistant.io/integrations/imap_email_content/ |
c228576 to
5d0ad4f
Compare
cc343d5 to
a039482
Compare
a039482 to
3980299
Compare
|
Ping me when you've linked a docs PR and I'll merge. |
Done. Thanks for the support on this one. |
|
Thanks! |
* 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>
@MartinHjelmare With a custom event, can the user use the data, or is it only possible to filter an event with the data? |
|
I don't understand what you mean with:
|
|
Found this https://www.home-assistant.io/integrations/template/#turning-an-event-into-a-trigger-based-binary-sensor |
|
Yes, the trigger data is available in the template. https://www.home-assistant.io/docs/automation/templating/#event |
Breaking change
The Imap integration migrated to configuration via the UI. Configuring Imap via YAML configuration has been deprecated and will be removed in a future Home Assistant release.
Your existing YAML configuration is automatically imported on upgrade to this release; and thus can be safely removed from your YAML configuration after upgrading.
Proposed change
imapintegration.Type of change
Additional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: