Home Assistant does a great job of detecting problems with sensors and puts a WARNING in the log such as:
WARNING (MainThread) [homeassistant.components.sensor] Updating scrape sensor took longer than the scheduled update interval 0:00:30
Can this WARNING be used to trigger an Automation or Notification?
That’s a good question - I have a weather warning that doesn’t work and I only found out it doesn’t work through reading the log the other day
feedreader:
urls:
- http://www.metoffice.gov.uk/public/data/PWSCache/WarningsRSS/Region/yh
- alias: 'Alert From Weather RSS Feed'
trigger:
platform: event
event_type: feedreader
action:
- service: notify.mobile_app_iphone
data:
message: "{{ trigger.event.data.description }}"
title: "{{ trigger.event.data.title }}"
- service: notify.mobile_app_iphone6s
data:
message: "{{ trigger.event.data.description }}"
title: "{{ trigger.event.data.title }}"