mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add sample for 'content_type:'
This commit is contained in:
parent
ddfe8de46a
commit
f8cdc5d971
@ -44,3 +44,16 @@ Configuration variables:
|
|||||||
</a>
|
</a>
|
||||||
</p>
|
</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'
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user