From 4fec2dcb28e8bd67770837c05b51077caa337ff2 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 4 Jan 2015 01:01:49 -0800 Subject: [PATCH] Add notification component and PushBullet platform --- config/home-assistant.conf.example | 4 + homeassistant/components/http/frontend.py | 2 +- .../components/http/www_static/frontend.html | 2 +- .../polymer/components/domain-icon.html | 3 + homeassistant/components/notify/__init__.py | 83 +++++++++++++++++++ homeassistant/components/notify/pushbullet.py | 51 ++++++++++++ homeassistant/const.py | 1 + pylintrc | 4 +- requirements.txt | 3 + 9 files changed, 149 insertions(+), 4 deletions(-) create mode 100644 homeassistant/components/notify/__init__.py create mode 100644 homeassistant/components/notify/pushbullet.py diff --git a/config/home-assistant.conf.example b/config/home-assistant.conf.example index 0edd11e98f6..f0dab565a17 100644 --- a/config/home-assistant.conf.example +++ b/config/home-assistant.conf.example @@ -36,6 +36,10 @@ platform=wemo [downloader] download_dir=downloads +[notify] +platform=pushbullet +api_key=ABCDEFGHJKLMNOPQRSTUVXYZ + [device_sun_light_trigger] # Optional: specify a specific light/group of lights that has to be turned on light_group=group.living_room diff --git a/homeassistant/components/http/frontend.py b/homeassistant/components/http/frontend.py index ce3257fe439..23473f3d9e3 100644 --- a/homeassistant/components/http/frontend.py +++ b/homeassistant/components/http/frontend.py @@ -1,2 +1,2 @@ """ DO NOT MODIFY. Auto-generated by build_frontend script """ -VERSION = "e90cfdadc67bce88083a4af5b653bed5" +VERSION = "7a143577b779f68ff8b23e8aff04aa9b" diff --git a/homeassistant/components/http/www_static/frontend.html b/homeassistant/components/http/www_static/frontend.html index 62b5b505fc3..15cef5041b6 100644 --- a/homeassistant/components/http/www_static/frontend.html +++ b/homeassistant/components/http/www_static/frontend.html @@ -50,7 +50,7 @@ if(this.removeAttribute(a),d)return j(this,a,c);var e=c,f=m(this,a,e);return j(t