{"id":262,"date":"2019-10-24T15:51:37","date_gmt":"2019-10-24T15:51:37","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/plugin-jeedom-en-version-stable-ou-en-version-beta"},"modified":"2024-04-21T13:18:13","modified_gmt":"2024-04-21T11:18:13","slug":"plugin-jeedom-en-version-stable-ou-en-version-beta","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/de\/plugin-jeedom-en-version-stable-ou-en-version-beta","title":{"rendered":"Jeedom Plugin in stabiler oder Beta-Version"},"content":{"rendered":"<p>Manchmal ist es hilfreich zu wissen, ob das Plugin in der stabilen Version oder in der Beta-Version ist.<\/p>\n<p>Ich mache diesen Unterschied, um bestimmte Funktionen in der stabilen Version zu deaktivieren, solange sie nicht in Beta validiert sind.<\/p>\n<p>Hier ist der Code, der die Informationen gibt:<\/p>\n<p><code>$update = update::byLogicalId('alexaapi');<\/code><br \/>\n<code> $return = utils::o2a($update);<\/code><br \/>\n<code> echo $return['configuration']['version'];<\/code><\/p>","protected":false},"excerpt":{"rendered":"<p>Manchmal ist es hilfreich zu wissen, ob das Plugin in der stabilen Version oder in der Beta-Version ist. Ich mache diesen Unterschied, um bestimmte Funktionen in der stabilen Version zu deaktivieren, solange sie nicht in Beta validiert sind. Hier ist der Code, der die Informationen enth\u00e4lt: $update = update::byLogicalId(\u201aalexaapi\u2018); $return = utils::o2a($update); echo $return[\u201aconfiguration\u2018][\u201aversion\u2018];<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,23],"tags":[],"class_list":["post-262","post","type-post","status-publish","format-standard","hentry","category-domotique","category-jeedom-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/262","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=262"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/262\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media?parent=262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/categories?post=262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/tags?post=262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}