{"id":1921,"date":"2013-09-17T19:39:28","date_gmt":"2013-09-17T17:39:28","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=1921"},"modified":"2021-11-22T17:16:03","modified_gmt":"2021-11-22T16:16:03","slug":"wie-koennen-in-fhem-web-unterschiedliche-icons-angezeigt-werden-fuer-eine-offene-und-geschlossene-tuer","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=1921","title":{"rendered":"Wie k\u00f6nnen in Fhem Web unterschiedliche Icons angezeigt werden f\u00fcr eine offene und geschlossene T\u00fcr?"},"content":{"rendered":"<p>Um unterschiedliche Icons f\u00fcr den T\u00fcrzustand anzuzeigen muss das Attribut devStateIcon wie folgt erg\u00e4nzt werden.<\/p>\n<p><figure id=\"attachment_1920\" aria-describedby=\"caption-attachment-1920\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.28.30.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.28.30-1024x124.png\" alt=\"T\u00fcr State\" width=\"640\" height=\"77\" class=\"size-large wp-image-1920\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.28.30-1024x124.png 1024w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.28.30-300x36.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.28.30.png 1067w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-1920\" class=\"wp-caption-text\">T\u00fcr State<\/figcaption><\/figure><br \/>\nF\u00fcr T\u00fcr offen sieht es dann so aus:<br \/>\n<figure id=\"attachment_1919\" aria-describedby=\"caption-attachment-1919\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.27.59.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.27.59-1024x102.png\" alt=\"T\u00fcr offen\" width=\"640\" height=\"63\" class=\"size-large wp-image-1919\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.27.59-1024x102.png 1024w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.27.59-300x30.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.27.59.png 1048w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-1919\" class=\"wp-caption-text\">T\u00fcr offen<\/figcaption><\/figure><br \/>\nUnd f\u00fcr eine geschlossene T\u00fcr:<br \/>\n<figure id=\"attachment_1918\" aria-describedby=\"caption-attachment-1918\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.27.34.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.27.34-1024x109.png\" alt=\"T\u00fcr zu\" width=\"640\" height=\"68\" class=\"size-large wp-image-1918\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.27.34-1024x109.png 1024w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.27.34-300x32.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2013\/09\/Bildschirmfoto-2013-09-17-um-19.27.34.png 1066w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-1918\" class=\"wp-caption-text\">T\u00fcr zu<\/figcaption><\/figure><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Um unterschiedliche Icons f\u00fcr den T\u00fcrzustand anzuzeigen muss das Attribut devStateIcon wie folgt erg\u00e4nzt werden. F\u00fcr T\u00fcr offen sieht es dann so aus: Und f\u00fcr eine geschlossene T\u00fcr:<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[852,695],"tags":[925,693,41,922,923,880,924],"class_list":["post-1921","post","type-post","status-publish","format-standard","hentry","category-heimautomatisierung","category-tp-wr703n","tag-devstateicon","tag-fhem","tag-icon","tag-offen","tag-status","tag-tuer","tag-tuerstatus"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/1921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1921"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/1921\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1921"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}