Your data template is set up incorrectly. Here’s an example of how I have one set up:
# Idiot Alert - If doors are open and I leave, remind me
- alias: 'Door Minder'
trigger:
platform: state
entity_id: device_tracker.rpitera_rpitera
from: 'home'
to: 'not_home'
condition:
condition: or
conditions:
- condition: state
entity_id: binary_sensor.front_door
state: 'on'
- condition: state
entity_id: binary_sensor.side_door
state: 'on'
action:
service: notify.pushbullet
data_template:
message: >
Robert, you left one of the entry doors open. Front Door is {{ states.binary_sensor.front_door.state }}. Side Door is {{ states.binary_sensor.side_door.state }}.
Assuming you’re just doing this to test as the automation you set up would send a notification every 5 minutes.
Also, in the future when posting code, highlight your code block and press the preformatted text button so your code example shows up like mine.
Thanks for response. It’s for test purpose only at 5 mins. I changed to this but still no notifications. I try to highlight code but doesn’t work automation: alias: Forecast trigger: platform: time minutes: '/5' seconds: 00 action: service: notify.pushbullet_notifications data_template: message: > Temperature is {{sensor.dark_sky_temperature}}.
Temperature is {{ states.sensor.dark_sky_temperature.state }}. Besides the states/state note also the spaces.
Hard to tell what else might be off until you can post it with the formatting intact. Try again; paste your code block into the editor, then select the entire code block and while it is still selected, press the button marked with the red box in this image: