Add sample for 'content_type:'

This commit is contained in:
Fabian Affolter 2017-06-25 22:27:30 +02:00
parent ddfe8de46a
commit f8cdc5d971
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -44,3 +44,16 @@ Configuration variables:
</a>
</p>
## {% linkable_title Examples %}
In this section you find some real life examples of how to use this sensor.
### {% linkable_title Weather graph from yr.no %}
```yaml
camera:
- platform: generic
name: Weather
still_image_url: https://www.yr.no/place/Norway/Oslo/Oslo/Oslo/meteogram.svg
content_type: 'image/svg+xml'
```