Good evening. I admit at the outset that I’m a newbie to HA and to the languages used, though my career is in IT, so not a total non-techie.
I’m playing around with some automations and I’m trying to get HA to notify me via pushbullet whenever the state of the weather (via Dark Sky) changes, and use the trigger.to_state.state variable to to tell me in the message what the weather is. Given the section of code below, I get the following error:
16-10-20 01:34:42 homeassistant.core: Error inside async loop: Task exception was never retrieved
Note…pushbullet is working if I provide all of the data, but nothing happens when trying to use the state variable. Any help would be appreciated.
automation 4:
alias: Weather change
initial_state: True
hide_entity: False
trigger:
platform: state
entity_id: sensor.dark_sky_summaryaction:
service: notify.notify
data_template:
title: “Weather changed”
message: >
The weather just changed to {{ trigger.to_state.state }}