Tibber component (#6504)

* Create tibber.markdown

* Update sensor.tibber.markdown

* Create notify.tibber.markdown

* Update tibber.markdown

* Update tibber.markdown

* Update notify.tibber.markdown
This commit is contained in:
Daniel Høyer Iversen 2018-10-04 21:56:17 +02:00 committed by Franck Nijhof
parent b93cf096cb
commit dfd29d7e80
3 changed files with 71 additions and 14 deletions

View File

@ -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!
```

View File

@ -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 %}

View File

@ -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 %}