Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Coronavirus Notification Automation Question

$
0
0

@dicko wrote:

Hi

What have I done wrong that is not letting me get a notification when the UK Confirmed Cases increase to my mobile ?

Thanks

Martyn

- id: Coronavirus Update UK
  alias: Coronavirus Confirmed Cases Increase in UK
  trigger:
  - platform: state
    to: 'triggered'
    entity_id: sensor.uk_coronavirus_confirmed
  - service: notify.mobile_app_martyn
    data_template:
      title: Coronavirus has increase in UK
      message: Total Number of confirmed cases in UK is now {{ states.sensor.uk_coronavirus_confirmed.state
        }} at {{now().strftime('%H:%M %d-%m-%Y')}}.

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>