![]() type : markdown title : Dashboard content : > Welcome to your **dashboard**. entities : - light.kitchen - switch.ac - entity : light.living_room # Override the name to use name : LR Lights # The markdown card will render markdown text. # Each entry is an entity ID or a map with extra options. type : entities # Title of the entities card title : Example # The entities here will be shown in the same order as specified. Will be used as the tooltip for tab icon title : Second view cards : # Entities card will take a list of entities and show their state. icon : mdi:home-assistant # Title of the view. cards : # The filter card will filter entities for their state - type : entity-filter entities : - device_tracker.paulus - device_tracker.anne_there state_filter : - ' home' card : type : glance title : People that are home # The picture entity card will represent an entity with a picture - type : picture-entity image : entity : light.bed_light # Specify a tab icon if you want the view tab to be an icon. theme : dark-mode # The cards to show on this view. Here you can try out your templates and see the results on the right side of the screen (in the grey area) Creating Chart Cards On the bottom row of the dashboard, I have 3 charts. title : Example # Unique path for direct access /lovelace/$ path : example # Each view can have a different theme applied. Open the developer tools (left menu, just above get settings icon) and select the Template tab. Title : My Awesome Home views : # View tab title. Each dashboard will be loaded from its own YAML file. It is also possible to use YAML to define multiple dashboards. To revert back to using the UI to edit your dashboard, remove the lovelace section from your configuration.yaml and copy the contents of your ui-lovelace.yaml into the raw configuration section of Home Assistant and restart. Just hit the refresh button in the menu at the top of the UI. The off state colour can be set using the style colour setting in the ui card definition - type: state-icon tapaction: more-info entity: climate.office style: top: 85 left: 53 '-paper-item-icon-color': green Ideally you’d want the ‘on’ state to be red, but that doesn’t seem possible. When you make changes to ui-lovelace.yaml, you don’t have to restart Home Assistant or refresh the page. Once you take control of your UI via YAML, the Home Assistant interface for modifying it won’t be available anymore and new entities will not automatically be added to your UI. Copy that into the /ui-lovelace.yaml file. There you see the configuration for your current dashboard.Click the three dots menu again and click on Raw configuration editor.Click the three dots menu (top-right) and click on Edit Dashboard.A good way to start this file is to copy and paste the “Raw configuration” from the UI so your manual configuration starts the same as your existing UI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |