Minor updates

This commit is contained in:
Fabian Affolter 2018-11-06 08:18:29 +01:00
parent 7da774c0e9
commit 4c6246d9a9
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F

View File

@ -15,15 +15,19 @@ ha_iot_class: "Cloud Polling"
The `dweet` sensor platform allows you to get details from your devices which are publishing their values to [Dweet.io](https://dweet.io/). The `dweet` sensor platform allows you to get details from your devices which are publishing their values to [Dweet.io](https://dweet.io/).
To use Dweet.io in your installation, add the following to your `configuration.yaml` file: ## {% linkable_title Configuration %}
To use Dweet.io sensors in your installation, add the following to your `configuration.yaml` file:
{% raw %}
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
sensor: sensor:
- platform: dweet - platform: dweet
device: THING_NAME device: THING_NAME
value_template: '{% raw %}{{ value_json.VARIABLE }}{% endraw %}' value_template: '{{ value_json.VARIABLE }}'
``` ```
{% endraw %}
{% configuration %} {% configuration %}
device: device:
@ -49,15 +53,17 @@ unit_of_measurement:
A full configuration entry could look like the sample below. A full configuration entry could look like the sample below.
{% raw %}
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
sensor: sensor:
- platform: dweet - platform: dweet
name: Temperature name: Temperature
device: THING_NAME device: THING_NAME
value_template: '{% raw %}{{ value_json.VARIABLE }}{% endraw %}' value_template: '{{ value_json.VARIABLE }}'
unit_of_measurement: "°C" unit_of_measurement: "°C"
``` ```
{% endraw %}
### {% linkable_title Interacting with Dweet.io %} ### {% linkable_title Interacting with Dweet.io %}