From dfd29d7e8025ad116ce065bc2548c4684fc04628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B8yer=20Iversen?= Date: Thu, 4 Oct 2018 21:56:17 +0200 Subject: [PATCH] Tibber component (#6504) * Create tibber.markdown * Update sensor.tibber.markdown * Create notify.tibber.markdown * Update tibber.markdown * Update tibber.markdown * Update notify.tibber.markdown --- source/_components/notify.tibber.markdown | 35 +++++++++++++++++++++++ source/_components/sensor.tibber.markdown | 15 +--------- source/_components/tibber.markdown | 35 +++++++++++++++++++++++ 3 files changed, 71 insertions(+), 14 deletions(-) create mode 100644 source/_components/notify.tibber.markdown create mode 100644 source/_components/tibber.markdown diff --git a/source/_components/notify.tibber.markdown b/source/_components/notify.tibber.markdown new file mode 100644 index 00000000000..48c9472d5a9 --- /dev/null +++ b/source/_components/notify.tibber.markdown @@ -0,0 +1,35 @@ +--- +layout: page +title: "Tibber" +description: "Instructions on how to integrate Tibber within Home Assistant." +date: 2015-10-04 16:34 +sidebar: true +comments: false +sharing: true +footer: true +logo: tibber.png +ha_category: Notifications +ha_release: 0.80 +ha_qa_scale: silver +ha_iot_class: "Cloud Polling" +--- + +The requirement is that you have setup [Tibber component](/components/tibber/). + + +### {% linkable_title Usage %} + +Tibber can send a notification by calling the notify service [as described here](/components/notify/). It will send a notification to all devices registered in the Tibber account. + + +To use notifications, please see the [getting started with automation page](/getting-started/automation/). + +### {% linkable_title Send message %} + +```yaml +action: + service: notify.tibber + data: + title: Your title + message: This is a message for you! +``` diff --git a/source/_components/sensor.tibber.markdown b/source/_components/sensor.tibber.markdown index 7e022d81368..92dca29736f 100644 --- a/source/_components/sensor.tibber.markdown +++ b/source/_components/sensor.tibber.markdown @@ -16,21 +16,8 @@ ha_iot_class: "Cloud Polling" The `tibber` sensor provides the current electricity price if you are a [Tibber](https://tibber.com/) customer. If you have a Tibber Pulse it will also show the electricity consumption in real time. -To add Tibber to your installation, add the following to your `configuration.yaml` file: +The requirement is that you have setup [Tibber component](/components/tibber/). -```yaml -# Example configuration.yaml entry -sensor: - - platform: tibber - access_token: d1007ead2dc84a2b82f0de19451c5fb22112f7ae11d19bf2bedb224a003ff74a -``` - -{% configuration %} - access_token: - description: Go to [developer.tibber.com/](https://developer.tibber.com/) to get your API token. - required: true - type: string -{% endconfiguration %} ## {% linkable_title Examples %} diff --git a/source/_components/tibber.markdown b/source/_components/tibber.markdown new file mode 100644 index 00000000000..4148ebbb1ab --- /dev/null +++ b/source/_components/tibber.markdown @@ -0,0 +1,35 @@ +--- +layout: page +title: "Tibber" +description: "Instructions on how to integrate Tibber within Home Assistant." +date: 2015-10-04 16:34 +sidebar: true +comments: false +sharing: true +footer: true +logo: tibber.png +ha_category: Energy +ha_release: 0.80 +ha_qa_scale: silver +ha_iot_class: "Cloud Polling" +--- + + +The `tibber` component provides a sensor with the current electricity price if you are a [Tibber](https://tibber.com/) customer. +If you have a Tibber Pulse it will also show the electricity consumption in real time. + +It also provides a notification service. + +To add Tibber to your installation, add the following to your `configuration.yaml` file: + +```yaml +tibber: + access_token: d1007ead2dc84a2b82f0de19451c5fb22112f7ae11d19bf2bedb224a003ff74a +``` + +{% configuration %} + access_token: + description: Go to [developer.tibber.com/](https://developer.tibber.com/) to get your API token. + required: true + type: string +{% endconfiguration %}