{"id":2184,"date":"2022-12-12T00:01:00","date_gmt":"2022-12-11T23:01:00","guid":{"rendered":"https:\/\/smart-home-guide.dk\/?p=2184"},"modified":"2023-01-09T12:44:01","modified_gmt":"2023-01-09T11:44:01","slug":"ha-jule-tip-12-picture-element","status":"publish","type":"post","link":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/","title":{"rendered":"HA Jule-tip #12: Picture elements"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Dagens Jule-tip handler om at bruge Picture elements kortet til at vise data p&aring; en baggrund med et billede. Kortet giver n&aelig;sten ubegr&aelig;nsede muligheder for at pr&aelig;sentere data p&aring; en l&aelig;kker og overskuelig m&aring;de. Og s&aring; er det endda et standard <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Kort&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et kort er et element p&aring; dit dashboard, der viser bestemte oplysninger eller g&oslash;r det muligt styre enheder som f.eks. lys, varme mv.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Det kan v&aelig;re en graf, et ikon, en liste eller en visuel repr&aelig;sentation af enheder eller sensorer. Kortene giver dig en oversigt og adgang til forskellige funktioner og enheder. Det kan du bruge til at overv&aring;ge og styre dit smarte hjem.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Der findes som &amp;lt;a href=&amp;quot;https:\/\/www.home-assistant.io\/dashboards\/&amp;quot; target=&amp;quot;_blank&amp;quot; rel=&amp;quot;noreferrer noopener nofollow&amp;quot;&amp;gt;standard&amp;lt;\/a&amp;gt; en r&aelig;kke forskellige kort med forskellig funktionalitet. Men du har ogs&aring; mulighed for at installere brugerudviklede kort via &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/&amp;quot; target=&amp;quot;_blank&amp;quot; rel=&amp;quot;noreferrer noopener&amp;quot;&amp;gt;HACS&amp;lt;\/a&amp;gt;.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/kort\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>kort<\/a>, som ikke kr&aelig;ver installation af yderligere komponenter&hellip;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jeg bruger selv <a href=\"https:\/\/www.home-assistant.io\/dashboards\/picture-elements\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">picture elements<\/a> kortet en del p&aring; <a href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/08\/29\/info-om-min-home-assistant-loesning\/#dashboards\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">mine dashboards<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Her er et par eksempler p&aring; min brug:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-1-1024x855.png\" alt=\"\" class=\"wp-image-2216\" width=\"1024\" height=\"855\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-1-1024x855.png 1024w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-1-300x251.png 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-1-768x641.png 768w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-1.png 1128w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><figcaption class=\"wp-element-caption\">Header p&aring; mobil og status p&aring; opladning af bil<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/10\/image-5-1024x640.png\" alt=\"\" class=\"wp-image-1205\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/10\/image-5-1024x640.png 1024w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/10\/image-5-300x188.png 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/10\/image-5-768x480.png 768w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/10\/image-5.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><figcaption class=\"wp-element-caption\">Plantegning med styring af lys mv.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"400\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-1024x400.jpeg\" alt=\"\" class=\"wp-image-2221\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-1024x400.jpeg 1024w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-300x117.jpeg 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-768x300.jpeg 768w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image.jpeg 1170w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><figcaption class=\"wp-element-caption\">Info om og kontrol af robotpl&aelig;neklipper<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">S&aring;dan g&oslash;r du<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Her f&aring;r du en <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Kort&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et kort er et element p&aring; dit dashboard, der viser bestemte oplysninger eller g&oslash;r det muligt styre enheder som f.eks. lys, varme mv.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Det kan v&aelig;re en graf, et ikon, en liste eller en visuel repr&aelig;sentation af enheder eller sensorer. Kortene giver dig en oversigt og adgang til forskellige funktioner og enheder. Det kan du bruge til at overv&aring;ge og styre dit smarte hjem.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Der findes som &amp;lt;a href=&amp;quot;https:\/\/www.home-assistant.io\/dashboards\/&amp;quot; target=&amp;quot;_blank&amp;quot; rel=&amp;quot;noreferrer noopener nofollow&amp;quot;&amp;gt;standard&amp;lt;\/a&amp;gt; en r&aelig;kke forskellige kort med forskellig funktionalitet. Men du har ogs&aring; mulighed for at installere brugerudviklede kort via &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/&amp;quot; target=&amp;quot;_blank&amp;quot; rel=&amp;quot;noreferrer noopener&amp;quot;&amp;gt;HACS&amp;lt;\/a&amp;gt;.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/kort\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>kort<\/a> introduktion og nogle tips til, hvordan du kan bruge picture elements kortet p&aring; dit <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Dashboard&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et dashboard er den brugerdefinerede gr&aelig;nseflade (GUI) i HA hvor du kan visualisere og styre enheder, automatiseringer og sensorer, der er integreret med din HA l&oslash;sning.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et dashboard giver dig mulighed for at bygge dine egne sider med indhold, hvor du kan vise informationer om og styre dit smarte hjem. Du kan tilf&oslash;je forskellige   kontrolelementer (kort) med oplysninger, grafer og knapper og meget andet, der kan bruges til at interagere med dine tilsluttede smart enheder.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Du kan tilf&oslash;je flere dashboards, og opdele indhold p&aring; hvert dashboard i forskellige faner (views).&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/dashboard\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>dashboard<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">V&aelig;lg baggrundsbillede<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Du skal starte med at v&aelig;lge et billede, som du kan bruge som baggrund. V&aelig;lg et billede, der passer ind i stilen p&aring; resten af dit <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Dashboard&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et dashboard er den brugerdefinerede gr&aelig;nseflade (GUI) i HA hvor du kan visualisere og styre enheder, automatiseringer og sensorer, der er integreret med din HA l&oslash;sning.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et dashboard giver dig mulighed for at bygge dine egne sider med indhold, hvor du kan vise informationer om og styre dit smarte hjem. Du kan tilf&oslash;je forskellige   kontrolelementer (kort) med oplysninger, grafer og knapper og meget andet, der kan bruges til at interagere med dine tilsluttede smart enheder.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Du kan tilf&oslash;je flere dashboards, og opdele indhold p&aring; hvert dashboard i forskellige faner (views).&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/dashboard\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>dashboard<\/a> og som tydeligt illustrerer hvilke data, kortet viser.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">S&oslash;rg ogs&aring; for, at billedet har steder med en ensartet baggrund, hvor du kan placere dine data.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">V&aelig;lg og inds&aelig;t elementer<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Picture elements kortet giver mulighed for at inds&aelig;tte en masse forskellige elementer p&aring; det valgte baggrundsbillede.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jeg bruger prim&aelig;rt en kombination af ikoner (<a href=\"https:\/\/www.home-assistant.io\/dashboards\/picture-elements\/#state-icon\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">state-icon<\/a>) og tekst (<a href=\"https:\/\/www.home-assistant.io\/dashboards\/picture-elements\/#state-label\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">state-label<\/a>) elementer. Men det er ogs&aring; muligt at inds&aelig;tte <a href=\"https:\/\/www.home-assistant.io\/dashboards\/picture-elements\/#image-element\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">billeder<\/a> og faktisk ogs&aring; elementer. Sidstn&aelig;vnte har jeg brugt til batterivisningen p&aring; min bil, hvor der er brugt et <a href=\"https:\/\/github.com\/custom-cards\/bar-card\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">custom:bar-card<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alle elementer skal placeres p&aring; baggrundsbilledet ved at angive en position, der typisk angives som afstanden fra henholdsvis toppen og venstre side af billedet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Du kan enten angive den relative placering eller en absolut placering. Du kan angive placeringen ved at angive enten antal pixels (px) eller den procentvise andel (%), som element skal indrykkes. Det vil ofte v&aelig;re n&oslash;dvendigt at pr&oslash;ve sig frem indtil man finder den rigtige placering. Husk ogs&aring; at der kan v&aelig;re forskel p&aring; om kortet vises p&aring; en mobil, tablet eller PC. L&aelig;s evt. mere om positionering p&aring; <a href=\"https:\/\/www.w3schools.com\/css\/css_positioning.asp\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">W3 Schools<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Du kan herudover bruge <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">CSS styles<\/a> til at v&aelig;lge tekstst&oslash;rrelse, farve og meget andet.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Lav <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;YAML&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;YAML er det sprog som Home Assistant bruger i sin konfiguration samt hvis du v&aelig;lger at redigere automatiseringer og dit dashboard direkte i et tekst eller kode redigeringsprogram.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;YAML er letl&aelig;seligt, da der ikke best&aring;r af specialtegn som f.eks. JSON og XML. YAML er dog meget kritisk omkring&nbsp;formatering af koden. For eksempel &amp;lt;strong&amp;gt;skal&amp;lt;\/strong&amp;gt; alle indrykninger&nbsp;laves med mellemrum og ikke TAB.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Du kan l&aelig;se mere om redigering af dashboards i YAML i dette &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/10\/30\/saadan-bygger-du-det-perfekte-dashboard-del-2\/#to-yaml-or-not-to-yaml&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;indl&aelig;g&amp;lt;\/strong&amp;gt;&amp;lt;\/a&amp;gt;.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/yaml\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>YAML<\/a> kode<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Picture elements kortet kan desv&aelig;rre ikke redigeres via GUI, s&aring; her skal vi bruge <a href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/10\/30\/saadan-bygger-du-det-perfekte-dashboard-del-2\/#to-yaml-or-not-to-yaml\" target=\"_blank\" rel=\"noreferrer noopener\">YAML kode<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dette eksempel viser et enkelt element med antallet af dage indtil juleaften:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"678\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-2-1024x678.png\" alt=\"\" class=\"wp-image-2244\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-2-1024x678.png 1024w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-2-300x199.png 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-2-768x508.png 768w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-2.png 1138w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><figcaption class=\"wp-element-caption\">Picture elements <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Kort&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et kort er et element p&aring; dit dashboard, der viser bestemte oplysninger eller g&oslash;r det muligt styre enheder som f.eks. lys, varme mv.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Det kan v&aelig;re en graf, et ikon, en liste eller en visuel repr&aelig;sentation af enheder eller sensorer. Kortene giver dig en oversigt og adgang til forskellige funktioner og enheder. Det kan du bruge til at overv&aring;ge og styre dit smarte hjem.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Der findes som &amp;lt;a href=&amp;quot;https:\/\/www.home-assistant.io\/dashboards\/&amp;quot; target=&amp;quot;_blank&amp;quot; rel=&amp;quot;noreferrer noopener nofollow&amp;quot;&amp;gt;standard&amp;lt;\/a&amp;gt; en r&aelig;kke forskellige kort med forskellig funktionalitet. Men du har ogs&aring; mulighed for at installere brugerudviklede kort via &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/&amp;quot; target=&amp;quot;_blank&amp;quot; rel=&amp;quot;noreferrer noopener&amp;quot;&amp;gt;HACS&amp;lt;\/a&amp;gt;.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/kort\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>kort<\/a> med visning af antal dage til juleaften<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ovenst&aring;ende <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Kort&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et kort er et element p&aring; dit dashboard, der viser bestemte oplysninger eller g&oslash;r det muligt styre enheder som f.eks. lys, varme mv.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Det kan v&aelig;re en graf, et ikon, en liste eller en visuel repr&aelig;sentation af enheder eller sensorer. Kortene giver dig en oversigt og adgang til forskellige funktioner og enheder. Det kan du bruge til at overv&aring;ge og styre dit smarte hjem.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Der findes som &amp;lt;a href=&amp;quot;https:\/\/www.home-assistant.io\/dashboards\/&amp;quot; target=&amp;quot;_blank&amp;quot; rel=&amp;quot;noreferrer noopener nofollow&amp;quot;&amp;gt;standard&amp;lt;\/a&amp;gt; en r&aelig;kke forskellige kort med forskellig funktionalitet. Men du har ogs&aring; mulighed for at installere brugerudviklede kort via &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/&amp;quot; target=&amp;quot;_blank&amp;quot; rel=&amp;quot;noreferrer noopener&amp;quot;&amp;gt;HACS&amp;lt;\/a&amp;gt;.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/kort\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>kort<\/a> er lavet med f&oslash;lgende kode og brug af den sensor, som blev oprettet i <a href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/02\/ha-jule-tip-2-nedtaelling-til-juleaften\/\" target=\"_blank\" rel=\"noreferrer noopener\">juletip #2<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-yaml\" data-line=\"\">type: picture-elements\nelements:\n  - type: state-label\n    entity: sensor.anniversary_juleaften\n    style:\n      top: 7%\n      left: 50%\n      color: white\n      font-size: 20pt\n    prefix: 'Der er '\n    suffix: ' til juleaften'\nimage: &gt;-\n  https:\/\/aktiviteterforborn.dk\/wp-content\/uploads\/2020\/09\/hvor-laenge-er-der-til-juleaften.jpg<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For yderligere inspiration til og eksempler p&aring; kode,  kan du finde koden til de forskellige picture elements <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Kort&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et kort er et element p&aring; dit dashboard, der viser bestemte oplysninger eller g&oslash;r det muligt styre enheder som f.eks. lys, varme mv.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Det kan v&aelig;re en graf, et ikon, en liste eller en visuel repr&aelig;sentation af enheder eller sensorer. Kortene giver dig en oversigt og adgang til forskellige funktioner og enheder. Det kan du bruge til at overv&aring;ge og styre dit smarte hjem.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Der findes som &amp;lt;a href=&amp;quot;https:\/\/www.home-assistant.io\/dashboards\/&amp;quot; target=&amp;quot;_blank&amp;quot; rel=&amp;quot;noreferrer noopener nofollow&amp;quot;&amp;gt;standard&amp;lt;\/a&amp;gt; en r&aelig;kke forskellige kort med forskellig funktionalitet. Men du har ogs&aring; mulighed for at installere brugerudviklede kort via &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/&amp;quot; target=&amp;quot;_blank&amp;quot; rel=&amp;quot;noreferrer noopener&amp;quot;&amp;gt;HACS&amp;lt;\/a&amp;gt;.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/kort\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>kort<\/a> p&aring; mine dashboards her:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/dykandDK\/home-assistant-config\/blob\/master\/include\/cards\/mobile_header.yaml\" target=\"_blank\" rel=\"noreferrer noopener\">Menulinje p&aring; mobil<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/dykandDK\/home-assistant-config\/blob\/master\/include\/cards\/ID3_info.yaml\" target=\"_blank\" rel=\"noreferrer noopener\">Status for opladning af bil<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/dykandDK\/home-assistant-config\/blob\/master\/include\/views\/floorplan.yaml\" target=\"_blank\" rel=\"noreferrer noopener\">Plantegning med ikoner<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/dykandDK\/home-assistant-config\/blob\/master\/include\/cards\/indego.yaml\" target=\"_blank\" rel=\"noreferrer noopener\">Robot pl&aelig;neklipper<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Du skal v&aelig;re opm&aelig;rksom p&aring;, at kortene er optimeret til visning p&aring; mine enheder (enten mobil eller tablets) og derfor kan se anderledes ud p&aring; en anden type af sk&aelig;rm eller sk&aelig;rmopl&oslash;sning.<\/p>\n\n\n\n<p class=\"has-text-align-left has-black-color has-text-color has-background wp-block-paragraph\" style=\"background-color:#f0f0f0\"><strong>TIP<\/strong><br>Du kan bruge developer tools (F12) i din browser til at efterligne sk&aelig;rmst&oslash;rrelsen p&aring; din telefon eller tablet, s&aring; du ikke beh&oslash;ver at sidde og teste med dem i n&aelig;rheden. <br><br>Hvis du ikke kender sk&aelig;rmopl&oslash;sningen p&aring; din mobil eller tablet, kan du p&aring; din enhed g&aring; ind p&aring; siden <a href=\"http:\/\/whatismyscreenresolution.net\/?fbclid=IwAR1mZOfvhRxWcrPHPN2PhmU1qRMNQ2o-M4QzMiHxxV5ngE0DZOKIzl2R09c\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">http:\/\/whatismyscreenresolution.net<\/a>&nbsp;og notere sk&aelig;rmopl&oslash;sningen. Herefter kan du i developer tools i en browser p&aring; din PC oprette et nyt device, som passer med sk&aelig;rmopl&oslash;sningen p&aring; din mobil eller tablet og teste udseendet p&aring; dit <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Dashboard&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et dashboard er den brugerdefinerede gr&aelig;nseflade (GUI) i HA hvor du kan visualisere og styre enheder, automatiseringer og sensorer, der er integreret med din HA l&oslash;sning.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Et dashboard giver dig mulighed for at bygge dine egne sider med indhold, hvor du kan vise informationer om og styre dit smarte hjem. Du kan tilf&oslash;je forskellige   kontrolelementer (kort) med oplysninger, grafer og knapper og meget andet, der kan bruges til at interagere med dine tilsluttede smart enheder.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&amp;lt;!-- wp:paragraph --&amp;gt;Du kan tilf&oslash;je flere dashboards, og opdele indhold p&aring; hvert dashboard i forskellige faner (views).&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/dashboard\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>dashboard<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Juletip #12: Se hvordan du kan bruge Picture elements kortet i Home Assistant til at pr&aelig;sentere data p&aring; en baggrund med et billede.<\/p>\n","protected":false},"author":2,"featured_media":2270,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"inline_featured_image":false,"_uag_custom_page_level_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7,58],"tags":[],"class_list":["post-2184","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dashboard","category-julekalender-2022"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HA Jule-tip #12: Picture elements | Smart Home Guide<\/title>\n<meta name=\"description\" content=\"Juletip #12: Se hvordan du kan bruge Picture elements kortet i Home Assistant til at pr\u00e6sentere data p\u00e5 en baggrund med et billede.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/\" \/>\n<meta property=\"og:locale\" content=\"da_DK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HA Jule-tip #12: Picture elements | Smart Home Guide\" \/>\n<meta property=\"og:description\" content=\"Juletip #12: Se hvordan du kan bruge Picture elements kortet i Home Assistant til at pr\u00e6sentere data p\u00e5 en baggrund med et billede.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/\" \/>\n<meta property=\"og:site_name\" content=\"Smart Home Guide\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-11T23:01:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-09T11:44:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"845\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Anders\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Skrevet af\" \/>\n\t<meta name=\"twitter:data1\" content=\"Anders\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimeret l\u00e6setid\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/\"},\"author\":{\"name\":\"Anders\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#\\\/schema\\\/person\\\/8ed18dab401a0784e593ce6345252498\"},\"headline\":\"HA Jule-tip #12: Picture elements\",\"datePublished\":\"2022-12-11T23:01:00+00:00\",\"dateModified\":\"2023-01-09T11:44:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/\"},\"wordCount\":596,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/image-3.png\",\"articleSection\":[\"Dashboard\",\"Julekalender 2022\"],\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/\",\"url\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/\",\"name\":\"HA Jule-tip #12: Picture elements | Smart Home Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/image-3.png\",\"datePublished\":\"2022-12-11T23:01:00+00:00\",\"dateModified\":\"2023-01-09T11:44:01+00:00\",\"description\":\"Juletip #12: Se hvordan du kan bruge Picture elements kortet i Home Assistant til at pr\u00e6sentere data p\u00e5 en baggrund med et billede.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/#breadcrumb\"},\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/#primaryimage\",\"url\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/image-3.png\",\"contentUrl\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/image-3.png\",\"width\":1500,\"height\":845,\"caption\":\"juletip_12\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/12\\\/ha-jule-tip-12-picture-element\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hjem\",\"item\":\"https:\\\/\\\/smart-home-guide.dk\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HA Jule-tip #12: Picture elements\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#website\",\"url\":\"https:\\\/\\\/smart-home-guide.dk\\\/\",\"name\":\"Smart Home Guide\",\"description\":\"Din genvej til et smartere hjem\",\"publisher\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/smart-home-guide.dk\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"da-DK\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#organization\",\"name\":\"Smart Home Guide\",\"url\":\"https:\\\/\\\/smart-home-guide.dk\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/shg_logo_400x400_2-1.png\",\"contentUrl\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/shg_logo_400x400_2-1.png\",\"width\":400,\"height\":400,\"caption\":\"Smart Home Guide\"},\"image\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/github.com\\\/dykandDK\\\/home-assistant-config\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#\\\/schema\\\/person\\\/8ed18dab401a0784e593ce6345252498\",\"name\":\"Anders\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/460cba51b925b4d837db0c071f23d5a3dd193dd8746ebfcf23f78489dd330632?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/460cba51b925b4d837db0c071f23d5a3dd193dd8746ebfcf23f78489dd330632?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/460cba51b925b4d837db0c071f23d5a3dd193dd8746ebfcf23f78489dd330632?s=96&d=mm&r=g\",\"caption\":\"Anders\"},\"url\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/author\\\/anders\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HA Jule-tip #12: Picture elements | Smart Home Guide","description":"Juletip #12: Se hvordan du kan bruge Picture elements kortet i Home Assistant til at pr\u00e6sentere data p\u00e5 en baggrund med et billede.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/","og_locale":"da_DK","og_type":"article","og_title":"HA Jule-tip #12: Picture elements | Smart Home Guide","og_description":"Juletip #12: Se hvordan du kan bruge Picture elements kortet i Home Assistant til at pr\u00e6sentere data p\u00e5 en baggrund med et billede.","og_url":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/","og_site_name":"Smart Home Guide","article_published_time":"2022-12-11T23:01:00+00:00","article_modified_time":"2023-01-09T11:44:01+00:00","og_image":[{"width":1500,"height":845,"url":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png","type":"image\/png"}],"author":"Anders","twitter_card":"summary_large_image","twitter_misc":{"Skrevet af":"Anders","Estimeret l\u00e6setid":"4 minutter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/#article","isPartOf":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/"},"author":{"name":"Anders","@id":"https:\/\/smart-home-guide.dk\/#\/schema\/person\/8ed18dab401a0784e593ce6345252498"},"headline":"HA Jule-tip #12: Picture elements","datePublished":"2022-12-11T23:01:00+00:00","dateModified":"2023-01-09T11:44:01+00:00","mainEntityOfPage":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/"},"wordCount":596,"commentCount":3,"publisher":{"@id":"https:\/\/smart-home-guide.dk\/#organization"},"image":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/#primaryimage"},"thumbnailUrl":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png","articleSection":["Dashboard","Julekalender 2022"],"inLanguage":"da-DK","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/","url":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/","name":"HA Jule-tip #12: Picture elements | Smart Home Guide","isPartOf":{"@id":"https:\/\/smart-home-guide.dk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/#primaryimage"},"image":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/#primaryimage"},"thumbnailUrl":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png","datePublished":"2022-12-11T23:01:00+00:00","dateModified":"2023-01-09T11:44:01+00:00","description":"Juletip #12: Se hvordan du kan bruge Picture elements kortet i Home Assistant til at pr\u00e6sentere data p\u00e5 en baggrund med et billede.","breadcrumb":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/#breadcrumb"},"inLanguage":"da-DK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/"]}]},{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/#primaryimage","url":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png","contentUrl":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png","width":1500,"height":845,"caption":"juletip_12"},{"@type":"BreadcrumbList","@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/12\/ha-jule-tip-12-picture-element\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hjem","item":"https:\/\/smart-home-guide.dk\/"},{"@type":"ListItem","position":2,"name":"HA Jule-tip #12: Picture elements"}]},{"@type":"WebSite","@id":"https:\/\/smart-home-guide.dk\/#website","url":"https:\/\/smart-home-guide.dk\/","name":"Smart Home Guide","description":"Din genvej til et smartere hjem","publisher":{"@id":"https:\/\/smart-home-guide.dk\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/smart-home-guide.dk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"da-DK"},{"@type":"Organization","@id":"https:\/\/smart-home-guide.dk\/#organization","name":"Smart Home Guide","url":"https:\/\/smart-home-guide.dk\/","logo":{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/smart-home-guide.dk\/#\/schema\/logo\/image\/","url":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/08\/shg_logo_400x400_2-1.png","contentUrl":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/08\/shg_logo_400x400_2-1.png","width":400,"height":400,"caption":"Smart Home Guide"},"image":{"@id":"https:\/\/smart-home-guide.dk\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/github.com\/dykandDK\/home-assistant-config"]},{"@type":"Person","@id":"https:\/\/smart-home-guide.dk\/#\/schema\/person\/8ed18dab401a0784e593ce6345252498","name":"Anders","image":{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/secure.gravatar.com\/avatar\/460cba51b925b4d837db0c071f23d5a3dd193dd8746ebfcf23f78489dd330632?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/460cba51b925b4d837db0c071f23d5a3dd193dd8746ebfcf23f78489dd330632?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/460cba51b925b4d837db0c071f23d5a3dd193dd8746ebfcf23f78489dd330632?s=96&d=mm&r=g","caption":"Anders"},"url":"https:\/\/smart-home-guide.dk\/index.php\/author\/anders\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png",1500,845,false],"thumbnail":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3-150x150.png",150,150,true],"medium":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3-300x169.png",300,169,true],"medium_large":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3-768x433.png",768,433,true],"large":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3-1024x577.png",800,451,true],"1536x1536":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png",1500,845,false],"2048x2048":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png",1500,845,false],"colormag-highlighted-post":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3-392x272.png",392,272,true],"colormag-featured-post-medium":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3-390x205.png",390,205,true],"colormag-featured-post-small":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3-130x90.png",130,90,true],"colormag-featured-image":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3-800x445.png",800,445,true],"colormag-default-news":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png",150,85,false],"colormag-featured-image-large":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-3.png",1065,600,false]},"uagb_author_info":{"display_name":"Anders","author_link":"https:\/\/smart-home-guide.dk\/index.php\/author\/anders\/"},"uagb_comment_info":4,"uagb_excerpt":"Juletip #12: Se hvordan du kan bruge Picture elements kortet i Home Assistant til at pr&aelig;sentere data p&aring; en baggrund med et billede.","_links":{"self":[{"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/posts\/2184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/comments?post=2184"}],"version-history":[{"count":34,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/posts\/2184\/revisions"}],"predecessor-version":[{"id":2491,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/posts\/2184\/revisions\/2491"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/media\/2270"}],"wp:attachment":[{"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/media?parent=2184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/categories?post=2184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/tags?post=2184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}