-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Picture cards: add image from UI (#33096)
- Loading branch information
Showing
4 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% capture name %}{{ include.name | default: page.title }}{% endcapture %} | ||
{% capture domain %}{{ include.domain | default: page.ha_domain }}{% endcapture %} | ||
{% capture title %}{{ include.title | default: page.title }}{% endcapture %} | ||
|
||
## Adding a {{ title | downcase }} to your dashboard | ||
|
||
1. To add a card, follow steps 1-4 on [adding a card from a view](/dashboards/cards/#to-add-a-card-from-a-view). | ||
- In step 2, on the **By card** tab, select {{ title | downcase }}. | ||
|
||
2. Add a picture: | ||
|
||
- **Upload picture** lets you pick an image from the system used to show your Home Assistant UI. | ||
- **Local path** lets you pick an image stored on Home Assistant. For example: `/homeassistant/images/lights_view_background_image.jpg`. | ||
- To store an image on Home Assistant, you need to [configure access to files](/common-tasks/os/#configuring-access-to-files), for example via [Samba](/common-tasks/os/#installing-and-using-the-samba-add-on) or the [Studio Code Server](/common-tasks/os/#installing-and-using-the-visual-studio-code-vsc-add-on) add-on. | ||
- **web URL** let you use an image from the web. For example `https://www.home-assistant.io/images/frontpage/assist_wake_word.png`. | ||
|
||
3. Define the parameters that are specific to the {{ title | downcase }}. | ||
- For a description of the specific settings, refer to the description under YAML configuration. | ||
- They also apply to the UI. | ||
4. Save your changes. |