{"id":3280,"date":"2023-04-25T17:15:00","date_gmt":"2023-04-25T15:15:00","guid":{"rendered":"https:\/\/smart-home-guide.dk\/?p=3280"},"modified":"2023-04-25T11:53:23","modified_gmt":"2023-04-25T09:53:23","slug":"hent-og-vis-pollental","status":"publish","type":"post","link":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/","title":{"rendered":"Hent og vis pollental"},"content":{"rendered":"<div class=\"wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-5522643e      \" data-scroll=\"1\" data-offset=\"30\" style=\"\">\n\t\t\t\t<div class=\"uagb-toc__wrap\">\n\t\t\t\t\t\t<div class=\"uagb-toc__title\">\n\t\t\t\t\t\t\tIndholdsfortegnelse\t\t\t\t\t\t\t\t\t\t\t\t\t<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 384 512\"><path d=\"M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z\"><\/path><\/svg>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"uagb-toc__list-wrap \">\n\t\t\t\t\t\t<ol class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#hent-pollenprognose\" class=\"uagb-toc-link__trigger\">Hent pollenprognose<\/a><ul class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#rest-sensor-i-ha\" class=\"uagb-toc-link__trigger\">REST sensor i HA<\/a><\/li><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#nodered\" class=\"uagb-toc-link__trigger\">NodeRED<\/a><\/li><li class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#integration\" class=\"uagb-toc-link__trigger\">Integration<\/a><ul class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#installer-integrationen-via-hacs\" class=\"uagb-toc-link__trigger\">Installer integrationen via HACS<\/a><\/li><\/ul><\/li><\/ul><\/li><li class=\"uagb-toc__list\"><a href=\"#automatisering-med-p%C3%A5mindelse-om-h%C3%B8je-pollental\" class=\"uagb-toc-link__trigger\">Automatisering med p&aring;mindelse om h&oslash;je pollental<\/a><\/li><li class=\"uagb-toc__list\"><a href=\"#vis-pollenprognose-p%C3%A5-dashboard\" class=\"uagb-toc-link__trigger\">Vis pollenprognose p&aring; dashboard<\/a><\/li><\/ol>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\n\n\n<p><\/p>\n\n\n\n<p>Nu er det desv&aelig;rre den tid p&aring; &aring;ret, hvor mange er genereret af pollen-allergi.<\/p>\n\n\n\n<p>Heldigvis kan du f&aring; Home Assistant (HA) til at advare dig, hvis pollen-prognosen lover h&oslash;je pollental.<\/p>\n\n\n\n<p>Du kan f.eks. lave en <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Automatisering&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;En automatisering er en m&aring;de til automatisk at udf&oslash;re forskellige handlinger i HA uden input fra dig eller andre brugere. Automatiseringer kan udf&oslash;res p&aring; faste tidspunkter eller ved forskellige h&aelig;ndelser og betingelser.&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 eksempelvis v&aelig;re en simpel automatisering, der t&aelig;nder lyset, n&aring;r du kommer hjem. Eller en mere avanceret automatisering, som slukker for alt lys, advarer om evt. &aring;bne d&oslash;re og vinduer og aktiverer alarmen, n&aring;r du g&aring;r i seng om aftenen. &amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/automatisering\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>automatisering<\/a>, der husker dig p&aring; at tage din allergi medicin. Eller &aelig;ndrer udsugningen p&aring; dit Genvex anl&aelig;g. <\/p>\n\n\n\n<p>Du kan ogs&aring; vise pollentallene i 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>Men f&oslash;rst skal du hente data med pollental og -prognoser ind i HA.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Hent pollenprognose<\/h2>\n\n\n\n<p>Der er flere muligheder for at hente dagens pollenprognose. De forskellige muligheder er <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> beskrevet i de efterf&oslash;lgende afsnit.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">REST sensor i HA<\/h3>\n\n\n\n<p>Du kan bruge en <a href=\"https:\/\/www.home-assistant.io\/integrations\/sensor.rest\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>REST sensor<\/strong><\/a> i HA til at hente data fra f.eks. <a href=\"https:\/\/www.astma-allergi.dk\/dagens-pollental\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Astma-Allergi Danmark<\/strong><\/a> eller <a href=\"https:\/\/www.dmi.dk\/pollen\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>DMI<\/strong><\/a>.<\/p>\n\n\n\n<p>REST sensorer skal defineres i din <kbd>configuration.<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><\/kbd> fil. Denne kode henter prognose og seneste pollental for gr&aelig;spollen i K&oslash;benhavn i hver sin sensor:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-yaml\">rest:\n  ############################################################################\n  # Hent pollental og prognose fra Astma-Allergi Danmark\n  #\n  # REST sensor er udarbejdet af Martin Larsen og oprindeligt delt her:\n  # https:\/\/www.facebook.com\/groups\/209025039666209\/permalink\/1153666198535417\/\n  #\n  # Data er opdelt efter region:\n  #\n  # 48 = &Oslash;st for Storeb&aelig;lt\n  # 49 = Vest for Storeb&aelig;lt\n  #\n  # Og derefter pollentype:\n  #\n  # Alternaria: 44\n  # Birk: 7\n  # Bynke: 31\n  # Cladosporium: 45\n  # El: 1\n  # Elm: 4\n  # Gr&aelig;s: 28\n  # Hassel: 2\n  ############################################################################\n  scan_interval: 3600                     # Opdater hver time (=3600 sekunder)\n  resource: https:\/\/www.astma-allergi.dk\/umbraco\/Api\/PollenApi\/GetPollenFeed\n  sensor:\n    # Gr&aelig;spollen - pollental\n    - name: &quot;Gr&aelig;spollen (seneste)&quot;\n      icon: mdi:grass\n      value_<a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Template&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;En template (skabelon) er en avanceret funktionalitet i HA. De kan bruges til at tilpasse og manipulere data, der kommer fra forskellige enheder eller sensorer, f&oslash;r de vises p&aring; dit dashboard eller bruges i automatiseringer.&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;Med templates kan du oprette komplekse logikker, omregne v&aelig;rdier, eller udf&oslash;re forskellige beregninger baseret p&aring; inputdata. Templates kan bruges i din konfiguration, p&aring; dit dashboard eller i automatiseringer.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/template\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>template<\/a>: &gt;\n        {% set region = '48' %}\n        {% set pollen = '28' %}\n        {{ (value_json | from_json).fields[region].mapValue.fields.data.mapValue.fields[pollen].mapValue.fields.level.integerValue }}\n    # Gr&aelig;spollen - prognose\n    - name: &quot;Gr&aelig;spollen (prognose)&quot;\n      icon: mdi:grass\n      value_<a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Template&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;En template (skabelon) er en avanceret funktionalitet i HA. De kan bruges til at tilpasse og manipulere data, der kommer fra forskellige enheder eller sensorer, f&oslash;r de vises p&aring; dit dashboard eller bruges i automatiseringer.&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;Med templates kan du oprette komplekse logikker, omregne v&aelig;rdier, eller udf&oslash;re forskellige beregninger baseret p&aring; inputdata. Templates kan bruges i din konfiguration, p&aring; dit dashboard eller i automatiseringer.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/template\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>template<\/a>: &gt;\n        {% set region = '48' %}\n        {% set pollen = '28' %}\n        {% set prognose = (value_json | from_json).fields[region].mapValue.fields.data.mapValue.fields[pollen].mapValue.fields.predictions.mapValue.fields %}\n        {% set data = namespace(predictions=[]) %}\n        {% for p in prognose %}\n        {% set data.predictions = data.predictions + [{'date': p[6:10]+p[2:5]+'-'+p[:2], 'value': prognose[p].mapValue.fields.prediction.stringValue}] %}\n        {% endfor %}\n        {{ data.predictions |  sort(attribute=&quot;date&quot;)}}\n<\/code><\/pre>\n\n\n\n<p>Der kan tilf&oslash;jes sensorer for &oslash;vrige pollentyper eller for Viborg ved at &aelig;ndre v&aelig;rdierne i hhv. <code>set region<\/code> og <code>set pollen<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">NodeRED<\/h3>\n\n\n\n<p>Du kan ogs&aring; lave en <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Automatisering&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;En automatisering er en m&aring;de til automatisk at udf&oslash;re forskellige handlinger i HA uden input fra dig eller andre brugere. Automatiseringer kan udf&oslash;res p&aring; faste tidspunkter eller ved forskellige h&aelig;ndelser og betingelser.&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 eksempelvis v&aelig;re en simpel automatisering, der t&aelig;nder lyset, n&aring;r du kommer hjem. Eller en mere avanceret automatisering, som slukker for alt lys, advarer om evt. &aring;bne d&oslash;re og vinduer og aktiverer alarmen, n&aring;r du g&aring;r i seng om aftenen. &amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/automatisering\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>automatisering<\/a> i NodeRED, der henter prognoserne. Det giver bedre kontrol over hvorn&aring;r data skal hentes og hvordan de skal formateres og pr&aelig;senteres:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"204\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-5-1024x204.png\" alt=\"NodeRED flow til indl&aelig;sning af pollental fra Astma-Allergi Danmark's prognoser\" class=\"wp-image-3299\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-5-1024x204.png 1024w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-5-300x60.png 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-5-768x153.png 768w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-5-1536x305.png 1536w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-5.png 1584w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><\/figure>\n\n\n\n<p>Nedenst&aring;ende kode er anvendt til dette flow:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-json\">[{&quot;id&quot;:&quot;fce46d9d310ebdfb&quot;,&quot;type&quot;:&quot;inject&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Hver 4. time&quot;,&quot;props&quot;:[{&quot;p&quot;:&quot;payload&quot;},{&quot;p&quot;:&quot;topic&quot;,&quot;vt&quot;:&quot;str&quot;}],&quot;repeat&quot;:&quot;14400&quot;,&quot;crontab&quot;:&quot;&quot;,&quot;once&quot;:false,&quot;onceDelay&quot;:&quot;10&quot;,&quot;topic&quot;:&quot;&quot;,&quot;payload&quot;:&quot;&quot;,&quot;payloadType&quot;:&quot;date&quot;,&quot;x&quot;:110,&quot;y&quot;:960,&quot;wires&quot;:[[&quot;50d3abe8dde82418&quot;]]},{&quot;id&quot;:&quot;50d3abe8dde82418&quot;,&quot;type&quot;:&quot;http request&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Allergi Danmark&quot;,&quot;method&quot;:&quot;GET&quot;,&quot;ret&quot;:&quot;obj&quot;,&quot;paytoqs&quot;:&quot;ignore&quot;,&quot;url&quot;:&quot;https:\/\/www.astma-allergi.dk\/umbraco\/Api\/PollenApi\/GetPollenFeed&quot;,&quot;tls&quot;:&quot;&quot;,&quot;persist&quot;:false,&quot;proxy&quot;:&quot;&quot;,&quot;authType&quot;:&quot;&quot;,&quot;senderr&quot;:false,&quot;x&quot;:280,&quot;y&quot;:960,&quot;wires&quot;:[[&quot;3f8c55a0cfb8dbe7&quot;]],&quot;info&quot;:&quot;### Credit\\r\\nPollen rest sensor udarbejdet af Martin Larsen og delt her:\\r\\n\\r\\nhttps:\/\/www.facebook.com\/groups\/209025039666209\/permalink\/1153666198535417\/\\r\\n\\r\\nF&oslash;rste tal i value_<a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Template&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;En template (skabelon) er en avanceret funktionalitet i HA. De kan bruges til at tilpasse og manipulere data, der kommer fra forskellige enheder eller sensorer, f&oslash;r de vises p&aring; dit dashboard eller bruges i automatiseringer.&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;Med templates kan du oprette komplekse logikker, omregne v&aelig;rdier, eller udf&oslash;re forskellige beregninger baseret p&aring; inputdata. Templates kan bruges i din konfiguration, p&aring; dit dashboard eller i automatiseringer.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/template\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>template<\/a> er regionen, n&aelig;ste tal er pollentypen:\\r\\n\\r\\n### Region\\r\\n- &Oslash;st for Storeb&aelig;lt: 48\\r\\n- Vest for Storeb&aelig;lt: 49\\r\\n\\r\\n### Pollentype\\r\\n- Alternaria: 44\\r\\n- Birk: 7\\r\\n- Bynke: 31\\r\\n- Cladosporium: 45\\r\\n- El: 1\\r\\n- Elm: 4\\r\\n- Gr&aelig;s: 28\\r\\n- Hassel: 2&quot;},{&quot;id&quot;:&quot;3f8c55a0cfb8dbe7&quot;,&quot;type&quot;:&quot;json&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;&quot;,&quot;property&quot;:&quot;payload&quot;,&quot;action&quot;:&quot;&quot;,&quot;pretty&quot;:false,&quot;x&quot;:470,&quot;y&quot;:960,&quot;wires&quot;:[[&quot;960878c66d210219&quot;]]},{&quot;id&quot;:&quot;960878c66d210219&quot;,&quot;type&quot;:&quot;change&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Pollendata - K&oslash;benhavn&quot;,&quot;rules&quot;:[{&quot;t&quot;:&quot;set&quot;,&quot;p&quot;:&quot;update&quot;,&quot;pt&quot;:&quot;msg&quot;,&quot;to&quot;:&quot;payload.updateTime&quot;,&quot;tot&quot;:&quot;msg&quot;},{&quot;t&quot;:&quot;set&quot;,&quot;p&quot;:&quot;payload&quot;,&quot;pt&quot;:&quot;msg&quot;,&quot;to&quot;:&quot;payload.fields[\\&quot;48\\&quot;].mapValue.fields.data.mapValue.fields&quot;,&quot;tot&quot;:&quot;msg&quot;}],&quot;action&quot;:&quot;&quot;,&quot;property&quot;:&quot;&quot;,&quot;from&quot;:&quot;&quot;,&quot;to&quot;:&quot;&quot;,&quot;reg&quot;:false,&quot;x&quot;:660,&quot;y&quot;:960,&quot;wires&quot;:[[&quot;af8983811c7d4ec4&quot;]]},{&quot;id&quot;:&quot;af8983811c7d4ec4&quot;,&quot;type&quot;:&quot;split&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;&quot;,&quot;splt&quot;:&quot;\\\\n&quot;,&quot;spltType&quot;:&quot;str&quot;,&quot;arraySplt&quot;:1,&quot;arraySpltType&quot;:&quot;len&quot;,&quot;stream&quot;:false,&quot;addname&quot;:&quot;pollen&quot;,&quot;x&quot;:850,&quot;y&quot;:960,&quot;wires&quot;:[[&quot;43564f9fc9b2a117&quot;]]},{&quot;id&quot;:&quot;43564f9fc9b2a117&quot;,&quot;type&quot;:&quot;function&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Parse data&quot;,&quot;func&quot;:&quot;var pollen_navn=\\&quot;\\&quot;;\\nconst prognose = Object.entries(msg.payload.mapValue.fields.predictions.mapValue.fields);\\nconst predictions=[];\\n\\nfor (let i = 0; i &lt; prognose.length; i++) {\\n  var parts = prognose[i][0].split(\\&quot;-\\&quot;);\\n  var dt = new Date(parseInt(parts[2], 10),\\n                  parseInt(parts[1], 10) - 1,\\n                  parseInt(parts[0], 10));\\n  predictions.push({ \\&quot;date\\&quot;: dt, \\&quot;level\\&quot;: prognose[i][1].mapValue.fields.prediction.stringValue});\\n\\n}\\n\\nswitch(msg.pollen) {\\n  case '1':\\n    pollen_navn='El';\\n    break;\\n  case '2':\\n    pollen_navn='Hassel';\\n    break;\\n  case '4':\\n    pollen_navn='Elm';\\n    break;\\n  case '7':\\n    pollen_navn='Birk';\\n    break;\\n  case '28':\\n    pollen_navn='Gr&aelig;s';\\n    break;\\n  case '31':\\n    pollen_navn='Bynke';\\n    break;\\n  case '44':\\n    pollen_navn='Alternaria';\\n    break;\\n  case '45':\\n    pollen_navn='Cladosporium';\\n    break;\\n}\\n\\nmsg.payload= { \\n        \\&quot;navn\\&quot;: pollen_navn,\\n        \\&quot;s&aelig;son\\&quot;: msg.payload.mapValue.fields.inSeason.booleanValue,\\n        \\&quot;update\\&quot;: msg.pollen.last_update,\\n        \\&quot;m&aring;ling\\&quot;: msg.payload.mapValue.fields.level.integerValue,\\n        \\&quot;prognose\\&quot;: predictions.sort(function(a, b){return a.date - b.date})\\n        }\\nreturn msg;\\n\\n&quot;,&quot;outputs&quot;:1,&quot;noerr&quot;:0,&quot;initialize&quot;:&quot;&quot;,&quot;finalize&quot;:&quot;&quot;,&quot;libs&quot;:[],&quot;x&quot;:1000,&quot;y&quot;:960,&quot;wires&quot;:[[&quot;163c90285d5c0896&quot;]]},{&quot;id&quot;:&quot;163c90285d5c0896&quot;,&quot;type&quot;:&quot;switch&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Opdel pollen efter navn&quot;,&quot;property&quot;:&quot;payload.navn&quot;,&quot;propertyType&quot;:&quot;msg&quot;,&quot;rules&quot;:[{&quot;t&quot;:&quot;eq&quot;,&quot;v&quot;:&quot;Gr&aelig;s&quot;,&quot;vt&quot;:&quot;str&quot;},{&quot;t&quot;:&quot;eq&quot;,&quot;v&quot;:&quot;Bynke&quot;,&quot;vt&quot;:&quot;str&quot;},{&quot;t&quot;:&quot;eq&quot;,&quot;v&quot;:&quot;Birk&quot;,&quot;vt&quot;:&quot;str&quot;},{&quot;t&quot;:&quot;eq&quot;,&quot;v&quot;:&quot;El&quot;,&quot;vt&quot;:&quot;str&quot;},{&quot;t&quot;:&quot;eq&quot;,&quot;v&quot;:&quot;Elm&quot;,&quot;vt&quot;:&quot;str&quot;},{&quot;t&quot;:&quot;eq&quot;,&quot;v&quot;:&quot;Hassel&quot;,&quot;vt&quot;:&quot;str&quot;}],&quot;checkall&quot;:&quot;true&quot;,&quot;repair&quot;:false,&quot;outputs&quot;:6,&quot;x&quot;:1210,&quot;y&quot;:960,&quot;wires&quot;:[[&quot;7590197bd77c1465&quot;],[&quot;15493183aaa81091&quot;],[&quot;29337879c5cf6fd5&quot;],[&quot;ac84c27d342b86ee&quot;],[&quot;76a75bc965b1731c&quot;],[&quot;c020c219e2a01dcd&quot;]]},{&quot;id&quot;:&quot;7590197bd77c1465&quot;,&quot;type&quot;:&quot;ha-sensor&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Gr&aelig;s sensor&quot;,&quot;entityConfig&quot;:&quot;b0a1841c1d98d55d&quot;,&quot;version&quot;:0,&quot;state&quot;:&quot;payload.m&aring;ling&quot;,&quot;stateType&quot;:&quot;msg&quot;,&quot;attributes&quot;:[{&quot;property&quot;:&quot;last_update&quot;,&quot;value&quot;:&quot;update&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;predictions&quot;,&quot;value&quot;:&quot;payload.prognose&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;in_season&quot;,&quot;value&quot;:&quot;payload.s&aelig;son&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;friendly_name&quot;,&quot;value&quot;:&quot;Pollental - Gr&aelig;s&quot;,&quot;valueType&quot;:&quot;str&quot;}],&quot;inputOverride&quot;:&quot;allow&quot;,&quot;outputProperties&quot;:[],&quot;x&quot;:1480,&quot;y&quot;:830,&quot;wires&quot;:[[]]},{&quot;id&quot;:&quot;15493183aaa81091&quot;,&quot;type&quot;:&quot;ha-sensor&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Bynke sensor&quot;,&quot;entityConfig&quot;:&quot;6a9bfef01b17a599&quot;,&quot;version&quot;:0,&quot;state&quot;:&quot;payload.m&aring;ling&quot;,&quot;stateType&quot;:&quot;msg&quot;,&quot;attributes&quot;:[{&quot;property&quot;:&quot;last_update&quot;,&quot;value&quot;:&quot;update&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;predictions&quot;,&quot;value&quot;:&quot;payload.prognose&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;in_season&quot;,&quot;value&quot;:&quot;payload.s&aelig;son&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;friendly_name&quot;,&quot;value&quot;:&quot;Pollental - Bynke&quot;,&quot;valueType&quot;:&quot;str&quot;}],&quot;inputOverride&quot;:&quot;allow&quot;,&quot;outputProperties&quot;:[],&quot;x&quot;:1490,&quot;y&quot;:880,&quot;wires&quot;:[[]]},{&quot;id&quot;:&quot;29337879c5cf6fd5&quot;,&quot;type&quot;:&quot;ha-sensor&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Birk sensor&quot;,&quot;entityConfig&quot;:&quot;dfadcaf44ea15249&quot;,&quot;version&quot;:0,&quot;state&quot;:&quot;payload.m&aring;ling&quot;,&quot;stateType&quot;:&quot;msg&quot;,&quot;attributes&quot;:[{&quot;property&quot;:&quot;last_update&quot;,&quot;value&quot;:&quot;update&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;predictions&quot;,&quot;value&quot;:&quot;payload.prognose&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;in_season&quot;,&quot;value&quot;:&quot;payload.s&aelig;son&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;friendly_name&quot;,&quot;value&quot;:&quot;Pollental - Birk&quot;,&quot;valueType&quot;:&quot;str&quot;}],&quot;inputOverride&quot;:&quot;allow&quot;,&quot;outputProperties&quot;:[],&quot;x&quot;:1480,&quot;y&quot;:930,&quot;wires&quot;:[[]]},{&quot;id&quot;:&quot;ac84c27d342b86ee&quot;,&quot;type&quot;:&quot;ha-sensor&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;El sensor&quot;,&quot;entityConfig&quot;:&quot;37a7385bfeb35177&quot;,&quot;version&quot;:0,&quot;state&quot;:&quot;payload.m&aring;ling&quot;,&quot;stateType&quot;:&quot;msg&quot;,&quot;attributes&quot;:[{&quot;property&quot;:&quot;last_update&quot;,&quot;value&quot;:&quot;update&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;predictions&quot;,&quot;value&quot;:&quot;payload.prognose&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;in_season&quot;,&quot;value&quot;:&quot;payload.s&aelig;son&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;friendly_name&quot;,&quot;value&quot;:&quot;Pollental - El&quot;,&quot;valueType&quot;:&quot;str&quot;}],&quot;inputOverride&quot;:&quot;allow&quot;,&quot;outputProperties&quot;:[],&quot;x&quot;:1470,&quot;y&quot;:980,&quot;wires&quot;:[[]]},{&quot;id&quot;:&quot;76a75bc965b1731c&quot;,&quot;type&quot;:&quot;ha-sensor&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Elm sensor&quot;,&quot;entityConfig&quot;:&quot;8e97b343cf61558b&quot;,&quot;version&quot;:0,&quot;state&quot;:&quot;payload.m&aring;ling&quot;,&quot;stateType&quot;:&quot;msg&quot;,&quot;attributes&quot;:[{&quot;property&quot;:&quot;last_update&quot;,&quot;value&quot;:&quot;update&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;predictions&quot;,&quot;value&quot;:&quot;payload.prognose&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;in_season&quot;,&quot;value&quot;:&quot;payload.s&aelig;son&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;friendly_name&quot;,&quot;value&quot;:&quot;Pollental - Elm&quot;,&quot;valueType&quot;:&quot;str&quot;}],&quot;inputOverride&quot;:&quot;allow&quot;,&quot;outputProperties&quot;:[],&quot;x&quot;:1480,&quot;y&quot;:1030,&quot;wires&quot;:[[]]},{&quot;id&quot;:&quot;c020c219e2a01dcd&quot;,&quot;type&quot;:&quot;ha-sensor&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Hassel sensor&quot;,&quot;entityConfig&quot;:&quot;abb222f43688b967&quot;,&quot;version&quot;:0,&quot;state&quot;:&quot;payload.m&aring;ling&quot;,&quot;stateType&quot;:&quot;msg&quot;,&quot;attributes&quot;:[{&quot;property&quot;:&quot;last_update&quot;,&quot;value&quot;:&quot;update&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;predictions&quot;,&quot;value&quot;:&quot;payload.prognose&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;in_season&quot;,&quot;value&quot;:&quot;payload.s&aelig;son&quot;,&quot;valueType&quot;:&quot;msg&quot;},{&quot;property&quot;:&quot;friendly_name&quot;,&quot;value&quot;:&quot;Pollental - Hassel&quot;,&quot;valueType&quot;:&quot;str&quot;}],&quot;inputOverride&quot;:&quot;allow&quot;,&quot;outputProperties&quot;:[],&quot;x&quot;:1490,&quot;y&quot;:1080,&quot;wires&quot;:[[]]},{&quot;id&quot;:&quot;c6592d527c8074ea&quot;,&quot;type&quot;:&quot;comment&quot;,&quot;z&quot;:&quot;acf7df60c2e781a0&quot;,&quot;name&quot;:&quot;Hent pollental for K&oslash;benhavn&quot;,&quot;info&quot;:&quot;## Gr&aelig;spollen-tal for:\\n\\n**K&oslash;benhavn:**\\npayload.pollen_info.region[0].readings[0].reading[4].value[0]\\n\\n**Viborg:**\\npayload.pollen_info.region[1].readings[0].reading[4].value[0]\\n\\n\\n\\n## Pollen rest sensor udarbejdet af Martin Larsen og delt her:\\nhttps:\/\/www.facebook.com\/groups\/209025039666209\/permalink\/1153666198535417\/\\n\\nPollendata fra feed fra Astma Allergi Danmark:\\nhttps:\/\/www.astma-allergi.dk\/dagens-pollental\/\\n\\nData er opdelt efter region:\\n- &Oslash;st for Storeb&aelig;lt: 48\\n- Vest for Storeb&aelig;lt: 49\\n\\nOg derefter pollentype:\\n\\n- Alternaria: 44\\n- Birk: 7\\n- Bynke: 31\\n- Cladosporium: 45\\n- El: 1\\n- Elm: 4\\n- Gr&aelig;s: 28\\n- Hassel: 2\\n\\nData omfatter seneste pollental samt prognose for 5 dage.\\n&quot;,&quot;x&quot;:130,&quot;y&quot;:840,&quot;wires&quot;:[]},{&quot;id&quot;:&quot;b0a1841c1d98d55d&quot;,&quot;type&quot;:&quot;ha-entity-config&quot;,&quot;server&quot;:&quot;49e64ea71c5ef4d9&quot;,&quot;deviceConfig&quot;:&quot;&quot;,&quot;name&quot;:&quot;sensor config for Gr&aelig;s sensor&quot;,&quot;version&quot;:6,&quot;entityType&quot;:&quot;sensor&quot;,&quot;haConfig&quot;:[{&quot;property&quot;:&quot;name&quot;,&quot;value&quot;:&quot;Pollental_gr&aelig;s&quot;},{&quot;property&quot;:&quot;device_class&quot;,&quot;value&quot;:&quot;measurement&quot;},{&quot;property&quot;:&quot;icon&quot;,&quot;value&quot;:&quot;mdi:barley&quot;},{&quot;property&quot;:&quot;unit_of_measurement&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;state_class&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;last_reset&quot;,&quot;value&quot;:&quot;&quot;}],&quot;resend&quot;:true},{&quot;id&quot;:&quot;6a9bfef01b17a599&quot;,&quot;type&quot;:&quot;ha-entity-config&quot;,&quot;server&quot;:&quot;49e64ea71c5ef4d9&quot;,&quot;deviceConfig&quot;:&quot;&quot;,&quot;name&quot;:&quot;sensor config for Bynke sensor&quot;,&quot;version&quot;:6,&quot;entityType&quot;:&quot;sensor&quot;,&quot;haConfig&quot;:[{&quot;property&quot;:&quot;name&quot;,&quot;value&quot;:&quot;Pollental_bynke&quot;},{&quot;property&quot;:&quot;device_class&quot;,&quot;value&quot;:&quot;measurement&quot;},{&quot;property&quot;:&quot;icon&quot;,&quot;value&quot;:&quot;mdi:barley&quot;},{&quot;property&quot;:&quot;unit_of_measurement&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;state_class&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;last_reset&quot;,&quot;value&quot;:&quot;&quot;}],&quot;resend&quot;:true},{&quot;id&quot;:&quot;dfadcaf44ea15249&quot;,&quot;type&quot;:&quot;ha-entity-config&quot;,&quot;server&quot;:&quot;49e64ea71c5ef4d9&quot;,&quot;deviceConfig&quot;:&quot;&quot;,&quot;name&quot;:&quot;sensor config for Birk sensor&quot;,&quot;version&quot;:6,&quot;entityType&quot;:&quot;sensor&quot;,&quot;haConfig&quot;:[{&quot;property&quot;:&quot;name&quot;,&quot;value&quot;:&quot;Pollental_birk&quot;},{&quot;property&quot;:&quot;device_class&quot;,&quot;value&quot;:&quot;measurement&quot;},{&quot;property&quot;:&quot;icon&quot;,&quot;value&quot;:&quot;mdi:barley&quot;},{&quot;property&quot;:&quot;unit_of_measurement&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;state_class&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;last_reset&quot;,&quot;value&quot;:&quot;&quot;}],&quot;resend&quot;:true},{&quot;id&quot;:&quot;37a7385bfeb35177&quot;,&quot;type&quot;:&quot;ha-entity-config&quot;,&quot;server&quot;:&quot;49e64ea71c5ef4d9&quot;,&quot;deviceConfig&quot;:&quot;&quot;,&quot;name&quot;:&quot;sensor config for El sensor&quot;,&quot;version&quot;:6,&quot;entityType&quot;:&quot;sensor&quot;,&quot;haConfig&quot;:[{&quot;property&quot;:&quot;name&quot;,&quot;value&quot;:&quot;Pollental_el&quot;},{&quot;property&quot;:&quot;device_class&quot;,&quot;value&quot;:&quot;measurement&quot;},{&quot;property&quot;:&quot;icon&quot;,&quot;value&quot;:&quot;mdi:barley&quot;},{&quot;property&quot;:&quot;unit_of_measurement&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;state_class&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;last_reset&quot;,&quot;value&quot;:&quot;&quot;}],&quot;resend&quot;:true},{&quot;id&quot;:&quot;8e97b343cf61558b&quot;,&quot;type&quot;:&quot;ha-entity-config&quot;,&quot;server&quot;:&quot;49e64ea71c5ef4d9&quot;,&quot;deviceConfig&quot;:&quot;&quot;,&quot;name&quot;:&quot;sensor config for Elm sensor&quot;,&quot;version&quot;:6,&quot;entityType&quot;:&quot;sensor&quot;,&quot;haConfig&quot;:[{&quot;property&quot;:&quot;name&quot;,&quot;value&quot;:&quot;Pollental_elm&quot;},{&quot;property&quot;:&quot;device_class&quot;,&quot;value&quot;:&quot;measurement&quot;},{&quot;property&quot;:&quot;icon&quot;,&quot;value&quot;:&quot;mdi:barley&quot;},{&quot;property&quot;:&quot;unit_of_measurement&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;state_class&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;last_reset&quot;,&quot;value&quot;:&quot;&quot;}],&quot;resend&quot;:true},{&quot;id&quot;:&quot;abb222f43688b967&quot;,&quot;type&quot;:&quot;ha-entity-config&quot;,&quot;server&quot;:&quot;49e64ea71c5ef4d9&quot;,&quot;deviceConfig&quot;:&quot;&quot;,&quot;name&quot;:&quot;sensor config for Hassel sensor&quot;,&quot;version&quot;:6,&quot;entityType&quot;:&quot;sensor&quot;,&quot;haConfig&quot;:[{&quot;property&quot;:&quot;name&quot;,&quot;value&quot;:&quot;Pollental_hassel&quot;},{&quot;property&quot;:&quot;device_class&quot;,&quot;value&quot;:&quot;measurement&quot;},{&quot;property&quot;:&quot;icon&quot;,&quot;value&quot;:&quot;mdi:barley&quot;},{&quot;property&quot;:&quot;unit_of_measurement&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;state_class&quot;,&quot;value&quot;:&quot;&quot;},{&quot;property&quot;:&quot;last_reset&quot;,&quot;value&quot;:&quot;&quot;}],&quot;resend&quot;:true}]<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Integration<\/h3>\n\n\n\n<p>Endeligt kan ogs&aring; bruge en brugerudviklet integration til at hente relevante sensorer med pollental. Der er flere forskellige muligheder, men <a href=\"https:\/\/github.com\/J-Lindvig\/Pollen_DK\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Pollen DK integrationen<\/strong><\/a> fra <a href=\"https:\/\/www.facebook.com\/jacob.lindvig\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Jacob Henriksen<\/a> henter data direkte fra Astma-Allergi Danmarks prognose. Og den indeholder alle relevante pollental og prognosedata.<\/p>\n\n\n\n<p>Data fra integrationen er derfor brugt i de efterf&oslash;lgende eksempler p&aring; <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Automatisering&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;En automatisering er en m&aring;de til automatisk at udf&oslash;re forskellige handlinger i HA uden input fra dig eller andre brugere. Automatiseringer kan udf&oslash;res p&aring; faste tidspunkter eller ved forskellige h&aelig;ndelser og betingelser.&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 eksempelvis v&aelig;re en simpel automatisering, der t&aelig;nder lyset, n&aring;r du kommer hjem. Eller en mere avanceret automatisering, som slukker for alt lys, advarer om evt. &aring;bne d&oslash;re og vinduer og aktiverer alarmen, n&aring;r du g&aring;r i seng om aftenen. &amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/automatisering\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>automatisering<\/a> og <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<h4 class=\"wp-block-heading\">Installer integrationen via <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;HACS&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;HACS er en forkortelse for &amp;lt;strong&amp;gt;Home Assistant Community Store&amp;lt;\/strong&amp;gt;. Det er en l&oslash;sning der g&oslash;r det nemt at tilf&oslash;je funktionalitet udviklet af andre brugere.&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;Mange programm&oslash;rer har udviklet forskellige l&oslash;sninger, som ikke er blevet officielt integreret i HA. Det er b&aring;de integrationer, temaer og dashboard elementer.&nbsp;&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;HACS samler dem og g&oslash;r det lettere at finde og installere dem.&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 hvordan du installerer og anvender HACS i dette &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/&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;&amp;lt;!-- wp:paragraph --&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\/hacs\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>HACS<\/a><\/h4>\n\n\n\n<p>Du kan installere Polle DK integrationen via <a href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>HACS<\/strong><\/a>. <\/p>\n\n\n\n<p>Start <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;HACS&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;HACS er en forkortelse for &amp;lt;strong&amp;gt;Home Assistant Community Store&amp;lt;\/strong&amp;gt;. Det er en l&oslash;sning der g&oslash;r det nemt at tilf&oslash;je funktionalitet udviklet af andre brugere.&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;Mange programm&oslash;rer har udviklet forskellige l&oslash;sninger, som ikke er blevet officielt integreret i HA. Det er b&aring;de integrationer, temaer og dashboard elementer.&nbsp;&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;HACS samler dem og g&oslash;r det lettere at finde og installere dem.&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 hvordan du installerer og anvender HACS i dette &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/&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;&amp;lt;!-- wp:paragraph --&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\/hacs\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>HACS<\/a> ved at v&aelig;lge <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;HACS&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;HACS er en forkortelse for &amp;lt;strong&amp;gt;Home Assistant Community Store&amp;lt;\/strong&amp;gt;. Det er en l&oslash;sning der g&oslash;r det nemt at tilf&oslash;je funktionalitet udviklet af andre brugere.&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;Mange programm&oslash;rer har udviklet forskellige l&oslash;sninger, som ikke er blevet officielt integreret i HA. Det er b&aring;de integrationer, temaer og dashboard elementer.&nbsp;&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;HACS samler dem og g&oslash;r det lettere at finde og installere dem.&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 hvordan du installerer og anvender HACS i dette &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/&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;&amp;lt;!-- wp:paragraph --&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\/hacs\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>HACS<\/a> i din sidemenu.<\/p>\n\n\n\n<p><a href=\"http:\/\/192.168.2.30:8123\/hacs\/repository?owner=MTrab&amp;repository=energidataservice\"><\/a>P&aring; <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;HACS&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;HACS er en forkortelse for &amp;lt;strong&amp;gt;Home Assistant Community Store&amp;lt;\/strong&amp;gt;. Det er en l&oslash;sning der g&oslash;r det nemt at tilf&oslash;je funktionalitet udviklet af andre brugere.&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;Mange programm&oslash;rer har udviklet forskellige l&oslash;sninger, som ikke er blevet officielt integreret i HA. Det er b&aring;de integrationer, temaer og dashboard elementer.&nbsp;&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;HACS samler dem og g&oslash;r det lettere at finde og installere dem.&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 hvordan du installerer og anvender HACS i dette &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/&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;&amp;lt;!-- wp:paragraph --&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\/hacs\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>HACS<\/a> forsiden skal du trykke p&aring; menupunktet &rdquo;Integrationer&rdquo;:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"942\" height=\"475\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/11\/image-12.png\" alt=\"Start HACS\" class=\"wp-image-1712\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/11\/image-12.png 942w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/11\/image-12-300x151.png 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/11\/image-12-768x387.png 768w\" sizes=\"auto, (max-width: 942px) 100vw, 942px\"\/><\/figure>\n\n\n\n<p>Da integrationen endnu ikke er tilg&aelig;ngelig p&aring; <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;HACS&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;HACS er en forkortelse for &amp;lt;strong&amp;gt;Home Assistant Community Store&amp;lt;\/strong&amp;gt;. Det er en l&oslash;sning der g&oslash;r det nemt at tilf&oslash;je funktionalitet udviklet af andre brugere.&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;Mange programm&oslash;rer har udviklet forskellige l&oslash;sninger, som ikke er blevet officielt integreret i HA. Det er b&aring;de integrationer, temaer og dashboard elementer.&nbsp;&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;HACS samler dem og g&oslash;r det lettere at finde og installere dem.&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 hvordan du installerer og anvender HACS i dette &amp;lt;a href=&amp;quot;https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/07\/saadan-installerer-du-hacs\/&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;&amp;lt;!-- wp:paragraph --&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\/hacs\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>HACS<\/a>, skal du selv tilf&oslash;je den for at kunne installere.<\/p>\n\n\n\n<p id=\"block-ad0e09f9-bcf3-4481-b2b1-655bda171db5\"><\/p>\n\n\n\n<figure class=\"wp-block-image\" id=\"block-c0cdf285-27bc-45d2-ac56-bb8d551de802\"><img decoding=\"async\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/11\/image-13.png\" alt=\"HACS: Integrationer\"\/><\/figure>\n\n\n\n<p>Klik p&aring; de tre prikker i &oslash;verste h&oslash;jre hj&oslash;rne og v&aelig;lg derefter menupunktet: &ldquo;Brugerdefinerede repositories&rdquo;:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"255\" height=\"275\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/11\/image-65.png\" alt=\"HACS: Tilf&oslash;j nyt brugerdefineret repository\" class=\"wp-image-1975\"\/><\/figure>\n\n\n\n<p>Under &ldquo;Repository&rdquo; indtastes &ldquo;<a href=\"https:\/\/github.com\/vasqued2\/ha-teamtracker-card\">https:\/\/github.com\/J-Lindvig\/Pollen_DK<\/a>&rdquo; og der v&aelig;lges &ldquo;Integration&rdquo; under &ldquo;Kategori&rdquo;. Tryk derefter p&aring; &ldquo;Tilf&oslash;j&rdquo; knappen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"405\" height=\"289\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-7.png\" alt=\"HACS: Tilf&oslash;j nyt brugerdefineret repository\" class=\"wp-image-3321\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-7.png 405w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-7-300x214.png 300w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\"\/><\/figure>\n\n\n\n<p>Nu b&oslash;r du kunne se Pollen DK integrationen p&aring; oversigten. Klik p&aring; integrationen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"446\" height=\"188\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-8.png\" alt=\"Pollen DK integrationen\" class=\"wp-image-3322\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-8.png 446w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-8-300x126.png 300w\" sizes=\"auto, (max-width: 446px) 100vw, 446px\"\/><\/figure>\n\n\n\n<p>Klik p&aring; &rdquo;Download&rdquo; knappen i nederste h&oslash;jre hj&oslash;rne:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"583\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-9-1024x583.png\" alt=\"Download Pollen DK integrationen\" class=\"wp-image-3323\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-9-1024x583.png 1024w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-9-300x171.png 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-9-768x437.png 768w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-9-1536x874.png 1536w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-9.png 1678w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><\/figure>\n\n\n\n<p>Klik p&aring; &rdquo;Download&rdquo; knappen for at installere den seneste version:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-10.png\" alt=\"Bekr&aelig;ft download\" class=\"wp-image-3324\" width=\"524\" height=\"344\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-10.png 524w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-10-300x197.png 300w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\"\/><\/figure>\n\n\n\n<p>Du skal genstarte HA for at f&aring; startet integrationen. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"448\" height=\"187\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-13.png\" alt=\"\" class=\"wp-image-3330\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-13.png 448w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-13-300x125.png 300w\" sizes=\"auto, (max-width: 448px) 100vw, 448px\"\/><\/figure>\n\n\n\n<p>Det g&oslash;res ved at klikke p&aring; &rdquo;Genstart&rdquo; knappen under &rdquo;Udviklerv&aelig;rkt&oslash;jer&rdquo; -&gt; &rdquo;<a href=\"https:\/\/my.home-assistant.io\/redirect\/developer-tools\/yaml\" target=\"_blank\" rel=\"noreferrer noopener\">YAML<\/a>&rdquo;:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"512\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/10\/image-16.png\" alt=\"Sk&aelig;rmbillede til genstart af HA\" class=\"wp-image-1230\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/10\/image-16.png 945w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/10\/image-16-300x163.png 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2022\/10\/image-16-768x416.png 768w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\"\/><\/figure>\n\n\n\n<p>Tryk p&aring; &ldquo;Genstart Home Assistant&rdquo; for at foretage en fuld genstart:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"429\" height=\"217\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-11.png\" alt=\"V&aelig;lg at genstarte Home Assistant\" class=\"wp-image-3327\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-11.png 429w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-11-300x152.png 300w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\"\/><\/figure>\n\n\n\n<p>Bekr&aelig;ft, at du &oslash;nsker at genstarte HA ved at klikke p&aring; &rdquo;Genstart&rdquo; knappen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"138\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-12.png\" alt=\"Bekr&aelig;ft genstart\" class=\"wp-image-3328\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-12.png 360w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-12-300x115.png 300w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\"\/><\/figure>\n\n\n\n<p>Efter genstart kan du tilf&oslash;je konfigurationen af integrationen i din <kbd>configuration.<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><\/kbd> fil.<\/p>\n\n\n\n<p>Nedenst&aring;ende tilf&oslash;jer alle pollental for K&oslash;benhavn. Du kan udskifte &ldquo;&oslash;st&rdquo; med &ldquo;vest&rdquo; for at f&aring; vist tallene for Viborg i stedet for K&oslash;benhavn<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-yaml\">#&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;\n# Pollen prognose og seneste pollental\n#&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;\npollen_dk:\n  regions:        # Possible values: &oslash;st, vest\n    - &oslash;st\n  pollen_types:   # Possible values: alternaria, birk, bynke, cladosporium, el, elm, gr&aelig;s, hassel\n    - alternaria\n    - birk\n    - bynke\n    - cladosporium\n    - el\n    - elm\n    - gr&aelig;s\n    - hassel<\/code><\/pre>\n\n\n\n<p>En ny Genstart er n&oslash;dvendig for at f&aring; indl&aelig;st den opdaterede konfiguration. <\/p>\n\n\n\n<p>Tryk p&aring; &ldquo;Genstart Home Assistant&rdquo; for at foretage en fuld genstart:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"429\" height=\"217\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-11.png\" alt=\"V&aelig;lg at genstarte Home Assistant\" class=\"wp-image-3327\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-11.png 429w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-11-300x152.png 300w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\"\/><\/figure>\n\n\n\n<p>Bekr&aelig;ft, at du &oslash;nsker at genstarte HA ved at klikke p&aring; &rdquo;Genstart&rdquo; knappen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"138\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-12.png\" alt=\"Bekr&aelig;ft genstart\" class=\"wp-image-3328\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-12.png 360w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-12-300x115.png 300w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\"\/><\/figure>\n\n\n\n<p>N&aring;r HA er genstartet, skulle du have f&aring;et de nye pollensensorer:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-14.png\" alt=\"Pollensensorer\" class=\"wp-image-3331\" width=\"788\" height=\"526\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-14.png 788w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-14-300x200.png 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-14-768x513.png 768w\" sizes=\"auto, (max-width: 788px) 100vw, 788px\"\/><\/figure>\n\n\n\n<p>S&aring; kan du bruge data fra sensorerne i dine automatiseringer eller vise dem 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><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Automatisering&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;En automatisering er en m&aring;de til automatisk at udf&oslash;re forskellige handlinger i HA uden input fra dig eller andre brugere. Automatiseringer kan udf&oslash;res p&aring; faste tidspunkter eller ved forskellige h&aelig;ndelser og betingelser.&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 eksempelvis v&aelig;re en simpel automatisering, der t&aelig;nder lyset, n&aring;r du kommer hjem. Eller en mere avanceret automatisering, som slukker for alt lys, advarer om evt. &aring;bne d&oslash;re og vinduer og aktiverer alarmen, n&aring;r du g&aring;r i seng om aftenen. &amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/automatisering\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>Automatisering<\/a> med p&aring;mindelse om h&oslash;je pollental<\/h2>\n\n\n\n<p>N&aring;r du har f&aring;et hentet pollendata ind i HA, kan du bruge sensorer i dine automatiseringer.<\/p>\n\n\n\n<p>Det kunne f.eks. v&aelig;re en notifikation med p&aring;mindelse om h&oslash;je pollental. S&aring; kan du huske at tage allergi medicin:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"314\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-6-1024x314.png\" alt=\"Eksempel p&aring; notifikation med advarsel om h&oslash;je og moderate pollental\" class=\"wp-image-3308\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-6-1024x314.png 1024w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-6-300x92.png 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-6-768x235.png 768w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-6.png 1081w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><\/figure>\n\n\n\n<p><br>Notifikationen kan laves med f&oslash;lgende <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Automatisering&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;En automatisering er en m&aring;de til automatisk at udf&oslash;re forskellige handlinger i HA uden input fra dig eller andre brugere. Automatiseringer kan udf&oslash;res p&aring; faste tidspunkter eller ved forskellige h&aelig;ndelser og betingelser.&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 eksempelvis v&aelig;re en simpel automatisering, der t&aelig;nder lyset, n&aring;r du kommer hjem. Eller en mere avanceret automatisering, som slukker for alt lys, advarer om evt. &aring;bne d&oslash;re og vinduer og aktiverer alarmen, n&aring;r du g&aring;r i seng om aftenen. &amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/automatisering\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>automatisering<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-yaml\">alias: &quot;Notifikation: Advarsel om pollen&quot;\ndescription: Daglig advarsel, hvis et eller flere pollental er h&oslash;je eller moderate\ntrigger:\n  - platform: time\n    at: &quot;07:00:00&quot;\ncondition:\n  - condition: <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Template&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;En template (skabelon) er en avanceret funktionalitet i HA. De kan bruges til at tilpasse og manipulere data, der kommer fra forskellige enheder eller sensorer, f&oslash;r de vises p&aring; dit dashboard eller bruges i automatiseringer.&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;Med templates kan du oprette komplekse logikker, omregne v&aelig;rdier, eller udf&oslash;re forskellige beregninger baseret p&aring; inputdata. Templates kan bruges i din konfiguration, p&aring; dit dashboard eller i automatiseringer.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/template\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>template<\/a>\n    value_<a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Template&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&amp;lt;!-- wp:paragraph --&amp;gt;En template (skabelon) er en avanceret funktionalitet i HA. De kan bruges til at tilpasse og manipulere data, der kommer fra forskellige enheder eller sensorer, f&oslash;r de vises p&aring; dit dashboard eller bruges i automatiseringer.&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;Med templates kan du oprette komplekse logikker, omregne v&aelig;rdier, eller udf&oslash;re forskellige beregninger baseret p&aring; inputdata. Templates kan bruges i din konfiguration, p&aring; dit dashboard eller i automatiseringer.&amp;lt;br\/&amp;gt;&amp;lt;!-- \/wp:paragraph --&amp;gt;&lt;\/div&gt;\"  href=\"https:\/\/smart-home-guide.dk\/index.php\/glossary\/template\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>template<\/a>: &gt;-\n      {% set ns = namespace(found=false,firstname='') -%} \n      {% set ns.count = 0 -%} \n      {% for ps in integration_entities('pollen_dk') -%} \n      {% if state_attr(ps, &quot;predictions&quot;)!=[]  -%} \n      {% for pollen in state_attr(ps,&quot;predictions&quot;) -%} \n      {% set pd = strptime(pollen.date, '%d-%m-%Y') -%}  \n      {% if pd.day == now().day and pd.month == now().month and pd.year == now().year -%} {% if pollen.level&gt;1 -%} \n      {% set ns.count=ns.count+1 -%} \n      {% endif -%} {% endif -%} {% endfor -%} {% endif -%} {% endfor -%} \n      {{ ns.count &gt;0 }}\naction:\n  - service: notify.notify\n    data:\n      title: Advarsel om pollen\n      message: &gt;-\n        For i dag ventes f&oslash;lgende pollental: {{&quot;\\n&quot;}}{{&quot;\\n&quot;}}\n        {% set ns =namespace(found=false,firstname='') -%}   \n        {% for ps in integration_entities('pollen_dk') -%}  \n        {% if state_attr(ps,&quot;predictions&quot;)!=[]  -%}  \n        {% for pollen in state_attr(ps, &quot;predictions&quot;) -%} \n        {% set pd = strptime(pollen.date, '%d-%m-%Y') -%}  \n        {% if pd.day == now().day and pd.month == now().month and pd.year == now().year -%}  \n        {% if pollen.level==3 -%}   {{state_attr(ps,'friendly_name') | regex_replace(find='Pollen ', replace='') }} forventes h&oslash;j{{&quot;\\n&quot;}}\n        {% elif pollen.level==2 -%} {{state_attr(ps,'friendly_name') | regex_replace(find='Pollen ', replace='') }} forventes moderat{{&quot;\\n&quot;}}\n        {% endif -%} {% endif -%} {% endfor -%} {% endif -%} {% endfor -%}\nmode: single\n<\/code><\/pre>\n\n\n\n<p><br>Det kan evt. ogs&aring; laves som en <a href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/09\/10\/actionable-notifikationer\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>actionable<\/strong> <strong>notifikation<\/strong><\/a>, hvor du skal bekr&aelig;fte, at der er taget allergi medicin. Og ellers sendes en ny notifikation senere.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Vis pollenprognose p&aring; <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><\/h2>\n\n\n\n<p>N&aring;r f&oslash;rst data er hentet ind i HA, er der mange forskellige muligheder for at vise dem 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>Jeg har eksempelvis lavet nedenst&aring;ende markdown <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>, der viser pollental og prognoser for alle sensorer, hvor pollen er indenfor s&aelig;son:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"471\" height=\"437\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-4.png\" alt=\"Pollenprognose i HA markdown kort\" class=\"wp-image-3294\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-4.png 471w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-4-300x278.png 300w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\"\/><\/figure>\n\n\n\n<p>Oversigten er lavet med denne <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:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-yaml\">type: markdown\ntitle: Pollental\ncontent: &gt;-\n  {% set weekdaynames_dk= ['MAN','TIR','ONS','TOR','FRE','L&Oslash;R','S&Oslash;N'] -%}\n  {% set ns = namespace(found=false,firstname='') %}\n  {% for ps in integration_entities('pollen_dk') -%}\n    {% if state_attr(ps,'in_season')==true -%}\n       {% set ns.found = true %}\n       {% if state_attr(ps, &quot;predictions&quot;)!=[]  -%}\n         {% set ns.firstname = ps %}\n       {% endif -%}\n    {% endif -%}\n  {% endfor -%}\n  {% if ns.found==true -%}\n    &lt;table&gt;\n    &lt;thead&gt;\n    &lt;tr&gt;\n    &lt;th align='left'&gt;Type&lt;\/th&gt;&lt;th align='right'&gt;Pollen&lt;\/th&gt;\n    {% for pollen in state_attr(ns.firstname, &quot;predictions&quot;) -%}\n      &lt;th&gt;{{ weekdaynames_dk[strptime(pollen.date, '%d-%m-%Y').isoweekday()-1] }}&lt;\/th&gt;\n    {% endfor -%}\n    &lt;\/tr&gt;\n    &lt;\/thead&gt;\n    &lt;tbody&gt;\n    {% for ps in integration_entities('pollen_dk') -%}\n      {% if state_attr(ps,'in_season')==true -%}\n        &lt;tr&gt;\n        &lt;td&gt;{{ state_attr(ps,'friendly_name') | regex_replace(find='Pollen ', replace='') }}&lt;\/td&gt;\n        &lt;td align='right'&gt;{{ states(ps) }}&lt;\/td&gt;\n        {% if state_attr(ps, &quot;predictions&quot;)!=[]  -%}\n          {% for pollen in state_attr(ps, &quot;predictions&quot;) -%}\n          &lt;td align='center'&gt;\n            {% if pollen.level==3 -%}&lt;ha-alert alert-type=&quot;error&quot;&gt;&lt;\/ha-alert&gt;\n            {% elif pollen.level==2 -%}&lt;ha-alert alert-type=&quot;warning&quot;&gt;&lt;\/ha-alert&gt;\n            {% elif pollen.level==1 -%}&lt;ha-alert alert-type=&quot;success&quot;&gt;&lt;\/ha-alert&gt;\n            {% else -%}\n            {% endif -%}&lt;\/td&gt;\n          {% endfor -%}\n        {% else -%}\n          &lt;td colspan=&quot;5&quot; align=center&gt;&lt;ha-alert alert-type=&quot;info&quot;&gt;Ingen prognose tilg&aelig;ngelig&lt;\/ha-alert&gt;&lt;\/td&gt;\n        {% endif -%}\n        &lt;\/tr&gt;\n      {% endif -%}\n    {% endfor -%}\n    &lt;\/tbody&gt;\n    &lt;\/table&gt;\n  {% else -%}\n    &lt;ha-alert alert-type=&quot;info&quot;&gt;Der er ingen pollen i s&aelig;son&lt;\/ha-alert&gt;\n  {% endif -%}\n  &lt;br&gt;Data er opdateret pr. {{\n  state_attr(integration_entities('pollen_dk')[0],'last_update') }}\n  {% if ns.found==true -%}\n    &lt;br&gt;&lt;br&gt;&lt;h3&gt;Symbolforklaring:&lt;\/h3&gt;\n    &lt;ha-alert alert-type=&quot;error&quot;&gt;Pollentallet er h&oslash;jt&lt;\/ha-alert&gt;\n    &lt;ha-alert alert-type=&quot;warning&quot;&gt;Pollentallet er moderat&lt;\/ha-alert&gt;\n    &lt;ha-alert alert-type=&quot;success&quot;&gt;Pollentallet er lavt&lt;\/ha-alert&gt;\n    Kilde: &lt;a href=&quot;https:\/\/www.astma-allergi.dk\/dagens-pollental\/&quot;&gt;Astma Allergi Danmark\n  {% endif -%}<\/code><\/pre>\n\n\n\n<p>Du kan ogs&aring; v&aelig;lge at f&aring; vist de historiske data. Denne graf viser udviklingen i den seneste uge:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"935\" height=\"485\" src=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-3.png\" alt=\"Graf med udviklingen i pollental i den seneste uge.\" class=\"wp-image-3291\" srcset=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-3.png 935w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-3-300x156.png 300w, https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-3-768x398.png 768w\" sizes=\"auto, (max-width: 935px) 100vw, 935px\"\/><\/figure>\n\n\n\n<p>Grafen er lavet ved brug af <a href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/23\/ha-jule-tip-23-avancerede-grafer\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Apex-charts<\/strong><\/a> komponenten, der er kombineret med <a href=\"https:\/\/smart-home-guide.dk\/index.php\/2022\/12\/08\/ha-jule-tip-auto-entities\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>auto-entities<\/strong><\/a> komponenten. P&aring; den m&aring;de vises der kun grafer for pollen, der er i s&aelig;son.<\/p>\n\n\n\n<p>Grafen er lavet med f&oslash;lgende kode:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-yaml\">type: custom:auto-entities\ncard:\n  type: custom:apexcharts-card\n  graph_span: 1w\n  span:\n    end: day\n  header:\n    show: true\n    title: Pollental i den seneste uge\n    standard_format: true\n    show_states: true\n    colorize_states: true\n  all_series_config:\n    stroke_width: 2\n    show:\n      in_header: true\n      legend_value: false\nfilter:\n  include:\n    - entity_id: sensor.pollen_*\n      state: '&gt; 0'\n      options:\n        entity: this.entity_id\nsort:\n  method: state\n  reverse: false<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Se hvordan du hente dagens pollental i Home Assistant og bruge dem i automatiseringer eller vise dem 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","protected":false},"author":2,"featured_media":3290,"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":[40,7,39],"tags":[],"class_list":["post-3280","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-automation","category-dashboard","category-integration"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hent og vis pollental | Smart Home Guide<\/title>\n<meta name=\"description\" content=\"Se hvordan du hente dagens pollental i Home Assistant og bruge dem i automatiseringer eller vise dem p\u00e5 dit 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\/2023\/04\/25\/hent-og-vis-pollental\/\" \/>\n<meta property=\"og:locale\" content=\"da_DK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hent og vis pollental | Smart Home Guide\" \/>\n<meta property=\"og:description\" content=\"Se hvordan du hente dagens pollental i Home Assistant og bruge dem i automatiseringer eller vise dem p\u00e5 dit dashboard.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/\" \/>\n<meta property=\"og:site_name\" content=\"Smart Home Guide\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-25T15:15:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2.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=\"13 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\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/\"},\"author\":{\"name\":\"Anders\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#\\\/schema\\\/person\\\/8ed18dab401a0784e593ce6345252498\"},\"headline\":\"Hent og vis pollental\",\"datePublished\":\"2023-04-25T15:15:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/\"},\"wordCount\":742,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-2.png\",\"articleSection\":[\"Automatisering\",\"Dashboard\",\"Integrationer\"],\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/\",\"url\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/\",\"name\":\"Hent og vis pollental | Smart Home Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-2.png\",\"datePublished\":\"2023-04-25T15:15:00+00:00\",\"description\":\"Se hvordan du hente dagens pollental i Home Assistant og bruge dem i automatiseringer eller vise dem p\u00e5 dit dashboard.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/#breadcrumb\"},\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/#primaryimage\",\"url\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-2.png\",\"contentUrl\":\"https:\\\/\\\/smart-home-guide.dk\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-2.png\",\"width\":1500,\"height\":845},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/smart-home-guide.dk\\\/index.php\\\/2023\\\/04\\\/25\\\/hent-og-vis-pollental\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hjem\",\"item\":\"https:\\\/\\\/smart-home-guide.dk\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hent og vis pollental\"}]},{\"@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":"Hent og vis pollental | Smart Home Guide","description":"Se hvordan du hente dagens pollental i Home Assistant og bruge dem i automatiseringer eller vise dem p\u00e5 dit 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\/2023\/04\/25\/hent-og-vis-pollental\/","og_locale":"da_DK","og_type":"article","og_title":"Hent og vis pollental | Smart Home Guide","og_description":"Se hvordan du hente dagens pollental i Home Assistant og bruge dem i automatiseringer eller vise dem p\u00e5 dit dashboard.","og_url":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/","og_site_name":"Smart Home Guide","article_published_time":"2023-04-25T15:15:00+00:00","og_image":[{"width":1500,"height":845,"url":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2.png","type":"image\/png"}],"author":"Anders","twitter_card":"summary_large_image","twitter_misc":{"Skrevet af":"Anders","Estimeret l\u00e6setid":"13 minutter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/#article","isPartOf":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/"},"author":{"name":"Anders","@id":"https:\/\/smart-home-guide.dk\/#\/schema\/person\/8ed18dab401a0784e593ce6345252498"},"headline":"Hent og vis pollental","datePublished":"2023-04-25T15:15:00+00:00","mainEntityOfPage":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/"},"wordCount":742,"commentCount":3,"publisher":{"@id":"https:\/\/smart-home-guide.dk\/#organization"},"image":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/#primaryimage"},"thumbnailUrl":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2.png","articleSection":["Automatisering","Dashboard","Integrationer"],"inLanguage":"da-DK","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/","url":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/","name":"Hent og vis pollental | Smart Home Guide","isPartOf":{"@id":"https:\/\/smart-home-guide.dk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/#primaryimage"},"image":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/#primaryimage"},"thumbnailUrl":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2.png","datePublished":"2023-04-25T15:15:00+00:00","description":"Se hvordan du hente dagens pollental i Home Assistant og bruge dem i automatiseringer eller vise dem p\u00e5 dit dashboard.","breadcrumb":{"@id":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/#breadcrumb"},"inLanguage":"da-DK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/"]}]},{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/#primaryimage","url":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2.png","contentUrl":"https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2.png","width":1500,"height":845},{"@type":"BreadcrumbList","@id":"https:\/\/smart-home-guide.dk\/index.php\/2023\/04\/25\/hent-og-vis-pollental\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hjem","item":"https:\/\/smart-home-guide.dk\/"},{"@type":"ListItem","position":2,"name":"Hent og vis pollental"}]},{"@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\/2023\/04\/image-2.png",1500,845,false],"thumbnail":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2-150x150.png",150,150,true],"medium":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2-300x169.png",300,169,true],"medium_large":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2-768x433.png",768,433,true],"large":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2-1024x577.png",800,451,true],"1536x1536":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2.png",1500,845,false],"2048x2048":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2.png",1500,845,false],"colormag-highlighted-post":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2-392x272.png",392,272,true],"colormag-featured-post-medium":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2-390x205.png",390,205,true],"colormag-featured-post-small":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2-130x90.png",130,90,true],"colormag-featured-image":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2-800x445.png",800,445,true],"colormag-default-news":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2.png",150,85,false],"colormag-featured-image-large":["https:\/\/smart-home-guide.dk\/wp-content\/uploads\/2023\/04\/image-2.png",1065,600,false]},"uagb_author_info":{"display_name":"Anders","author_link":"https:\/\/smart-home-guide.dk\/index.php\/author\/anders\/"},"uagb_comment_info":6,"uagb_excerpt":"Se hvordan du hente dagens pollental i Home Assistant og bruge dem i automatiseringer eller vise dem p&aring; dit dashboard.","_links":{"self":[{"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/posts\/3280","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=3280"}],"version-history":[{"count":40,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/posts\/3280\/revisions"}],"predecessor-version":[{"id":3365,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/posts\/3280\/revisions\/3365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/media\/3290"}],"wp:attachment":[{"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/media?parent=3280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/categories?post=3280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smart-home-guide.dk\/index.php\/wp-json\/wp\/v2\/tags?post=3280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}