mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Minor updates
This commit is contained in:
parent
7da774c0e9
commit
4c6246d9a9
@ -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 %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user