Just installed Home Assistant yesterday and already really liking what I am seeing. I did want to make a note for future users here.
I have pushbullet installed and I still really like it even without the Pro service because of their API. In HA I was able to broadcast messages with the Call Service like so:Domain: notify
Service: PB
Service Data:{
"message": "PB message"
}
This would sent to every device. Cool it works. But I like to tailor my messages to specific devices. (Most just need to my phone) To do this I would need to send it like this:{
"message": "PB",
"target": [
"device/Motorola Nexus 6"
]
}
Didn’t work. I figured it had to do with the spaces in the Device Nickname. So I was able to change the device nickname with Pushbullet’s API like so:curl --header 'Access-Token: PB-API-KEY' --header 'Content-Type: application/json' --data-binary '{"nickname":"NICKNAME-YOU-WANT"}' --request POST https://api.pushbullet.com/v2/devices/DEVICES-IDEN
Once I changed my phone’s nickname to a single word with no spaces it worked fine and dandy.
Oh yeah, get your PB devices and iden key with:curl --header 'Access-Token: PB-API-KEY' https://api.pushbullet.com/v2/devices
Another way around this would be if you could specify the Device by iden instead of nickname in HA… feature request??