Hi is it possible for home assistant to send an email if a specific error is logged?
Yes you should be able to do this with the event trigger.
e.g.
trigger:
- platform: event
event_type: system_log_event
event_data:
level: ERROR
condition:
- condition: template
value_template: "{{ 'word(s) you want to match' in trigger.event.data.message[0] }}"
action:
- service: <your email notification here>
By listening for the event in Developer Tools → Events you may even be able to make the trigger more specific.
Thank you. I’ll give it a try.