mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-25 05:47:35 +00:00
add - in front of subview configuration example (#24981)
This commit is contained in:
parent
fcc7a5f353
commit
1a0d7e250b
@ -203,7 +203,7 @@ views:
|
||||
default: false
|
||||
back_path:
|
||||
required: false
|
||||
description: Only for subview. Path to navigate when clicking on back button.
|
||||
description: Only for "Subview". Path to navigate when clicking on back button.
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
|
||||
@ -225,13 +225,13 @@ View configuration:
|
||||
Subview configuration:
|
||||
|
||||
```yaml
|
||||
title: "Energieprijzen"
|
||||
path: "energieprijzen"
|
||||
subview: true
|
||||
back_path: "/ui-data/climate"
|
||||
- title: "Energieprijzen"
|
||||
path: "energieprijzen"
|
||||
subview: true
|
||||
back_path: "/ui-data/climate"
|
||||
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- sensor.today_avg_price
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- sensor.today_avg_price
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user