Advay
(Advay)
June 9, 2024, 8:22am
1
I have tried the following code to read the body of the email using IMAP:
description: ""
trigger:
- platform: event
event_type: imap_content
event_data:
username: [email protected]
sender: [email protected]
initial: true
context: {}
condition: []
action:
- service: notify.persistent_notification
metadata:
hi: null
data:
message: "{{ trigger.event.data['text'] }}"
mode: single
but i dont seem to get the notification
Please post your code using the community standards. The following link explains how to use the back tick to post code. See #11 . It will expedite a solution
Before we begin…
This forum is not a helpdesk
The people here don’t work for Home Assistant, that’s an open source project. We are volunteering our free time to help others. Not all topics may get an answer, never mind one that helps you solve your problem.
[image]
This also isn’t a general home automation forum, this is a forum for Home Assistant and things related to it. Any question about Home Assistant, and about using things with Home Assistant, is welcome here. We can’t help you with eve…