Hi there, I’m trying to add an SMTP account to my HA config file but for some reason it seems to not be working.
I followed the instructions on: https://www.home-assistant.io/integrations/smtp BUT I can’t add the SMTP integration in the addons and don’t know why t s not visible to me !
This is the my config yaml part :
Example configuration.yaml entry
notify:
- name: yahoo1
platform: smtp
server: smtp.yahoo.com
port: 587
timeout: 15
sender: [email protected]
encryption: starttls
username: my_HA
password: !secret yahoo_pass
recipient: [email protected]
sender_name: My Home Assistant
debug: True
and the automation is as following
alias: New Yahoo Automation
description: ‘’
trigger:
- type: motion
platform: device
device_id: ed04f76cf7dfe42c495d4fterte1ea8
entity_id: binary_sensor.presence_29
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 5
condition: []
action: - data:
message: Intruder Alert At Home yahoo
title: Intruder Alert YAhoo
service: notify.yahoo1 - service: notify.notify
data:
message: On Off Fenstersensor ist ON yahoo
mode: single
This is also the log :
2021-01-11 18:23:09 ERROR (MainThread) [homeassistant.components.automation.new_yahoo_automation] New Yahoo Automation: Error executing script. Service not found for call_service at pos 1: Unable to find service notify.yahoo1
2021-01-11 18:23:09 ERROR (MainThread) [homeassistant.components.automation.new_yahoo_automation] While executing automation automation.new_yahoo_automation
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/automation/init.py”, line 404, in async_trigger
await self.action_script.async_run(
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 1026, in async_run
await asyncio.shield(run.async_run())
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 242, in async_run
await self._async_step(log_exceptions=False)
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 250, in _async_step
await getattr(
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 457, in _async_call_service_step
await service_task
File “/usr/src/homeassistant/homeassistant/core.py”, line 1395, in async_call
raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service notify.yahoo1
Operating System : Home Assistant OS 5.10
i trayed everything but i still not receive any email
can you please help ?
Mnay thanks in advance