{"id":395,"date":"2023-07-24T14:14:10","date_gmt":"2023-07-24T06:14:10","guid":{"rendered":"http:\/\/blog.naspro.cc\/?p=395"},"modified":"2023-07-24T14:14:10","modified_gmt":"2023-07-24T06:14:10","slug":"hacs%e6%8f%92%e4%bb%b6%e7%9a%84%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"http:\/\/blog.naspro.cc\/?p=395","title":{"rendered":"HACS\u63d2\u4ef6\u7684\u5b89\u88c5"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-flat ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/blog.naspro.cc\/?p=395\/#1%e6%89%93%e5%bc%80%e7%b3%bb%e7%bb%9f%e9%ab%98%e7%ba%a7%e6%a8%a1%e5%bc%8f\" title=\"1.\u6253\u5f00\u7cfb\u7edf\u9ad8\u7ea7\u6a21\u5f0f\">1.\u6253\u5f00\u7cfb\u7edf\u9ad8\u7ea7\u6a21\u5f0f<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/blog.naspro.cc\/?p=395\/#2%e5%9c%a8%e7%ba%bf%e5%ae%89%e8%a3%85%e6%96%b9%e6%b3%95\" title=\"2.\u5728\u7ebf\u5b89\u88c5\u65b9\u6cd5\">2.\u5728\u7ebf\u5b89\u88c5\u65b9\u6cd5<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/blog.naspro.cc\/?p=395\/#3%e7%a6%bb%e7%ba%bf%e5%ae%89%e8%a3%85%e6%96%b9%e6%b3%95\" title=\"3.\u79bb\u7ebf\u5b89\u88c5\u65b9\u6cd5\">3.\u79bb\u7ebf\u5b89\u88c5\u65b9\u6cd5<\/a><\/li><\/ul><\/nav><\/div>\n<h4><span class=\"ez-toc-section\" id=\"1%e6%89%93%e5%bc%80%e7%b3%bb%e7%bb%9f%e9%ab%98%e7%ba%a7%e6%a8%a1%e5%bc%8f\"><\/span>1.\u6253\u5f00\u7cfb\u7edf\u9ad8\u7ea7\u6a21\u5f0f<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690177239743.png\" alt=\"file\" \/><\/p>\n<h4><span class=\"ez-toc-section\" id=\"2%e5%9c%a8%e7%ba%bf%e5%ae%89%e8%a3%85%e6%96%b9%e6%b3%95\"><\/span>2.\u5728\u7ebf\u5b89\u88c5\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u5728SSH\u91cc\u9762\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff0c\u4f46\u662f\u6709\u53ef\u80fd\u56e0\u4e3a\u7f51\u7edc\u95ee\u9898\u65e0\u6cd5\u5b89\u88c5\u6210\u529f <\/p>\n<pre class=\"prettyprint linenums\" ><code>wget -O - https:\/\/get.hacs.xyz | bash -<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690177916130.png\" alt=\"file\" \/>.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"3%e7%a6%bb%e7%ba%bf%e5%ae%89%e8%a3%85%e6%96%b9%e6%b3%95\"><\/span>3.\u79bb\u7ebf\u5b89\u88c5\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>GitHub\u4e0b\u8f7d\u5730\u5740\uff1a<br \/>\n<a href=\"https:\/\/github.com\/hacs\/integration\">https:\/\/github.com\/hacs\/integration<\/a><br \/>\n\u4e0b\u8f7d\u6700\u65b0\u7684HACS\u7cfb\u7edf\u89e3\u538b\u7f29<br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690178377199.png\" alt=\"file\" \/><br \/>\n\u70b9\u51fb\u4e0a\u4f20\u6587\u4ef6\u5939\uff0c\u628ahacs\u6574\u4e2a\u6587\u4ef6\u5939\u4e0a\u4f20<br \/>\n\u8fdb\u5165config\u76ee\u5f55<br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690178497988.png\" alt=\"file\" \/><br \/>\n\u5728 Filebrowser \u8fdb\u5165 config \u76ee\u5f55\u4e0b\u65b0\u5efacustom_components\u6587\u4ef6\u5939<br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690178707190.png\" alt=\"file\" \/><br \/>\n\u628ahacs\u6574\u4e2a\u6587\u4ef6\u5939\u4e0a\u4f20\u5230 custom_components \u76ee\u5f55\u4e2d<br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690178567509.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690178592764.png\" alt=\"file\" \/><br \/>\n\u590d\u5236\u5b8c\u4e86\u91cd\u542f<br \/>\n\u5728 \u914d\u7f6e \u8bbe\u5907\u4e0e\u670d\u52a1 \u6dfb\u52a0\u96c6\u6210 \u641c\u7d22HACS<br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690179113751.png\" alt=\"file\" \/><br \/>\n\u5bf9\u8bdd\u6846\u5168\u90e8\u52fe\u9009<br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690179130783.png\" alt=\"file\" \/><br \/>\n\u5f39\u51fa\u7684GITHUB\u7f51\u7ad9\u4e2d\u9a8c\u8bc1\u4e00\u4e0b\u6388\u6743 \u5373\u53ef<br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690179187948.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690179199335.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2023\/07\/image-1690179214460.png\" alt=\"file\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u6253\u5f00\u7cfb\u7edf\u9ad8\u7ea7\u6a21\u5f0f 2.\u5728\u7ebf\u5b89\u88c5\u65b9\u6cd5 \u5728SSH\u91cc\u9762\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff0c\u4f46\u662f\u6709\u53ef\u80fd\u56e0\u4e3a\u7f51\u7edc\u95ee\u9898\u65e0\u6cd5\u5b89\u88c5\u6210\u529f wget -O &#8211; https:\/\/get.hacs.xyz | bash &#8211; . 3.\u79bb\u7ebf\u5b89\u88c5\u65b9\u6cd5 GitHub\u4e0b\u8f7d\u5730\u5740\uff1a https:\/\/github.com\/hacs\/integration \u4e0b\u8f7d\u6700\u65b0\u7684HACS\u7cfb\u7edf\u89e3\u538b\u7f29 \u70b9\u51fb\u4e0a\u4f20\u6587\u4ef6\u5939\uff0c\u628ahacs\u6574\u4e2a\u6587\u4ef6\u5939\u4e0a\u4f20 \u8fdb\u5165config\u76ee\u5f55 \u5728 F [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":396,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,3],"tags":[],"class_list":["post-395","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-home-assistant","category-internet"],"_links":{"self":[{"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/posts\/395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=395"}],"version-history":[{"count":0,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/posts\/395\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/media\/396"}],"wp:attachment":[{"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}