{"id":3759,"date":"2023-04-22T08:23:37","date_gmt":"2023-04-22T06:23:37","guid":{"rendered":"https:\/\/www.sigalou-domotique.fr\/?p=3759"},"modified":"2026-01-02T17:02:20","modified_gmt":"2026-01-02T15:02:20","slug":"creer-une-tuile-dediee-aux-piles-des-capteurs","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/de\/creer-une-tuile-dediee-aux-piles-des-capteurs","title":{"rendered":"Erstellen Sie eine spezielle Fliese f\u00fcr Sensorbatterien"},"content":{"rendered":"<p><!--more--><\/p>\r\n<p>Mein Ziel war es,<\/p>\r\n<ul>\r\n<li>dass die Fliese selbst aktualisiert wird (z. B. durch Hinzuf\u00fcgen neuer Sensoren)<\/li>\r\n<li>Ignorieren Sie Sensoren, die nicht batteriebetrieben sind oder bei 100 blockiert bleiben%<\/li>\r\n<li>Einen recht verst\u00e4ndlichen Sensornamen haben<\/li>\r\n<li>Haben Sie Farben, damit schwache oder tote Batterien leicht identifiziert werden k\u00f6nnen<\/li>\r\n<li>Batterien in der Reihenfolge \"Erm\u00fcdung\" sortieren<\/li>\r\n<\/ul>\r\n<h3>Kode der Fliese<\/h3>\r\n<pre><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3771\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/code.png\" alt=\"\" width=\"481\" height=\"322\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/code.png 481w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/code-300x201.png 300w\" sizes=\"auto, (max-width: 481px) 100vw, 481px\" \/><br \/>Typ: custom:auto-entities<br \/>Card:<br \/> Typ: entities<br \/> title: Kontrolle der Batterien<br \/> state_color:<br \/>  Gr\u00fcn: '#00FF00'<br \/>  yellow: '#FFFF00'<br \/>  red: '#FF0000'<br \/>filter:<br \/> include:<br \/>  - entity_id: '*_battery'<br \/>    state: &lt;100<br \/>Schicksal:<br \/> Methode: state<\/pre>\r\n\r\n\r\n\r\n<p>Bei Fehler \u201eCustom element doesn\u2019t exist: auto-entities\", denken Sie daran, auto-entities in HACS zu installieren<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-3956\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/autoentities.png\" alt=\"\" width=\"333\" height=\"227\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/autoentities.png 709w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/autoentities-600x410.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/04\/autoentities-300x205.png 300w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":3760,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,53,166],"tags":[96],"class_list":["post-3759","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotique","category-home-assistant","category-retex","tag-batterie"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/3759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/comments?post=3759"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/3759\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media\/3760"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media?parent=3759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/categories?post=3759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/tags?post=3759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}