Does this mean I can now effectively send a message back to HA via pushbullet?
If so, anybody doing it? Examples?
Does this mean I can now effectively send a message back to HA via pushbullet?
If so, anybody doing it? Examples?
Oh snap, this could be awesome, will need to test it out.
Yeah, I’m too tired to try and get my head round it so was hoping somebody would already have an example I could look at, but short of that I’ll have a play tomorrow
Does anybody have an example yet? I try to read the body of an incoming notification to trigger my lights to change their color.
Thats what I have so far, but I don’t know how to read the body and if platform:sensor or platform:pushbullet is the right way.
sensor:
- platform: pushbullet
api_key: - deleted -
monitored_conditions:
- application_name
- body
automation:
- alias: "Trigger lights"
trigger:
- platform: pushbullet
sensor:
- platform: pushbullet
api_key: !secret
monitored_conditions:
- body
automations.yaml
- id: testpush
alias: testpush
trigger:
platform: state
entity_id: sensor.pushbullet_body
to: 'bodytext'
action:
service: switch.turn_off
entity_id: switch.wall_switch1
for me this works. Keep in mind that the Body is the state
Great, thank you! Is it possible to use wild cards like body: “abc*”?
Here is what I have so far:
- alias: "Push"
trigger:
platform: state
entity_id: sensor.pushbullet_title
to: 'titletext'
{% if 'something' in sensor.pushbullet_title %}
action:
service: light.turn_off
data:
entity_id: light.bett
transition: 2
{% else %}
action:
service: light.turn_off
data:
entity_id: light.bett
transition: 2
{% endif %}
What I try to do is switching off my lights if I receive a notification with the title that contains a special string (in this example “something”). The code above is not working. Does anybody know what’s wrong with that?
When I trigger the automation manually the light is switching off, but it seems like the automation is not triggered when I receive a notification.
- alias: Read Messages
trigger:
platform: state
entity_id: sensor.pushbullet_body
action:
service: tts.google_say
entity_id: media_player.chromecastaudio
data_template:
message: >
"{{ states('sensor.pushbullet_body') }}"
This is my working automation with Mirrors.
Try it with the following code:
- alias: "Push"
trigger:
platform: state
entity_id: sensor.pushbullet_title
{% if 'something' in sensor.pushbullet_title %}
action:
service: light.turn_off
data:
entity_id: light.bett
transition: 2
{% else %}
action:
service: light.turn_off
data:
entity_id: light.bett
transition: 2
{% endif %}
Home-Assistant itself is telling me that your config is fine, but when I reload everything, the automation is not shown and there is the following error when I go through the logs:
2017-11-06 21:25:14 ERROR (SyncWorker_12) [homeassistant.util.yaml] while scanning for the next token
found character '%' that cannot start any token
in "/config/configuration.yaml", line 157, column 2
2017-11-06 21:25:14 ERROR (MainThread) [homeassistant.components.group] while scanning for the next token
found character '%' that cannot start any token
in "/config/configuration.yaml", line 157, column 2
Is this component still working?
Is anyone using it now? I can’t get it to work
I use it for a year, it’s working but it’s not very reliable. It could work well for days and then stop. My conf is the default one.