Skip to content

Commit

Permalink
fix: readme yaml example + action
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Falk Nielsen committed Aug 5, 2024
1 parent 931fb49 commit 2175e88
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The editor is supported from version 2.0.0, but if you want to use `yaml`, heres
| `icon` | string | Required | Icon to render. |
| `icon_color` | string | Optional | The color of the room icon. May contain [templates](https://www.home-assistant.io/docs/configuration/) |
| `secondary` | string | Optional | Secondary info to render. May contain [templates](https://www.home-assistant.io/docs/configuration/templating/). |
| `navigate` | string | Optional | Path to navigate to on press. |
| `action ` | string | Optional | Action on tap |
| `entities` | list | Optional | Room state entities |
<br>

Expand All @@ -75,7 +75,9 @@ icon: mdi:home-outline
icon_color: "#333333"
name: Living Room
secondary: '{{states("sensor.living_room_temperature")}} °C'
navigate: /dashboard/living-room
action:
action: navigate
navigation_path: /lovelace/living-room
entities:
- type: entity
entity: climate.climate_living_room
Expand Down

0 comments on commit 2175e88

Please sign in to comment.