New to HA, try to send Pushbullet notifications

Hi, I’m trying to send weather updates to Pushbullet, but no notification is received. I use iOS 10.2.
This is my configuration.yaml file

notify:
name: pushbullet_notifications
platform: pushbullet
api_key: ****

sensor:

  • platform: yr
  • platform: darksky
    api_key: ****
    update_interval: ‘00:05:00’
    monitored_conditions:
    • summary
    • and others here

automation:
alias: Forecast
trigger:
platform: time
minutes: ‘/5’
seconds: 00
action:
service: notify.pushbullet_notifications
data_template:
title: “Weather today”
message: “Temperature{{sensor.dark_sky_temperature}}”

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 :slight_smile:
automation: alias: Forecast trigger: platform: time minutes: '/5' seconds: 00 action: service: notify.pushbullet_notifications data_template: message: > Temperature is {{sensor.dark_sky_temperature}}.

Should be

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:

 automation:
      - alias: Forecast
        trigger:
          platform: time
          minutes: '/5'
          seconds: 00
        action:
          service: notify.pushbullet_notifications
          data_template:
            message: >
              Temperature is {{sensor.dark_sky_temperature}}.

Yah, works. I’ll try with sapces and states. Thnks very much. It’s first time when I work with yaml

It works now. Thnaks

Glad to help!

Thank you! It helped me a lot!