Fix bad indentation in readme

This commit is contained in:
Thomas Lovén 2019-12-13 14:15:19 +01:00
parent 1dfa8aa5d4
commit e8227cefe6

View File

@ -103,39 +103,39 @@ If the `entity` parameter is set to `hash`, which card is displayed will depend
This allows for controlling the view on a browser-window to browser-window basis, and without needing a controlling entity. This allows for controlling the view on a browser-window to browser-window basis, and without needing a controlling entity.
```yaml ```yaml
type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: entity-button - type: entity-button
entity: light.my_dummy entity: light.my_dummy
tap_action: tap_action:
action: navigate action: navigate
navigation_path: "#p1" navigation_path: "#p1"
- type: entity-button - type: entity-button
entity: light.my_dummy entity: light.my_dummy
tap_action: tap_action:
action: navigate action: navigate
navigation_path: "#p2" navigation_path: "#p2"
- type: entity-button - type: entity-button
entity: light.my_dummy entity: light.my_dummy
tap_action: tap_action:
action: navigate action: navigate
navigation_path: "#p2" navigation_path: "#p2"
- type: custom:state-switch - type: custom:state-switch
entity: hash entity: hash
default: p1 default: p1
states: states:
p1: p1:
type: markdown type: markdown
content: | content: |
# Page 1 # Page 1
p2: p2:
type: markdown type: markdown
content: | content: |
# Page 2 # Page 2
p3: p3:
type: markdown type: markdown
content: | content: |
# Page 3 # Page 3
``` ```
### user ### user