{"id":2278,"date":"2022-12-14T00:01:00","date_gmt":"2022-12-13T23:01:00","guid":{"rendered":"https:\/\/smart-home-guide.dk\/?p=2278"},"modified":"2023-01-09T12:43:48","modified_gmt":"2023-01-09T11:43:48","slug":"ha-jule-tip-14-brug-af-swipe-card","status":"publish","type":"post","link":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/","title":{"rendered":"HA Jule-tip #14: Brug af swipe-card"},"content":{"rendered":"<p class=\"wp-block-paragraph\">I dagens jule-tip viser jeg, hvordan du kan bruge swipe-card til at skifte mellem forskelligt indhold 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>. Det g&oslash;r det muligt at swipe frem og tilbage p&aring; sk&aelig;rmen for at skifte indhold.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Det fungerer rigtigt godt p&aring; f.eks. mobile enheder eller mindre tablets, hvor der ikke er s&aring; meget plads p&aring; sk&aelig;rmen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jeg bruger det selv p&aring; flere af <a href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/08\/29\/info-om-min-home-assistant-loesning\/#dashboards\" target=\"_blank\" rel=\"noreferrer noopener\">mine dashboards<\/a>. Eksempelvis som vist her p&aring; mit smart clock <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>, hvor der kan swipes mellem fire forskellige sider:<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"628\" style=\"aspect-ratio: 1004 \/ 628;\" width=\"1004\" autoplay loop muted src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/09\/HA_clockradio.mp4\" playsinline><\/video><\/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\">N&aring;r du har installeret <a href=\"https:\/\/github.com\/bramkragten\/swipe-card\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">swipe-card<\/a>&nbsp;frontend udvidelsen fra&nbsp;<a href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">HACS<\/a>, kan du bruge komponenten 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\">Denne kode kan bruges til at swipe mellem tre forskellige entiteter samtidigt med at en scrollbar illustrerer antallet af elementer, der kan swipes mellem:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-yaml\" data-line=\"\">type: custom:swipe-card\nreset_after: 30\nparameters:\n  spaceBetween: 8\n  scrollbar:\n    hide: false\n    draggable: true\n    snapOnRelease: true\ncards:\n  - type: entity\n    entity: sensor.local_time\n  - type: entity\n    entity: sensor.local_date\n  - type: entity\n    entity: sun.sun<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/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 swipe mellem flere elementer p&aring; &eacute;n gang ved at samle dem i et vertical eller horizontal stack <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>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Dette eksempel viser, hvordan der kan swipes mellem tre forskellige vertical stack <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 hver indeholder et billede samt resultater fra forskellige sportsgrene:<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"480\" style=\"aspect-ratio: 352 \/ 480;\" width=\"352\" autoplay loop muted src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/trim.5046803F-F677-4564-B424-74F6BC88A9F4.mov\" playsinline><\/video><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ovenst&aring;ende er dannet med f&oslash;lgende kode:<br><\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-yaml\" data-line=\"\">type: custom:swipe-card\nreset_after: 30\nparameters:\n  spaceBetween: 8\n  scrollbar:\n    hide: false\n    draggable: true\n    snapOnRelease: true\ncards:\n  - type: vertical-stack\n    cards:\n      - type: picture\n        image: &gt;-\n          https:\/\/creativereview.imgix.net\/content\/uploads\/2019\/09\/FWC_2022_Square_Landscape_1080x1080.jpg?auto=compress,format&amp;q=60&amp;w=1080&amp;h=600\n      - type: custom:teamtracker-card\n        entity: sensor.team_tracker_wc22_den\n  - type: vertical-stack\n    cards:\n      - type: picture\n        image: &gt;-\n          https:\/\/media-foxbusiness-com.cdn.ampproject.org\/i\/media.foxbusiness.com\/BrightCove\/854081161001\/202002\/1582\/854081161001_6129184572001_6129186164001-vs.jpg\n      - type: custom:nfl-card\n        entity: sensor.nfl\n  - type: vertical-stack\n    cards:\n      - type: picture\n        image: &gt;-\n          https:\/\/cdn-motor1-com.cdn.ampproject.org\/i\/s\/cdn.motor1.com\/images\/mgl\/K42vR\/s4\/f1-logo.webp\n      - type: custom:teamtracker-card\n        entity: sensor.team_tracker_f1_mag<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Indholdet kommer fra sensorer, der er oprettet med brug af Team Tracker, som jeg <a href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/11\/20\/vm\/\" target=\"_blank\" rel=\"noreferrer noopener\">tidligere har omtalt i et andet indl&aelig;g<\/a>.<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Juletip #14: Se hvordan du kan bruge swipe-card til at skifte mellem forskelligt indhold p&aring; dit Home Assistant <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","protected":false},"author":2,"featured_media":2319,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","om_disable_all_campaigns":false,"inline_featured_image":false,"_uag_custom_page_level_css":"","_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[7,58],"tags":[],"class_list":["post-2278","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 v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HA Jule-tip #14: Brug af swipe-card | Smart Home Guide<\/title>\n<meta name=\"description\" content=\"Juletip #14: Se hvordan du kan bruge swipe-card til at skifte mellem forskelligt indhold p\u00e5 dit Home Assistant dashboard.\" \/>\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\/14\/ha-jule-tip-14-brug-af-swipe-card\/\" \/>\n<meta property=\"og:locale\" content=\"da_DK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HA Jule-tip #14: Brug af swipe-card | Smart Home Guide\" \/>\n<meta property=\"og:description\" content=\"Juletip #14: Se hvordan du kan bruge swipe-card til at skifte mellem forskelligt indhold p\u00e5 dit Home Assistant dashboard.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/\" \/>\n<meta property=\"og:site_name\" content=\"Smart Home Guide\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-13T23:01:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-09T11:43:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4.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=\"2 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\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/\"},\"author\":{\"name\":\"Anders\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#\\\/schema\\\/person\\\/8ed18dab401a0784e593ce6345252498\"},\"headline\":\"HA Jule-tip #14: Brug af swipe-card\",\"datePublished\":\"2022-12-13T23:01:00+00:00\",\"dateModified\":\"2023-01-09T11:43:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/\"},\"wordCount\":211,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/image-4.png\",\"articleSection\":[\"Dashboard\",\"Julekalender 2022\"],\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/\",\"url\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/\",\"name\":\"HA Jule-tip #14: Brug af swipe-card | Smart Home Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/image-4.png\",\"datePublished\":\"2022-12-13T23:01:00+00:00\",\"dateModified\":\"2023-01-09T11:43:48+00:00\",\"description\":\"Juletip #14: Se hvordan du kan bruge swipe-card til at skifte mellem forskelligt indhold p\u00e5 dit Home Assistant dashboard.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/#breadcrumb\"},\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/#primaryimage\",\"url\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/image-4.png\",\"contentUrl\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/image-4.png\",\"width\":1500,\"height\":845},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2022\\\/12\\\/14\\\/ha-jule-tip-14-brug-af-swipe-card\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hjem\",\"item\":\"https:\\\/\\\/smart-home-guide.dk\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HA Jule-tip #14: Brug af swipe-card\"}]},{\"@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 #14: Brug af swipe-card | Smart Home Guide","description":"Juletip #14: Se hvordan du kan bruge swipe-card til at skifte mellem forskelligt indhold p\u00e5 dit Home Assistant dashboard.","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\/14\/ha-jule-tip-14-brug-af-swipe-card\/","og_locale":"da_DK","og_type":"article","og_title":"HA Jule-tip #14: Brug af swipe-card | Smart Home Guide","og_description":"Juletip #14: Se hvordan du kan bruge swipe-card til at skifte mellem forskelligt indhold p\u00e5 dit Home Assistant dashboard.","og_url":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/","og_site_name":"Smart Home Guide","article_published_time":"2022-12-13T23:01:00+00:00","article_modified_time":"2023-01-09T11:43:48+00:00","og_image":[{"width":1500,"height":845,"url":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4.png","type":"image\/png"}],"author":"Anders","twitter_card":"summary_large_image","twitter_misc":{"Skrevet af":"Anders","Estimeret l\u00e6setid":"2 minutter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/#article","isPartOf":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/"},"author":{"name":"Anders","@id":"https:\/\/smart-home-guide.dk\/#\/schema\/person\/8ed18dab401a0784e593ce6345252498"},"headline":"HA Jule-tip #14: Brug af swipe-card","datePublished":"2022-12-13T23:01:00+00:00","dateModified":"2023-01-09T11:43:48+00:00","mainEntityOfPage":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/"},"wordCount":211,"commentCount":3,"publisher":{"@id":"https:\/\/smart-home-guide.dk\/#organization"},"image":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/#primaryimage"},"thumbnailUrl":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4.png","articleSection":["Dashboard","Julekalender 2022"],"inLanguage":"da-DK","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/","url":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/","name":"HA Jule-tip #14: Brug af swipe-card | Smart Home Guide","isPartOf":{"@id":"https:\/\/smart-home-guide.dk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/#primaryimage"},"image":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/#primaryimage"},"thumbnailUrl":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4.png","datePublished":"2022-12-13T23:01:00+00:00","dateModified":"2023-01-09T11:43:48+00:00","description":"Juletip #14: Se hvordan du kan bruge swipe-card til at skifte mellem forskelligt indhold p\u00e5 dit Home Assistant dashboard.","breadcrumb":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/#breadcrumb"},"inLanguage":"da-DK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/"]}]},{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/#primaryimage","url":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4.png","contentUrl":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4.png","width":1500,"height":845},{"@type":"BreadcrumbList","@id":"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/14\/ha-jule-tip-14-brug-af-swipe-card\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hjem","item":"https:\/\/smart-home-guide.dk\/"},{"@type":"ListItem","position":2,"name":"HA Jule-tip #14: Brug af swipe-card"}]},{"@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-4.png",1500,845,false],"thumbnail":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4-150x150.png",150,150,true],"medium":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4-300x169.png",300,169,true],"medium_large":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4-768x433.png",768,433,true],"large":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4-1024x577.png",800,451,true],"1536x1536":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4.png",1500,845,false],"2048x2048":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4.png",1500,845,false],"colormag-highlighted-post":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4-392x272.png",392,272,true],"colormag-featured-post-medium":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4-390x205.png",390,205,true],"colormag-featured-post-small":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4-130x90.png",130,90,true],"colormag-featured-image":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4-800x445.png",800,445,true],"colormag-default-news":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4.png",150,85,false],"colormag-featured-image-large":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/12\/image-4.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 #14: Se hvordan du kan bruge swipe-card til at skifte mellem forskelligt indhold p&aring; dit Home Assistant dashboard.","_links":{"self":[{"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/posts\/2278","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=2278"}],"version-history":[{"count":27,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/posts\/2278\/revisions"}],"predecessor-version":[{"id":2326,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/posts\/2278\/revisions\/2326"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/media\/2319"}],"wp:attachment":[{"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/media?parent=2278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/categories?post=2278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/tags?post=2278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}