[{"data":1,"prerenderedAt":3152,"buildId":3153},["ShallowReactive",2],{"$frh4y29kg23n2":3,"docs-items-zh-Hans":9,"spook-counts":1193,"zh-Hans:\u002Fglossary":1712,"zh-Hans:modified:06.reference\u002F05.glossary":13},{"installations":4,"stars":5,"release":6},31252,1850,{"version":7,"date":8},"v5.12.0","2026-11-26T16:39:45Z",[10,17,30,43,54,59,72,82,93,98,109,120,131,141,152,163,173,184,196,206,217,222,234,253,267,338,348,358,368,415,429,439,449,459,471,515,529,539,549,559,569,580,590,600,610,620,634,644,658,680,694,704,716,728,738,776,786,796,808,824,834,844,856,868,878,888,898,903,914,924,934,944,949,962,974,987,998,1009,1019,1024,1036,1048,1060,1071,1083,1095,1105,1110,1120,1130,1142,1147,1157,1169,1181],{"path":11,"title":12,"description":13,"stem":14,"navigation":15,"meta":16},"\u002Fgetting-started\u002F.navigation","Getting started 🚀",null,"01.getting-started\u002F.navigation",true,{},{"path":18,"title":19,"description":20,"stem":21,"navigation":22,"meta":24},"\u002Finstallation","在 Home Assistant 中安装 Spook","几分钟就能在 Home Assistant 中装好 Spook，从 Marketplace 或 HACS 安装，全部在 Home Assistant 界面中完成。一步一步来。","01.getting-started\u002F02.installation",{"title":23},"安装",{"subtitle":25,"offers":26,"counts":27,"repairs":28,"sections":29},"Don't worry, we'll go through it step-by-step.",[],{},[],3,{"path":31,"title":32,"description":33,"stem":34,"navigation":35,"meta":37},"\u002Fusage","你和 Spook 的头十分钟","装好 Spook 之后的一个简短导览。看看它在你的 Home Assistant 里发现了什么问题，试试你的第一个新动作，再找到它添加的实体。","01.getting-started\u002F03.usage",{"title":36},"头十分钟",{"subtitle":38,"offers":39,"counts":40,"repairs":41,"sections":42},"Spook is oddly familiar.",[],{},[],4,{"path":44,"title":45,"description":46,"stem":47,"navigation":15,"meta":48},"\u002Fsupport","支持","Spook 不受 Home Assistant 项目支持，但能找到帮助的地方有很多。这个页面告诉你该去哪里。","01.getting-started\u002F05.support",{"subtitle":49,"offers":50,"counts":51,"repairs":52,"sections":53},"Getting directions in this rollercoaster theme park. 🎢",[],{},[],6,{"path":55,"title":56,"description":13,"stem":57,"navigation":15,"meta":58},"\u002Ffeatures\u002F.navigation","More features","02.features\u002F.navigation",{},{"path":60,"title":61,"description":62,"stem":63,"navigation":64,"meta":66},"\u002Fdocs","Spook 添加的一切","Spook 为 Home Assistant 添加的一切，按所在位置分类。选一个部分看，或者按名称查找动作、触发条件、条件或修复。","02.features\u002F00.docs",{"title":65},"概览",{"subtitle":67,"offers":68,"counts":69,"repairs":70,"sections":71},"You want to know what Spook can do for you? 🧪",[],{},[],0,{"path":73,"title":74,"description":75,"stem":76,"navigation":15,"meta":77},"\u002Fassistants","AI 助手","让 AI 助手问 Spook 你家里哪里出了问题、某样东西在哪里被用到，以及草稿自动化里有没有引用不存在的东西。仅限管理员，绝不经过语音助手。","02.features\u002F01.assistants",{"subtitle":78,"offers":79,"counts":80,"repairs":81,"sections":29},"Ghost hunting, now with a sidekick. 🤖",[],{},[],{"path":83,"title":84,"description":85,"stem":86,"navigation":15,"meta":87},"\u002Fother-features","其他功能","Spook 为 Home Assistant 提供的、不属于任何单个集成的触发条件、条件和动作。Cron 计划、看门狗、冷却时间等等。","02.features\u002F02.other-features",{"subtitle":88,"offers":89,"counts":91,"repairs":92,"sections":29},"Home of the useless, the fun, and the surprisingly handy. 🤡",[90],"actions",{"actions":29},[],{"path":94,"title":95,"description":13,"stem":96,"navigation":15,"meta":97},"\u002Fcore-extensions\u002F.navigation","Core extensions","03.core-extensions\u002F.navigation",{},{"path":99,"title":100,"description":101,"stem":102,"navigation":103,"meta":104},"\u002Fcore-extensions","核心扩展","Spook 为 Home Assistant 添加了动作，让你可以在自动化和脚本中管理集成、标签、类别、楼层、区域、设备、实体和用户。","03.core-extensions\u002F00.core-extensions",{"title":65},{"subtitle":105,"offers":106,"counts":107,"repairs":108,"sections":71},"It is like the turbo cartridge for your Commodore 64 🕹️",[],{},[],{"path":110,"title":111,"description":112,"stem":113,"navigation":15,"meta":114},"\u002Fintegrations","集成管理","Spook 为 Home Assistant 添加了启用和禁用集成、停止和开始轮询更新，以及忽略 Home Assistant 发现的所有东西的动作。","03.core-extensions\u002F01.integrations",{"subtitle":115,"offers":116,"counts":117,"repairs":119,"sections":29},"Integrate all the things! 🎉",[90],{"actions":118},5,[],{"path":121,"title":122,"description":123,"stem":124,"navigation":15,"meta":125},"\u002Flabels","标签管理","Spook 为 Home Assistant 添加了创建、更新和删除标签，以及给区域、设备和实体贴上或取下标签的动作，全都可以在你自己的自动化和脚本里完成。","03.core-extensions\u002F02.labels",{"subtitle":126,"offers":127,"counts":128,"repairs":130,"sections":29},"If you liked it then you should have put a label on it 🏷️",[90],{"actions":129},9,[],{"path":132,"title":133,"description":134,"stem":135,"navigation":15,"meta":136},"\u002Fcategories","类别管理","Spook 为 Home Assistant 添加的动作可以创建、更新和删除类别，并把自动化、脚本、场景和辅助元素归入类别，全部在你自己的自动化和脚本中完成。","03.core-extensions\u002F03.categories",{"subtitle":137,"offers":138,"counts":139,"repairs":140,"sections":29},"A place for everything, and everything in its place 🗂️",[90],{"actions":118},[],{"path":142,"title":143,"description":144,"stem":145,"navigation":15,"meta":146},"\u002Ffloors","楼层管理","Spook 添加了动作，让你可以在自动化和脚本中创建、修改和删除 Home Assistant 的楼层，并管理它们的别名和区域。","03.core-extensions\u002F04.floors",{"subtitle":147,"offers":148,"counts":149,"repairs":151,"sections":29},"Floors brings Home Assistant to a whole new level 🤪",[90],{"actions":150},8,[],{"path":153,"title":154,"description":155,"stem":156,"navigation":15,"meta":157},"\u002Fareas","区域管理","Spook 添加了在 Home Assistant 中创建、修改和删除区域，以及把设备和实体移入或移出区域的动作，直接在自动化和脚本里完成。","03.core-extensions\u002F05.areas",{"subtitle":158,"offers":159,"counts":160,"repairs":162,"sections":29},"Is there room for one more?",[90],{"actions":161},10,[],{"path":164,"title":165,"description":166,"stem":167,"navigation":15,"meta":168},"\u002Fdevices","设备管理","Spook 添加的动作可以在自动化和脚本中禁用、启用和更新 Home Assistant 中的设备。","03.core-extensions\u002F06.devices",{"subtitle":169,"offers":170,"counts":171,"repairs":172,"sections":29},"Which devices are you rocking? 🎸",[90],{"actions":29},[],{"path":174,"title":175,"description":176,"stem":177,"navigation":15,"meta":178},"\u002Fentities","实体管理","Spook 添加了动作，让你可以在自动化和脚本中管理 Home Assistant 的实体。禁用、隐藏、重命名、公开，设置图标和别名，以及清理孤立实体。","03.core-extensions\u002F07.entities",{"subtitle":179,"offers":180,"counts":181,"repairs":183,"sections":29},"Everything is an entity, and entities are everything 🪄",[90],{"actions":182},14,[],{"path":185,"title":186,"description":187,"stem":188,"navigation":15,"meta":189},"\u002Fdevices-entities","设备与实体","Spook 添加一个 Home Assistant 设备，带有重新加载和重启的按钮，以及统计你的实体、辅助元素、自动化、设备、集成等数量的传感器。","03.core-extensions\u002F08.devices-entities",{"subtitle":190,"offers":191,"counts":193,"repairs":195,"sections":29},"Can I haz more devices and entities? 😁",[192],"entities",{"entities":194},2,[],{"path":197,"title":198,"description":199,"stem":200,"navigation":15,"meta":201},"\u002Fusers","用户管理","Spook 添加了动作，让你可以在自动化和脚本中禁用和启用 Home Assistant 的用户账户。","03.core-extensions\u002F09.users",{"subtitle":202,"offers":203,"counts":204,"repairs":205,"sections":29},"Who's in your home? 👤",[90],{"actions":194},[],{"path":207,"title":208,"description":209,"stem":210,"navigation":15,"meta":211},"\u002Fmisc","其他","Spook 为 Home Assistant 的重启动作扩展了一个强制选项，用在正常重启行不通的时候。","03.core-extensions\u002F10.misc",{"subtitle":212,"offers":213,"counts":214,"repairs":216,"sections":29},"Oh, there is some more stuff here. 🦄",[90],{"actions":215},1,[],{"path":218,"title":219,"description":13,"stem":220,"navigation":15,"meta":221},"\u002Fenhanced-integrations\u002F.navigation","Integrations","04.enhanced-integrations\u002F.navigation",{},{"path":223,"title":224,"description":225,"stem":226,"navigation":227,"meta":229},"\u002Fenhanced-integrations","增强的集成","Spook 增强的每一个 Home Assistant 集成，以及它为每个集成带来的修复、动作和实体。找到你的集成，看看 Spook 加了什么。","04.enhanced-integrations\u002F00.enhanced-integrations",{"title":228},"所有集成",{"subtitle":230,"offers":231,"counts":232,"repairs":233,"sections":71},"A little bit of ectoplasm goes a long way. 🧪",[],{},[],{"path":235,"title":236,"description":237,"stem":238,"navigation":15,"meta":239},"\u002Falert","警报","警报因为不该有的原因安静下来时，Spook 会告诉你，比如它监视的实体已经不存在，或者它通过 Home Assistant 没有的动作发通知。","04.enhanced-integrations\u002F01.alert",{"subtitle":240,"offers":241,"counts":243,"repairs":244,"sections":194},"An alarm nobody hears is just furniture.",[242],"repairs",{"repairs":194},[245,249],{"id":246,"title":247,"summary":248},"unknown-watched-entity","Unknown watched entity","An alert watches an entity that no longer exists, usually because it was renamed or removed. The alert can never fire again, and it looks exactly like an alert with nothing to report.",{"id":250,"title":251,"summary":252},"unknown-notifiers","Unknown notifiers","An alert sends its notifications through an action Home Assistant does not have. The alert still fires, repeats and can be acknowledged, but the notification goes nowhere.",{"path":254,"title":255,"description":256,"stem":257,"navigation":15,"meta":258},"\u002Fassist-pipeline","Assist 管道","语音助手用到的对话代理，或者语音、发声、唤醒词引擎已经不存在时，Spook 会告诉你。","04.enhanced-integrations\u002F02.assist-pipeline",{"subtitle":259,"offers":260,"counts":261,"repairs":262,"sections":194},"Nobody home at the other end of the line.",[242],{"repairs":215},[263],{"id":264,"title":265,"summary":266},"unknown-engines","Unknown engines","A voice assistant uses a conversation agent, or a speech-to-text, text-to-speech or wake word engine, that no longer exists. Usually because the integration behind it was removed. The next voice command fails with an error about a missing provider or agent. Until then, you get no warning.",{"path":268,"title":269,"description":270,"stem":271,"navigation":15,"meta":272},"\u002Fautomation","自动化","自动化用到了已经不存在的东西，比如实体、区域或动作时，Spook 会告诉你，它还添加了让自动化打盹或暂时保持启用的动作。","04.enhanced-integrations\u002F03.automation",{"subtitle":273,"offers":274,"counts":275,"repairs":277,"sections":194},"The breathing (mechanical) heart of Home Assistant.",[90,242],{"actions":194,"repairs":276},15,[278,282,286,290,294,298,302,306,310,314,318,322,326,330,334],{"id":279,"title":280,"summary":281},"unknown-referenced-areas","Unknown referenced areas","An automation targets an area that no longer exists, usually because the area was removed or merged into another. The step that uses it does nothing.",{"id":283,"title":284,"summary":285},"unknown-referenced-attributes","Unknown referenced attributes","An automation waits for, or checks, an attribute its entity does not have, like brightness on a plain switch. An attribute is an extra detail an entity carries next to its state. A trigger like that never fires, and you get no error.",{"id":287,"title":288,"summary":289},"unknown-referenced-states","Unknown referenced states","An automation waits for a state its entity is never in, like On for a light that is on or off. A trigger like that never fires, and you get no error.",{"id":291,"title":292,"summary":293},"unknown-referenced-devices","Unknown referenced devices","An automation uses a device that no longer exists, usually because it was removed or replaced. Triggers, conditions and actions that use it no longer work.",{"id":295,"title":296,"summary":297},"unknown-referenced-integration-entries","Unknown referenced integration entries","An action in an automation points at an integration entry that no longer exists: one setup of an integration, like your Hue bridge. This usually happens after you removed an integration and added it again: it looks the same, but the action still points at the old one, and fails when it runs.",{"id":299,"title":300,"summary":301},"unknown-referenced-entities","Unknown referenced entities","An automation uses an entity that no longer exists, usually because it was renamed, replaced or removed. The step that uses it does nothing.",{"id":303,"title":304,"summary":305},"unknown-referenced-actions","Unknown referenced actions","An automation uses an action that does not exist, usually because the integration that provided it was removed. The step fails when it runs.",{"id":307,"title":308,"summary":309},"unknown-icons","Unknown icons","An automation hands out an icon that Home Assistant does not have, usually because of a typo or a renamed icon. Whatever it sets shows an empty spot where the icon should be.",{"id":311,"title":312,"summary":313},"unknown-referenced-floors","Unknown referenced floors","An automation targets a floor that no longer exists. The step that uses it does nothing.",{"id":315,"title":316,"summary":317},"unknown-referenced-labels","Unknown referenced labels","An automation targets a label that no longer exists. The step that uses it does nothing.",{"id":319,"title":320,"summary":321},"unknown-referenced-conditions","Unknown referenced conditions","An automation uses a condition that no integration provides anymore, usually because that integration was removed. The whole automation stops working. Home Assistant tells you the automation is broken; Spook tells you which condition did it.",{"id":323,"title":324,"summary":325},"unknown-referenced-triggers","Unknown referenced triggers","An automation uses a trigger that no integration provides anymore, usually because that integration was removed. The whole automation stops working. Home Assistant tells you the automation is broken; Spook tells you which trigger did it.",{"id":327,"title":328,"summary":329},"unknown-referenced-trigger-ids","Unknown referenced trigger IDs","An automation checks which trigger started it, using a trigger ID none of its triggers has. That check never passes, so whatever comes after it never runs. It usually happens when a trigger was renamed or removed, or the ID has a typo.",{"id":331,"title":332,"summary":333},"templates-that-can-never-pass","Templates that can never pass","An automation has a template that, the way it is written, can never be true. A template is a small piece of code between {{ }} that works out a value. Its condition always fails, its trigger never fires, or its wait only ends on a timeout. You get no error.",{"id":335,"title":336,"summary":337},"removed-users","Removed users","An automation only reacts to a certain user, and that user was removed. A trigger waiting for them never fires again.",{"path":339,"title":340,"description":341,"stem":342,"navigation":15,"meta":343},"\u002Fblueprint","蓝图","当你导入的蓝图被作者改了，Spook 会告诉你，让你像安装其他更新一样安装这个改动，还添加了一个从 URL 导入蓝图的动作。","04.enhanced-integrations\u002F04.blueprint",{"subtitle":344,"offers":345,"counts":346,"repairs":347,"sections":29},"Don't be a blueprint. Be an original.",[192,90],{"entities":215,"actions":215},[],{"path":349,"title":350,"description":351,"stem":352,"navigation":15,"meta":353},"\u002Fcalendar","日历","Spook 添加的动作可以在自动化中修改和删除日历事件，按标题找到它们。","04.enhanced-integrations\u002F05.calendar",{"subtitle":354,"offers":355,"counts":356,"repairs":357,"sections":215},"What goes in, must come out. 📅",[90],{"actions":194},[],{"path":359,"title":360,"description":361,"stem":362,"navigation":15,"meta":363},"\u002Fclimate","空调","Spook 添加了把恒温器调高或调低一档的动作，对既制热又制冷的恒温器，两个设定值一起调。","04.enhanced-integrations\u002F06.climate",{"subtitle":364,"offers":365,"counts":366,"repairs":367,"sections":215},"A little warmer, please. 🌡️",[90],{"actions":194},[],{"path":369,"title":370,"description":371,"stem":372,"navigation":15,"meta":373},"\u002Flovelace","仪表盘","当你仪表盘上的卡片用到了不存在的实体、区域、动作、视图、图标、主题或资源时，Spook 会告诉你。","04.enhanced-integrations\u002F07.lovelace",{"subtitle":374,"offers":375,"counts":376,"repairs":378,"sections":215},"There is more than meets the eye. 🤩",[242],{"repairs":377},12,[379,381,383,385,387,391,395,397,399,403,407,411],{"id":299,"title":300,"summary":380},"A card on a dashboard uses an entity that no longer exists, usually because it was renamed, replaced or removed. The card shows an error, or a row that says the entity is not available.",{"id":279,"title":280,"summary":382},"A dashboard uses an area that no longer exists, usually because the area was renamed, merged or removed. Whatever uses it no longer shows what you meant.",{"id":283,"title":284,"summary":384},"A card shows, or a condition checks, an attribute its entity does not have, like brightness on a plain switch. An attribute is an extra detail an entity carries next to its state. The card stays empty or the condition never passes, and you get no error.",{"id":287,"title":288,"summary":386},"A card is set to show or hide on a state its entity is never in, like On for a light that is on or off. That condition never passes, so the card never shows (or never hides).",{"id":388,"title":389,"summary":390},"unknown-actions","Unknown actions","A button or card on a dashboard performs an action that does not exist, usually because a script was renamed or removed, or the integration behind it is gone. Tapping it does nothing, and says nothing either.",{"id":392,"title":393,"summary":394},"unknown-views","Unknown views","A button or card navigates to a view that does not exist. Tapping it opens the first view of that dashboard instead, which looks like the button is broken.",{"id":307,"title":308,"summary":396},"A dashboard uses an icon that Home Assistant does not have, usually because of a typo or a renamed icon. The card, badge or view shows an empty spot where the icon should be.",{"id":335,"title":336,"summary":398},"A card, badge, section or view is only shown to certain users, and one of those users was removed. If it was only shown to removed users, nobody sees it anymore.",{"id":400,"title":401,"summary":402},"unknown-themes","Unknown themes","A card, section or view asks for a theme that does not exist, usually because the theme was renamed or its file removed. It gets the default look instead, without an error.",{"id":404,"title":405,"summary":406},"missing-dashboard-resources","Missing dashboard resources","A dashboard resource points at a file that is not there, usually because a custom card was removed but its resource stayed behind. Every browser tries to load that file, on every page load, and it never arrives.",{"id":408,"title":409,"summary":410},"duplicate-dashboard-resources","Duplicate dashboard resources","The same dashboard resource is listed more than once, usually after updating a custom card. The browser loads both copies, the card trips over itself, and you see a broken card.",{"id":412,"title":413,"summary":414},"public-files-in-the-www-folder","Public files in the www folder","Home Assistant serves everything in the www folder of your configuration at \u002Flocal\u002F, without a login. That is on purpose: browsers load custom cards and dashboard images from it with a plain link, and a plain link cannot carry a login. It also means anybody who can reach your Home Assistant can download what is in there, if they know or can guess the name of the file.",{"path":416,"title":417,"description":418,"stem":419,"navigation":15,"meta":420},"\u002Fgroup","群组","Spook 添加的动作可以在自动化中修改群组的成员，群组里有已经不存在的成员时，它也会告诉你。","04.enhanced-integrations\u002F08.group",{"subtitle":421,"offers":422,"counts":423,"repairs":424,"sections":194},"Never underestimate the power of stupid people in large groups.",[90,242],{"actions":29,"repairs":215},[425],{"id":426,"title":427,"summary":428},"unknown-source-entity","Unknown source entity","A group has a member that no longer exists, usually because the entity was renamed or removed. The group carries on with the members it has left, so it does less than you think.",{"path":430,"title":431,"description":432,"stem":433,"navigation":15,"meta":434},"\u002Fcloud","Home Assistant Link","Spook 为 Home Assistant Link 添加了开关，让你可以从仪表盘或自动化中打开和关闭 Alexa、Google Assistant 和远程访问。","04.enhanced-integrations\u002F09.cloud",{"subtitle":435,"offers":436,"counts":437,"repairs":438,"sections":194},"Automate and control your Home Assistant Link connection.",[192],{"entities":215},[],{"path":440,"title":441,"description":442,"stem":443,"navigation":15,"meta":444},"\u002Fcounter","计数器","Spook 添加了在 Home Assistant 中创建和删除计数器辅助元素的动作，直接在自动化和脚本里完成，不用跑去辅助元素设置。","04.enhanced-integrations\u002F10.counter",{"subtitle":445,"offers":446,"counts":447,"repairs":448,"sections":194},"Keeping count, made on the fly.",[90],{"actions":194},[],{"path":450,"title":451,"description":452,"stem":453,"navigation":15,"meta":454},"\u002Fcover","卷帘","Spook 添加了动作，让 Home Assistant 中的卷帘再开大一步或再关小一步，不用你自己去算新位置。","04.enhanced-integrations\u002F11.cover",{"subtitle":455,"offers":456,"counts":457,"repairs":458,"sections":215},"A little more light, please. 🪟",[90],{"actions":194},[],{"path":460,"title":461,"description":462,"stem":463,"navigation":15,"meta":464},"\u002Fenergy","能源","当 Home Assistant 的能源仪表盘被设置为使用已经不存在的实体时，Spook 会在你的修复里告诉你，你不用自己去找。","04.enhanced-integrations\u002F12.energy",{"subtitle":465,"offers":466,"counts":467,"repairs":468,"sections":194},"Watching the meter so you do not have to.",[242],{"repairs":215},[469],{"id":299,"title":300,"summary":470},"The energy dashboard uses an entity that no longer exists, usually because it was removed or replaced, or did not load. The dashboard does not complain: it leaves that source out, so a missing gas sensor looks like a month where you used no gas.",{"path":472,"title":473,"description":474,"stem":475,"navigation":15,"meta":476},"\u002Fhomeassistant","Home Assistant","Spook 告诉你 Home Assistant 自身里堆积了什么，比如已经不存在的实体的自定义设置、源实体不见了的辅助元素，以及没有任何东西使用的区域、楼层、标签和蓝图。","04.enhanced-integrations\u002F13.homeassistant",{"subtitle":477,"offers":478,"counts":479,"repairs":480,"sections":42},"The tidying up nobody volunteers for.",[242],{"repairs":129},[481,485,489,493,497,499,503,507,511],{"id":482,"title":483,"summary":484},"unknown-area-sensors","Unknown area sensors","An area uses a temperature or humidity sensor that no longer exists. Assist cannot answer \"how warm is it in the kitchen?\" anymore, and area cards lose their reading.",{"id":486,"title":487,"summary":488},"unknown-customized-entities","Unknown customized entities","The customize: section of your configuration names an entity that does not exist. That block of YAML does nothing at all.",{"id":490,"title":491,"summary":492},"unknown-helper-sources","Unknown helper sources","A helper is built on an entity that no longer exists: a threshold on a sensor that is gone, a utility meter on an energy reading that was replaced. Without its source, the helper cannot work.",{"id":494,"title":495,"summary":496},"unknown-min-max-helper-members","Unknown min\u002Fmax helper members","A min\u002Fmax helper combines entities that no longer exist. It carries on with the ones it has left, so the number it shows is based on less than you think.",{"id":307,"title":308,"summary":498},"Something in Home Assistant has an icon that does not exist, usually because of a typo or a renamed icon: an entity, a helper, a zone, an area, a floor, a label or a category. It shows an empty spot where the icon should be.",{"id":500,"title":501,"summary":502},"empty-areas","Empty areas","An area has no devices, no entities, and nothing uses it. It does nothing, except take up room in every area picker.",{"id":504,"title":505,"summary":506},"empty-floors","Empty floors","A floor has no areas, and nothing uses it.",{"id":508,"title":509,"summary":510},"unused-labels","Unused labels","A label is on no entity, device or area, and nothing uses it.",{"id":512,"title":513,"summary":514},"unused-blueprints","Unused blueprints","A blueprint is not used by any automation or script. You imported it to try, decided against it, and it stayed.",{"path":516,"title":517,"description":518,"stem":519,"navigation":15,"meta":520},"\u002Fhomekit","HomeKit Bridge","当 Home Assistant 里的 HomeKit Bridge 包含或排除了已经不存在的实体时，Spook 会直接在你的修复页面上告诉你。","04.enhanced-integrations\u002F14.homekit",{"subtitle":521,"offers":522,"counts":523,"repairs":524,"sections":215},"Lost in translation, between Home Assistant and the Home app.",[242],{"repairs":215},[525],{"id":526,"title":527,"summary":528},"unknown-entities","Unknown entities","A HomeKit bridge includes, or excludes, an entity that no longer exists, usually because it was renamed or removed. An included entity that is gone disappears from the Home app without warning, and an excluded entity that was renamed shows up in it again.",{"path":530,"title":531,"description":532,"stem":533,"navigation":15,"meta":534},"\u002Fhumidifier","加湿器","Spook 添加的动作可以把 Home Assistant 中加湿器的目标湿度调高或调低一档，不用你自己算新的数值。","04.enhanced-integrations\u002F15.humidifier",{"subtitle":535,"offers":536,"counts":537,"repairs":538,"sections":215},"Not too dry, not too damp. 💧",[90],{"actions":194},[],{"path":540,"title":541,"description":542,"stem":543,"navigation":15,"meta":544},"\u002Finput-boolean","输入布尔值","Spook 添加了在 Home Assistant 中创建和删除输入布尔值（开关）辅助元素的动作，直接在自动化和脚本里完成。","04.enhanced-integrations\u002F16.input-boolean",{"subtitle":545,"offers":546,"counts":547,"repairs":548,"sections":194},"To be, or not to be. Created on the fly.",[90],{"actions":194},[],{"path":550,"title":551,"description":552,"stem":553,"navigation":15,"meta":554},"\u002Finput-button","输入按钮","Spook 添加了动作，让你可以在自动化和脚本中创建和删除 Home Assistant 的输入按钮辅助元素，不用跑去辅助元素设置。","04.enhanced-integrations\u002F17.input-button",{"subtitle":555,"offers":556,"counts":557,"repairs":558,"sections":194},"Press here. Made on the fly.",[90],{"actions":194},[],{"path":560,"title":561,"description":562,"stem":563,"navigation":15,"meta":564},"\u002Finput-datetime","输入日期时间值","Spook 添加了动作，让你可以在自动化和脚本中创建和删除 Home Assistant 的日期时间输入辅助元素，不用跑去辅助元素设置。","04.enhanced-integrations\u002F18.input-datetime",{"subtitle":565,"offers":566,"counts":567,"repairs":568,"sections":194},"A date, a time, or both. Made on the fly.",[90],{"actions":194},[],{"path":570,"title":571,"description":572,"stem":573,"navigation":15,"meta":574},"\u002Finput-number","输入数值","Spook 添加了动作，可以创建和删除输入数值辅助元素，让它跳到最小值或最大值，修改它的范围，以及按任意量步进。","04.enhanced-integrations\u002F19.input-number",{"subtitle":575,"offers":576,"counts":577,"repairs":579,"sections":194},"Give me your digits. 🔢",[90],{"actions":578},7,[],{"path":581,"title":582,"description":583,"stem":584,"navigation":15,"meta":585},"\u002Finput-select","输入选择表","Spook 添加了动作，可以创建和删除输入选择表辅助元素，随机选一个选项，以及打乱、排序或反转选项列表。","04.enhanced-integrations\u002F20.input-select",{"subtitle":586,"offers":587,"counts":588,"repairs":589,"sections":194},"Offers a selection of the finest options.",[90],{"actions":53},[],{"path":591,"title":592,"description":593,"stem":594,"navigation":15,"meta":595},"\u002Finput-text","输入文本值","Spook 添加的动作可以在自动化和脚本中创建和删除 Home Assistant 的输入文本值辅助元素，不用跑去辅助元素设置。","04.enhanced-integrations\u002F21.input-text",{"subtitle":596,"offers":597,"counts":598,"repairs":599,"sections":194},"A few words, made on the fly.",[90],{"actions":194},[],{"path":601,"title":602,"description":603,"stem":604,"navigation":15,"meta":605},"\u002Flight","灯光","Spook 添加的动作只调整已经开着的灯，不去动关着的灯，并且让灯光群组里的每盏灯都从自己的亮度出发调整，而不是从群组的平均值出发。","04.enhanced-integrations\u002F22.light",{"subtitle":606,"offers":607,"counts":608,"repairs":609,"sections":215},"Turn it down a bit, would you 💡",[90],{"actions":53},[],{"path":611,"title":612,"description":613,"stem":614,"navigation":15,"meta":615},"\u002Fmedia-player","媒体播放器","Spook 添加的动作可以把媒体播放器的音量调高或调低，每次正好是你给的步长。","04.enhanced-integrations\u002F23.media-player",{"subtitle":616,"offers":617,"counts":618,"repairs":619,"sections":215},"Turn it up, just a little. 🔊",[90],{"actions":194},[],{"path":621,"title":622,"description":623,"stem":624,"navigation":15,"meta":625},"\u002Fnotify","通知","通知组转发到 Home Assistant 没有的通知动作时，Spook 会告诉你，让每个人都能继续收到通知。","04.enhanced-integrations\u002F24.notify",{"subtitle":626,"offers":627,"counts":628,"repairs":629,"sections":194},"A message nobody receives is just a thought.",[242],{"repairs":215},[630],{"id":631,"title":632,"summary":633},"unknown-group-members","Unknown group members","A notify group forwards to a notify action that does not exist anymore, usually because a phone was replaced or an integration removed. Messages sent to the group still reach everyone else, but not that member. You get no error.",{"path":635,"title":636,"description":637,"stem":638,"navigation":15,"meta":639},"\u002Fnumber","数值输入器","Spook 为数值输入器集成添加了动作，可以按任意幅度调高或调低一个数值，或者让它直接跳到最小值或最大值。","04.enhanced-integrations\u002F25.number",{"subtitle":640,"offers":641,"counts":642,"repairs":643,"sections":194},"Elmo likes numbers too!",[90],{"actions":42},[],{"path":645,"title":646,"description":647,"stem":648,"navigation":15,"meta":649},"\u002Fperson","人员","Spook 添加的动作可以随时为人员添加和移除设备追踪器，人员追踪的设备追踪器已经不存在时，它也会告诉你。","04.enhanced-integrations\u002F26.person",{"subtitle":650,"offers":651,"counts":652,"repairs":653,"sections":29},"Now it gets personal 😱",[90,242],{"actions":194,"repairs":215},[654],{"id":655,"title":656,"summary":657},"unknown-device-trackers","Unknown device trackers","A person tracks a device tracker that no longer exists, usually because it was renamed, or the integration providing it was removed. The person keeps working on the trackers that remain. So somebody whose phone tracker disappeared is just located a little less accurately.",{"path":659,"title":660,"description":661,"stem":662,"navigation":15,"meta":663},"\u002Fproximity","接近","当接近配置用到了已经不存在的地点、人员或设备追踪器时，Spook 会告诉你。","04.enhanced-integrations\u002F27.proximity",{"subtitle":664,"offers":665,"counts":666,"repairs":667,"sections":215},"Proximity isn’t everything, but it's close...",[242],{"repairs":29},[668,672,676],{"id":669,"title":670,"summary":671},"unknown-zone","Unknown zone","A proximity configuration measures the distance to a zone that no longer exists, usually because the zone was removed or renamed. With the zone gone, there is nothing left to measure the distance to.",{"id":673,"title":674,"summary":675},"unknown-tracked-devices-or-persons","Unknown tracked devices or persons","A proximity configuration tracks a person or device tracker that no longer exists, usually because it was renamed or removed. That person or device is no longer part of the distances it reports.",{"id":677,"title":678,"summary":679},"unknown-ignored-zones","Unknown ignored zones","A proximity configuration ignores a zone that no longer exists. Not critical: ignoring something that is not there does nothing. Still a good one to clean up.",{"path":681,"title":682,"description":683,"stem":684,"navigation":15,"meta":685},"\u002Frecorder","Recorder","Spook 添加了一个把长期统计数据导入 recorder 的动作，并在统计数据不再属于任何实体时告诉你。","04.enhanced-integrations\u002F28.recorder",{"subtitle":686,"offers":687,"counts":688,"repairs":689,"sections":29},"Records all the spooky things that happen in your home.",[90,242],{"actions":215,"repairs":215},[690],{"id":691,"title":692,"summary":693},"orphaned-long-term-statistics","Orphaned long-term statistics","The recorder keeps long-term statistics for sensors that no longer exist, usually because a sensor was removed and its history was kept. Not harmful, but they take up database space, and keep showing up in pickers and graphs long after the sensor is gone.",{"path":695,"title":696,"description":697,"stem":698,"navigation":15,"meta":699},"\u002Frepairs","修复","Spook 添加了让你自己创建、列出、移除和忽略修复问题的动作，还有统计和通报这些问题的实体。","04.enhanced-integrations\u002F29.repairs",{"subtitle":700,"offers":701,"counts":702,"repairs":703,"sections":29},"Can we fix it? No, we are not Bob the Builder. 👷",[192,90],{"entities":29,"actions":118},[],{"path":705,"title":706,"description":707,"stem":708,"navigation":15,"meta":709},"\u002Fintegration","黎曼和积分","当 Home Assistant 中黎曼和积分辅助元素的源传感器不存在了，Spook 会直接在你的修复页面上告诉你。","04.enhanced-integrations\u002F30.integration",{"subtitle":710,"offers":711,"counts":712,"repairs":713,"sections":215},"The only integration that gives you energy if you provide it power.",[242],{"repairs":215},[714],{"id":426,"title":427,"summary":715},"A Riemann sum integral helper adds up a source sensor that no longer exists, usually because the sensor was renamed, replaced or removed. Without its source, the helper cannot work.",{"path":717,"title":718,"description":719,"stem":720,"navigation":15,"meta":721},"\u002Fscene","场景","Home Assistant 中的场景用到了已经不存在的实体时，Spook 会告诉你，让你在激活之前就知道。","04.enhanced-integrations\u002F31.scene",{"subtitle":722,"offers":723,"counts":724,"repairs":725,"sections":215},"Whatever the scene states, it's not over yet.",[242],{"repairs":215},[726],{"id":299,"title":300,"summary":727},"A scene uses an entity that no longer exists, usually because it was renamed, replaced or removed. Activating the scene can no longer set it.",{"path":729,"title":730,"description":731,"stem":732,"navigation":15,"meta":733},"\u002Fschedule","计划表","Spook 添加了创建和删除计划表辅助元素、修改它们时间段的动作，直接在自动化和脚本里完成。","04.enhanced-integrations\u002F32.schedule",{"subtitle":734,"offers":735,"counts":736,"repairs":737,"sections":194},"A week of time blocks, made, changed and cleaned up on the fly.",[90],{"actions":29},[],{"path":739,"title":740,"description":741,"stem":742,"navigation":15,"meta":743},"\u002Fscript","脚本","当 Home Assistant 里的脚本用到了已经不存在的东西，比如实体、设备或动作时，Spook 会告诉你，让你在它运行之前就知道。","04.enhanced-integrations\u002F33.script",{"subtitle":744,"offers":745,"counts":746,"repairs":747,"sections":215},"Script kiddies. 🍼",[242],{"repairs":182},[748,750,752,754,756,758,760,762,764,766,768,770,772,774],{"id":279,"title":280,"summary":749},"A script targets an area that no longer exists, usually because the area was removed or merged into another. The step that uses it does nothing.",{"id":283,"title":284,"summary":751},"A script waits for, or checks, an attribute its entity does not have, like brightness on a plain switch. An attribute is an extra detail an entity carries next to its state. A wait like that only ends on its timeout, and a check like that never passes. You get no error.",{"id":287,"title":288,"summary":753},"A script waits for, or checks, a state its entity is never in, like On for a light that is on or off. A wait like that only ends on its timeout, and a check like that never passes. You get no error.",{"id":291,"title":292,"summary":755},"A script uses a device that no longer exists, usually because it was removed or replaced. Conditions, waits and actions that use it no longer work.",{"id":295,"title":296,"summary":757},"An action in a script points at an integration entry that no longer exists: one setup of an integration, like your Hue bridge. This usually happens after you removed an integration and added it again: it looks the same, but the action still points at the old one, and fails when it runs.",{"id":299,"title":300,"summary":759},"A script uses an entity that no longer exists, usually because it was renamed, replaced or removed. The step that uses it does nothing.",{"id":303,"title":304,"summary":761},"A script uses an action that does not exist, usually because the integration that provided it was removed. The step fails when it runs.",{"id":307,"title":308,"summary":763},"A script has an icon, or hands one out, that Home Assistant does not have, usually because of a typo or a renamed icon. Whatever gets it shows an empty spot where the icon should be.",{"id":311,"title":312,"summary":765},"A script targets a floor that no longer exists. The step that uses it does nothing.",{"id":315,"title":316,"summary":767},"A script targets a label that no longer exists. The step that uses it does nothing.",{"id":319,"title":320,"summary":769},"A script uses a condition that no integration provides anymore, usually because that integration was removed. The whole script stops working. Home Assistant tells you the script is broken; Spook tells you which condition did it.",{"id":323,"title":324,"summary":771},"A script waits for a trigger that no integration provides anymore, usually because that integration was removed. A script has no triggers of its own, so this is about a Wait for a trigger step. The whole script stops working. Home Assistant tells you the script is broken; Spook tells you which trigger did it.",{"id":331,"title":332,"summary":773},"A script has a template that, the way it is written, can never be true. A template is a small piece of code between {{ }} that works out a value. Its condition always fails, or its wait only ends on a timeout. You get no error.",{"id":335,"title":336,"summary":775},"A script only does something for a certain user, and that user was removed. A check for them never passes again.",{"path":777,"title":778,"description":779,"stem":780,"navigation":15,"meta":781},"\u002Fselect","选择","Spook 为 Home Assistant 的 select 集成添加了一个动作，随机挑一个选项，从全部选项里挑，或者从你指定的几个里挑。","04.enhanced-integrations\u002F34.select",{"subtitle":782,"offers":783,"counts":784,"repairs":785,"sections":194},"Selecting from the selection using a selector.",[90],{"actions":215},[],{"path":787,"title":788,"description":789,"stem":790,"navigation":15,"meta":791},"\u002Fsensor","传感器","Spook 给 Home Assistant 的传感器集成加了一个动作，可以一次为很多传感器设置显示的小数位数。","04.enhanced-integrations\u002F35.sensor",{"subtitle":792,"offers":793,"counts":794,"repairs":795,"sections":194},"How many decimals is too many decimals?",[90],{"actions":215},[],{"path":797,"title":798,"description":799,"stem":800,"navigation":15,"meta":801},"\u002Fswitch-as-x","Switch as X","Switch as X 辅助元素把 Home Assistant 的开关变成灯、卷帘、风扇、锁、警报器或阀门。它背后的开关不见了时，Spook 会告诉你。","04.enhanced-integrations\u002F36.switch-as-x",{"subtitle":802,"offers":803,"counts":804,"repairs":805,"sections":215},"Help a switch with an identity crisis discover its true self.",[242],{"repairs":215},[806],{"id":426,"title":427,"summary":807},"A Switch as X helper uses a switch that no longer exists, usually because the switch was removed or replaced. The helper has nothing left to switch, so it does nothing.",{"path":809,"title":810,"description":811,"stem":812,"navigation":15,"meta":813},"\u002Ftemplate","模板辅助元素","当模板辅助元素或模板实体用到了 Home Assistant 里没有的实体、动作或属性时，Spook 会告诉你。","04.enhanced-integrations\u002F37.template",{"subtitle":814,"offers":815,"counts":816,"repairs":817,"sections":215},"Keep template helpers and template entities free of ghosts. 👻",[242],{"repairs":29},[818,820,822],{"id":299,"title":300,"summary":819},"A template uses an entity that no longer exists, usually because it was renamed, replaced or removed. The template gets nothing back for it, and a trigger on it never fires.",{"id":303,"title":304,"summary":821},"A template helper or template entity runs an action that does not exist, usually because the integration or script that provided it was removed. Like the press of a template button, or the turn_on of a template switch. That action fails when it runs.",{"id":283,"title":284,"summary":823},"A template reads an attribute its entity does not have, like state_attr('light.kitchen', 'brightnes'). It gets nothing back, and you get no error.",{"path":825,"title":826,"description":827,"stem":828,"navigation":15,"meta":829},"\u002Ftimer","计时器","Spook 添加了动作，让你可以在自动化和脚本中创建和删除计时器辅助元素，以及修改计时器运行多久。","04.enhanced-integrations\u002F38.timer",{"subtitle":830,"offers":831,"counts":832,"repairs":833,"sections":194},"Ready, set, go! ⏲",[90],{"actions":29},[],{"path":835,"title":836,"description":837,"stem":838,"navigation":15,"meta":839},"\u002Ftodo","待办事项清单","Spook 添加了一个动作，把待办事项清单中的项目移到顶部、底部或另一个项目之后，就像在界面里拖动它一样。","04.enhanced-integrations\u002F39.todo",{"subtitle":840,"offers":841,"counts":842,"repairs":843,"sections":215},"First things first. ✅",[90],{"actions":215},[],{"path":845,"title":846,"description":847,"stem":848,"navigation":15,"meta":849},"\u002Ftrend","趋势","趋势辅助元素告诉你 Home Assistant 中的某个值是在上升还是下降。Spook 会在它跟踪的实体消失时告诉你。","04.enhanced-integrations\u002F40.trend",{"subtitle":850,"offers":851,"counts":852,"repairs":853,"sections":215},"I don't follow trends, trends follow me. 😎",[242],{"repairs":215},[854],{"id":426,"title":427,"summary":855},"A trend helper follows an entity that no longer exists, usually because it was removed or replaced. The helper has nothing to follow, so it never changes.",{"path":857,"title":858,"description":859,"stem":860,"navigation":15,"meta":861},"\u002Futility-meter","计量表","计量表辅助元素按周期统计你用了多少电、气或水。它计量的传感器不见了，Spook 会告诉你。","04.enhanced-integrations\u002F41.utility-meter",{"subtitle":862,"offers":863,"counts":864,"repairs":865,"sections":215},"Help you to get scared of your utility bills before they arrive.",[242],{"repairs":215},[866],{"id":426,"title":427,"summary":867},"A utility meter meters a sensor that no longer exists, usually because it was removed or replaced. The meter has nothing to count, so it stops counting.",{"path":869,"title":870,"description":871,"stem":872,"navigation":15,"meta":873},"\u002Fvalve","阀门","Spook 添加了动作，让 Home Assistant 中的阀门再开大一步或再关小一步，不用你自己去算新位置。","04.enhanced-integrations\u002F42.valve",{"subtitle":874,"offers":875,"counts":876,"repairs":877,"sections":215},"Just a little more water. 🚰",[90],{"actions":194},[],{"path":879,"title":880,"description":881,"stem":882,"navigation":15,"meta":883},"\u002Fwater-heater","热水器","Spook 添加的动作可以把 Home Assistant 中的热水器调高或调低一档，不超出它报告的范围。","04.enhanced-integrations\u002F43.water-heater",{"subtitle":884,"offers":885,"counts":886,"repairs":887,"sections":215},"A shower too cold, a bath too hot. 🛁",[90],{"actions":194},[],{"path":889,"title":890,"description":891,"stem":892,"navigation":15,"meta":893},"\u002Fzone","地点","Spook 添加了在 Home Assistant 中创建、更新和删除地点的动作，直接在自动化和脚本里完成，包括“家”这个地点。","04.enhanced-integrations\u002F44.zone",{"subtitle":894,"offers":895,"counts":896,"repairs":897,"sections":194},"Time to zone out and relax 📍",[90],{"actions":29},[],{"path":899,"title":900,"description":13,"stem":901,"navigation":15,"meta":902},"\u002Fhelpers\u002F.navigation","Helpers","05.helpers\u002F.navigation",{},{"path":904,"title":905,"description":906,"stem":907,"navigation":908,"meta":909},"\u002Fhelpers","辅助元素","Spook 为 Home Assistant 添加了三个辅助元素。校准修正读数不准的传感器，反转把实体颠倒过来，状态持续时间记住从什么时候开始。","05.helpers\u002F00.helpers",{"title":65},{"subtitle":910,"offers":911,"counts":912,"repairs":913,"sections":71},"Although, some people, cannot be helped. 🤷",[],{},[],{"path":915,"title":916,"description":917,"stem":918,"navigation":15,"meta":919},"\u002Fcalibration","校准","校准辅助元素用偏移量、系数或两者一起，修正读数不准的传感器，给你一个数值正确的新传感器。","05.helpers\u002F01.calibration",{"subtitle":920,"offers":921,"counts":922,"repairs":923,"sections":194},"Nobody is perfect, sensors included. 🌡️",[],{},[],{"path":925,"title":926,"description":927,"stem":928,"navigation":15,"meta":929},"\u002Finverse","反转","反转辅助元素把开关、二元传感器、卷帘或阀门颠倒过来。开变成关，打开变成关闭，每个动作都反着执行。","05.helpers\u002F02.inverse",{"subtitle":930,"offers":931,"counts":932,"repairs":933,"sections":42},"Stranger Things, the upside down 🙃",[],{},[],{"path":935,"title":936,"description":937,"stem":938,"navigation":15,"meta":939},"\u002Ftime-in-state","状态持续时间","状态持续时间辅助元素告诉你一个实体从什么时候起处于当前状态，或者它最后一次进入某个状态是什么时候，并且重启后也记得这个时刻。","05.helpers\u002F03.time-in-state",{"subtitle":940,"offers":941,"counts":942,"repairs":943,"sections":42},"Since when? Spook remembers. ⏱️",[],{},[],{"path":945,"title":946,"description":13,"stem":947,"navigation":15,"meta":948},"\u002Freference\u002F.navigation","Reference","06.reference\u002F.navigation",{},{"path":950,"title":951,"description":952,"stem":953,"navigation":954,"meta":956},"\u002Factions","Spook 提供的 Home Assistant 动作","Spook 为 Home Assistant 添加的每个动作，都在这一页上。每个都有它的 YAML 名称、在你自己的 Home Assistant 中试用它的链接，以及它的文档链接。","06.reference\u002F01.actions",{"title":955},"动作",{"subtitle":957,"offers":958,"counts":959,"repairs":960,"sections":961},"Ready? Set? Action! 🎬",[],{},[],133,{"path":963,"title":964,"description":965,"stem":966,"navigation":967,"meta":969},"\u002Fconditions","Spook 提供的 Home Assistant 条件","Spook 为 Home Assistant 添加的所有条件，都在一个页面上，每个都链接到完整的文档。","06.reference\u002F02.conditions",{"title":968},"条件",{"subtitle":970,"offers":971,"counts":972,"repairs":973,"sections":129},"Asking the questions Home Assistant does not. 🤔",[],{},[],{"path":975,"title":976,"description":977,"stem":978,"navigation":979,"meta":981},"\u002Ftriggers","Spook 提供的 Home Assistant 触发条件","Spook 为 Home Assistant 添加的所有触发条件，都在一个页面上，每个都链接到完整的文档。","06.reference\u002F03.triggers",{"title":980},"触发条件",{"subtitle":982,"offers":983,"counts":984,"repairs":985,"sections":986},"For the moments Home Assistant cannot name. ⏰",[],{},[],23,{"path":988,"title":989,"description":990,"stem":991,"navigation":992,"meta":993},"\u002Fall-repairs","Spook 创建的所有修复","Spook 能在 Home Assistant 中创建的所有修复，都在这一页。找到你的修复页面上显示的那一条，直接看它是什么意思、怎么修。","06.reference\u002F04.all-repairs",{"title":696},{"subtitle":994,"offers":995,"counts":996,"repairs":997,"sections":71},"Who you gonna call? 👻",[],{},[],{"path":999,"title":1000,"description":1001,"stem":1002,"navigation":15,"meta":1003},"\u002Fglossary","术语表","Spook 和 Home Assistant 用到的词，用大白话解释。从动作、实体到修复、触发条件和 YAML。","06.reference\u002F05.glossary",{"subtitle":1004,"offers":1005,"counts":1006,"repairs":1007,"sections":1008},"What does this even mean?",[],{},[],46,{"path":1010,"title":1011,"description":1012,"stem":1013,"navigation":1014,"meta":1015},"\u002Fblueprints","用到 Spook 功能的蓝图","别人做的蓝图，用到了 Spook 给 Home Assistant 加的东西，可以直接导入你自己的系统。知道其他的？告诉我们。","06.reference\u002F06.blueprints",{"title":340},{"subtitle":344,"offers":1016,"counts":1017,"repairs":1018,"sections":71},[],{},[],{"path":1020,"title":1021,"description":13,"stem":1022,"navigation":15,"meta":1023},"\u002Fabout-the-project\u002F.navigation","About the project","07.about-the-project\u002F.navigation",{},{"path":1025,"title":1026,"description":1027,"stem":1028,"navigation":1029,"meta":1031},"\u002Fabout","Spook 是什么？👻","Spook 是 Home Assistant 的一个免费工具箱。它在你碰上问题之前先找出你系统里的问题，还会加上那些你一直想要的动作、触发条件和辅助元素。","07.about-the-project\u002F00.about",{"title":1030},"Spook 是什么？",{"subtitle":1032,"offers":1033,"counts":1034,"repairs":1035,"sections":42},"A scary powerful toolbox for Home Assistant.",[],{},[],{"path":1037,"title":1038,"description":1039,"stem":1040,"navigation":1041,"meta":1043},"\u002Fwhats-new","Spook 更新了什么","Spook for Home Assistant 的最新版本，以及每个版本的改动，直接来自 GitHub 上的发布说明。","07.about-the-project\u002F01.whats-new",{"title":1042},"更新内容",{"subtitle":1044,"offers":1045,"counts":1046,"repairs":1047,"sections":71},"Fresh ghosts, and a few that were laid to rest.",[],{},[],{"path":1049,"title":1050,"description":1051,"stem":1052,"navigation":1053,"meta":1055},"\u002Fbackground-and-history","Spook 的背景与历史 👻","Spook 从哪里来，为什么叫 Spook，它要做什么。你的 Home Assistant 里那个幽灵背后的故事。","07.about-the-project\u002F02.background-and-history",{"title":1054},"背景与历史",{"subtitle":1056,"offers":1057,"counts":1058,"repairs":1059,"sections":42},"Every story has a beginning.",[],{},[],{"path":1061,"title":1062,"description":1063,"stem":1064,"navigation":1065,"meta":1066},"\u002Fmedia","媒体上的 Spook","Spook 想在好莱坞星光大道上拿一颗星。这里列出了提到 Home Assistant 的 Spook 的媒体。","07.about-the-project\u002F03.media",{"title":1062},{"subtitle":1067,"offers":1068,"counts":1069,"repairs":1070,"sections":71},"Spook's road to his star ⭐️ on the Hollywood Walk of Fame.",[],{},[],{"path":1072,"title":1073,"description":1074,"stem":1075,"navigation":1076,"meta":1078},"\u002Fprevious-features","Spook 以前提供的功能","有时功能会从 Spook 中移除。大多数时候，是因为 Home Assistant 本身已经有了这个功能。这一页留给这些退场的功能。","07.about-the-project\u002F04.previous-features",{"title":1077},"以前的功能",{"subtitle":1079,"offers":1080,"counts":1081,"repairs":1082,"sections":71},"Adieu, goodbye, auf Wiederseh'n!",[],{},[],{"path":1084,"title":1085,"description":1086,"stem":1087,"navigation":1088,"meta":1090},"\u002Fdevelopment","开发与贡献","Spook 是一个开源项目，欢迎贡献！下面是你可以为 Spook 做贡献的方式。","07.about-the-project\u002F05.development",{"title":1089},"开发",{"subtitle":1091,"offers":1092,"counts":1093,"repairs":1094,"sections":42},"Be the change. Contribute. Be Spook 👻.",[],{},[],{"path":1096,"title":1097,"description":1098,"stem":1099,"navigation":15,"meta":1100},"\u002Fsecurity","安全","在 Spook 里发现了安全漏洞？这里说明怎么负责任地报告，以及我们怎么处理。","07.about-the-project\u002F06.security",{"subtitle":1101,"offers":1102,"counts":1103,"repairs":1104,"sections":118},"The S in IoT stands for security.",[],{},[],{"path":1106,"title":1107,"description":13,"stem":1108,"navigation":15,"meta":1109},"\u002Fboring-stuff\u002F.navigation","Boring stuff","08.boring-stuff\u002F.navigation",{},{"path":1111,"title":1112,"description":1113,"stem":1114,"navigation":15,"meta":1115},"\u002Fdisclaimers","Disclaimers","The fine print. Spook is not affiliated with or supported by the Home Assistant project, and comes as-is, without any warranty.","08.boring-stuff\u002F01.disclaimers",{"subtitle":1116,"offers":1117,"counts":1118,"repairs":1119,"sections":71},"Some disclaimer stuff you should read.",[],{},[],{"path":1121,"title":1122,"description":1123,"stem":1124,"navigation":15,"meta":1125},"\u002Fcode-of-conduct","Code of conduct","The Spook project has a code of conduct, that applies to all of its spaces.","08.boring-stuff\u002F02.code-of-conduct",{"subtitle":1126,"offers":1127,"counts":1128,"repairs":1129,"sections":578},"But remember, Spook is still your homie.",[],{},[],{"path":1131,"title":1132,"description":1133,"stem":1134,"navigation":1135,"meta":1137},"\u002Flicense","Spook licenses","The Spook integration for Home Assistant is mostly licensed under the MIT License.","08.boring-stuff\u002F03.license",{"title":1136},"License",{"subtitle":1138,"offers":1139,"counts":1140,"repairs":1141,"sections":29},"The license used by Spook",[],{},[],{"path":1143,"title":1144,"description":13,"stem":1145,"navigation":15,"meta":1146},"\u002Fguides\u002F.navigation","Guides","09.guides\u002F.navigation",{},{"path":1148,"title":1149,"description":1150,"stem":1151,"navigation":15,"meta":1152},"\u002Ffix-your-first-repair","修复你的第一条修复","Spook 在你的某个自动化里发现了问题。这份指南一步一步带你从 Home Assistant 里的修复走到一个能正常工作的自动化，不用碰 YAML。","09.guides\u002F01.fix-your-first-repair",{"subtitle":1153,"offers":1154,"counts":1155,"repairs":1156,"sections":578},"From \"Spook has found a ghost\" to a working automation.",[],{},[],{"path":1158,"title":1159,"description":1160,"stem":1161,"navigation":1162,"meta":1164},"\u002Fupdating","更新 Spook","Spook 的新版本怎样到达你的 Home Assistant，版本号是什么意思，以及 Home Assistant 更新让 Spook 出问题时该怎么办。","09.guides\u002F02.updating",{"title":1163},"更新",{"subtitle":1165,"offers":1166,"counts":1167,"repairs":1168,"sections":42},"New ghost, same haunt.",[],{},[],{"path":1170,"title":1171,"description":1172,"stem":1173,"navigation":1174,"meta":1176},"\u002Ftroubleshooting","当有些东西不对劲时","Spook 没有按你预期的那样工作时的简短回答。没出现的修复、错误的修复、找不到的动作，以及怎样获取日志。","09.guides\u002F03.troubleshooting",{"title":1175},"故障排除",{"subtitle":1177,"offers":1178,"counts":1179,"repairs":1180,"sections":129},"Who you gonna call?",[],{},[],{"path":1182,"title":1183,"description":1184,"stem":1185,"navigation":1186,"meta":1188},"\u002Funinstalling","移除 Spook","怎样从 Home Assistant 中移除（卸载）Spook。先检查什么，要做哪些步骤，哪些会跟着走，哪些会留下，哪些会停止工作。","09.guides\u002F04.uninstalling",{"title":1187},"移除",{"subtitle":1189,"offers":1190,"counts":1191,"repairs":1192,"sections":118},"No hard feelings. Ghosts are used to it.",[],{},[],[1194,1196,1201,1206,1211,1213,1218,1223,1228,1230,1235,1240,1245,1250,1255,1260,1265,1270,1275,1280,1285,1287,1292,1299,1305,1325,1330,1335,1340,1357,1363,1368,1373,1378,1384,1398,1404,1409,1414,1419,1424,1429,1434,1439,1444,1449,1455,1460,1466,1474,1480,1485,1491,1497,1502,1521,1526,1531,1537,1545,1550,1555,1561,1567,1572,1577,1582,1584,1589,1594,1599,1604,1606,1611,1616,1621,1626,1631,1636,1638,1643,1648,1653,1658,1663,1668,1673,1675,1680,1685,1690,1692,1697,1702,1707],{"path":11,"stem":14,"meta":1195},{},{"path":18,"stem":21,"meta":1197},{"subtitle":25,"offers":1198,"counts":1199,"repairs":1200,"sections":29},[],{},[],{"path":31,"stem":34,"meta":1202},{"subtitle":38,"offers":1203,"counts":1204,"repairs":1205,"sections":42},[],{},[],{"path":44,"stem":47,"meta":1207},{"subtitle":49,"offers":1208,"counts":1209,"repairs":1210,"sections":53},[],{},[],{"path":55,"stem":57,"meta":1212},{},{"path":60,"stem":63,"meta":1214},{"subtitle":67,"offers":1215,"counts":1216,"repairs":1217,"sections":71},[],{},[],{"path":73,"stem":76,"meta":1219},{"subtitle":78,"offers":1220,"counts":1221,"repairs":1222,"sections":29},[],{},[],{"path":83,"stem":86,"meta":1224},{"subtitle":88,"offers":1225,"counts":1226,"repairs":1227,"sections":29},[90],{"actions":29},[],{"path":94,"stem":96,"meta":1229},{},{"path":99,"stem":102,"meta":1231},{"subtitle":105,"offers":1232,"counts":1233,"repairs":1234,"sections":71},[],{},[],{"path":110,"stem":113,"meta":1236},{"subtitle":115,"offers":1237,"counts":1238,"repairs":1239,"sections":29},[90],{"actions":118},[],{"path":121,"stem":124,"meta":1241},{"subtitle":126,"offers":1242,"counts":1243,"repairs":1244,"sections":29},[90],{"actions":129},[],{"path":132,"stem":135,"meta":1246},{"subtitle":137,"offers":1247,"counts":1248,"repairs":1249,"sections":29},[90],{"actions":118},[],{"path":142,"stem":145,"meta":1251},{"subtitle":147,"offers":1252,"counts":1253,"repairs":1254,"sections":29},[90],{"actions":150},[],{"path":153,"stem":156,"meta":1256},{"subtitle":158,"offers":1257,"counts":1258,"repairs":1259,"sections":29},[90],{"actions":161},[],{"path":164,"stem":167,"meta":1261},{"subtitle":169,"offers":1262,"counts":1263,"repairs":1264,"sections":29},[90],{"actions":29},[],{"path":174,"stem":177,"meta":1266},{"subtitle":179,"offers":1267,"counts":1268,"repairs":1269,"sections":29},[90],{"actions":182},[],{"path":185,"stem":188,"meta":1271},{"subtitle":190,"offers":1272,"counts":1273,"repairs":1274,"sections":29},[192],{"entities":194},[],{"path":197,"stem":200,"meta":1276},{"subtitle":202,"offers":1277,"counts":1278,"repairs":1279,"sections":29},[90],{"actions":194},[],{"path":207,"stem":210,"meta":1281},{"subtitle":212,"offers":1282,"counts":1283,"repairs":1284,"sections":29},[90],{"actions":215},[],{"path":218,"stem":220,"meta":1286},{},{"path":223,"stem":226,"meta":1288},{"subtitle":230,"offers":1289,"counts":1290,"repairs":1291,"sections":71},[],{},[],{"path":235,"stem":238,"meta":1293},{"subtitle":240,"offers":1294,"counts":1295,"repairs":1296,"sections":194},[242],{"repairs":194},[1297,1298],{"id":246,"title":247,"summary":248},{"id":250,"title":251,"summary":252},{"path":254,"stem":257,"meta":1300},{"subtitle":259,"offers":1301,"counts":1302,"repairs":1303,"sections":194},[242],{"repairs":215},[1304],{"id":264,"title":265,"summary":266},{"path":268,"stem":271,"meta":1306},{"subtitle":273,"offers":1307,"counts":1308,"repairs":1309,"sections":194},[90,242],{"actions":194,"repairs":276},[1310,1311,1312,1313,1314,1315,1316,1317,1318,1319,1320,1321,1322,1323,1324],{"id":279,"title":280,"summary":281},{"id":283,"title":284,"summary":285},{"id":287,"title":288,"summary":289},{"id":291,"title":292,"summary":293},{"id":295,"title":296,"summary":297},{"id":299,"title":300,"summary":301},{"id":303,"title":304,"summary":305},{"id":307,"title":308,"summary":309},{"id":311,"title":312,"summary":313},{"id":315,"title":316,"summary":317},{"id":319,"title":320,"summary":321},{"id":323,"title":324,"summary":325},{"id":327,"title":328,"summary":329},{"id":331,"title":332,"summary":333},{"id":335,"title":336,"summary":337},{"path":339,"stem":342,"meta":1326},{"subtitle":344,"offers":1327,"counts":1328,"repairs":1329,"sections":29},[192,90],{"entities":215,"actions":215},[],{"path":349,"stem":352,"meta":1331},{"subtitle":354,"offers":1332,"counts":1333,"repairs":1334,"sections":215},[90],{"actions":194},[],{"path":359,"stem":362,"meta":1336},{"subtitle":364,"offers":1337,"counts":1338,"repairs":1339,"sections":215},[90],{"actions":194},[],{"path":369,"stem":372,"meta":1341},{"subtitle":374,"offers":1342,"counts":1343,"repairs":1344,"sections":215},[242],{"repairs":377},[1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356],{"id":299,"title":300,"summary":380},{"id":279,"title":280,"summary":382},{"id":283,"title":284,"summary":384},{"id":287,"title":288,"summary":386},{"id":388,"title":389,"summary":390},{"id":392,"title":393,"summary":394},{"id":307,"title":308,"summary":396},{"id":335,"title":336,"summary":398},{"id":400,"title":401,"summary":402},{"id":404,"title":405,"summary":406},{"id":408,"title":409,"summary":410},{"id":412,"title":413,"summary":414},{"path":416,"stem":419,"meta":1358},{"subtitle":421,"offers":1359,"counts":1360,"repairs":1361,"sections":194},[90,242],{"actions":29,"repairs":215},[1362],{"id":426,"title":427,"summary":428},{"path":430,"stem":433,"meta":1364},{"subtitle":435,"offers":1365,"counts":1366,"repairs":1367,"sections":194},[192],{"entities":215},[],{"path":440,"stem":443,"meta":1369},{"subtitle":445,"offers":1370,"counts":1371,"repairs":1372,"sections":194},[90],{"actions":194},[],{"path":450,"stem":453,"meta":1374},{"subtitle":455,"offers":1375,"counts":1376,"repairs":1377,"sections":215},[90],{"actions":194},[],{"path":460,"stem":463,"meta":1379},{"subtitle":465,"offers":1380,"counts":1381,"repairs":1382,"sections":194},[242],{"repairs":215},[1383],{"id":299,"title":300,"summary":470},{"path":472,"stem":475,"meta":1385},{"subtitle":477,"offers":1386,"counts":1387,"repairs":1388,"sections":42},[242],{"repairs":129},[1389,1390,1391,1392,1393,1394,1395,1396,1397],{"id":482,"title":483,"summary":484},{"id":486,"title":487,"summary":488},{"id":490,"title":491,"summary":492},{"id":494,"title":495,"summary":496},{"id":307,"title":308,"summary":498},{"id":500,"title":501,"summary":502},{"id":504,"title":505,"summary":506},{"id":508,"title":509,"summary":510},{"id":512,"title":513,"summary":514},{"path":516,"stem":519,"meta":1399},{"subtitle":521,"offers":1400,"counts":1401,"repairs":1402,"sections":215},[242],{"repairs":215},[1403],{"id":526,"title":527,"summary":528},{"path":530,"stem":533,"meta":1405},{"subtitle":535,"offers":1406,"counts":1407,"repairs":1408,"sections":215},[90],{"actions":194},[],{"path":540,"stem":543,"meta":1410},{"subtitle":545,"offers":1411,"counts":1412,"repairs":1413,"sections":194},[90],{"actions":194},[],{"path":550,"stem":553,"meta":1415},{"subtitle":555,"offers":1416,"counts":1417,"repairs":1418,"sections":194},[90],{"actions":194},[],{"path":560,"stem":563,"meta":1420},{"subtitle":565,"offers":1421,"counts":1422,"repairs":1423,"sections":194},[90],{"actions":194},[],{"path":570,"stem":573,"meta":1425},{"subtitle":575,"offers":1426,"counts":1427,"repairs":1428,"sections":194},[90],{"actions":578},[],{"path":581,"stem":584,"meta":1430},{"subtitle":586,"offers":1431,"counts":1432,"repairs":1433,"sections":194},[90],{"actions":53},[],{"path":591,"stem":594,"meta":1435},{"subtitle":596,"offers":1436,"counts":1437,"repairs":1438,"sections":194},[90],{"actions":194},[],{"path":601,"stem":604,"meta":1440},{"subtitle":606,"offers":1441,"counts":1442,"repairs":1443,"sections":215},[90],{"actions":53},[],{"path":611,"stem":614,"meta":1445},{"subtitle":616,"offers":1446,"counts":1447,"repairs":1448,"sections":215},[90],{"actions":194},[],{"path":621,"stem":624,"meta":1450},{"subtitle":626,"offers":1451,"counts":1452,"repairs":1453,"sections":194},[242],{"repairs":215},[1454],{"id":631,"title":632,"summary":633},{"path":635,"stem":638,"meta":1456},{"subtitle":640,"offers":1457,"counts":1458,"repairs":1459,"sections":194},[90],{"actions":42},[],{"path":645,"stem":648,"meta":1461},{"subtitle":650,"offers":1462,"counts":1463,"repairs":1464,"sections":29},[90,242],{"actions":194,"repairs":215},[1465],{"id":655,"title":656,"summary":657},{"path":659,"stem":662,"meta":1467},{"subtitle":664,"offers":1468,"counts":1469,"repairs":1470,"sections":215},[242],{"repairs":29},[1471,1472,1473],{"id":669,"title":670,"summary":671},{"id":673,"title":674,"summary":675},{"id":677,"title":678,"summary":679},{"path":681,"stem":684,"meta":1475},{"subtitle":686,"offers":1476,"counts":1477,"repairs":1478,"sections":29},[90,242],{"actions":215,"repairs":215},[1479],{"id":691,"title":692,"summary":693},{"path":695,"stem":698,"meta":1481},{"subtitle":700,"offers":1482,"counts":1483,"repairs":1484,"sections":29},[192,90],{"entities":29,"actions":118},[],{"path":705,"stem":708,"meta":1486},{"subtitle":710,"offers":1487,"counts":1488,"repairs":1489,"sections":215},[242],{"repairs":215},[1490],{"id":426,"title":427,"summary":715},{"path":717,"stem":720,"meta":1492},{"subtitle":722,"offers":1493,"counts":1494,"repairs":1495,"sections":215},[242],{"repairs":215},[1496],{"id":299,"title":300,"summary":727},{"path":729,"stem":732,"meta":1498},{"subtitle":734,"offers":1499,"counts":1500,"repairs":1501,"sections":194},[90],{"actions":29},[],{"path":739,"stem":742,"meta":1503},{"subtitle":744,"offers":1504,"counts":1505,"repairs":1506,"sections":215},[242],{"repairs":182},[1507,1508,1509,1510,1511,1512,1513,1514,1515,1516,1517,1518,1519,1520],{"id":279,"title":280,"summary":749},{"id":283,"title":284,"summary":751},{"id":287,"title":288,"summary":753},{"id":291,"title":292,"summary":755},{"id":295,"title":296,"summary":757},{"id":299,"title":300,"summary":759},{"id":303,"title":304,"summary":761},{"id":307,"title":308,"summary":763},{"id":311,"title":312,"summary":765},{"id":315,"title":316,"summary":767},{"id":319,"title":320,"summary":769},{"id":323,"title":324,"summary":771},{"id":331,"title":332,"summary":773},{"id":335,"title":336,"summary":775},{"path":777,"stem":780,"meta":1522},{"subtitle":782,"offers":1523,"counts":1524,"repairs":1525,"sections":194},[90],{"actions":215},[],{"path":787,"stem":790,"meta":1527},{"subtitle":792,"offers":1528,"counts":1529,"repairs":1530,"sections":194},[90],{"actions":215},[],{"path":797,"stem":800,"meta":1532},{"subtitle":802,"offers":1533,"counts":1534,"repairs":1535,"sections":215},[242],{"repairs":215},[1536],{"id":426,"title":427,"summary":807},{"path":809,"stem":812,"meta":1538},{"subtitle":814,"offers":1539,"counts":1540,"repairs":1541,"sections":215},[242],{"repairs":29},[1542,1543,1544],{"id":299,"title":300,"summary":819},{"id":303,"title":304,"summary":821},{"id":283,"title":284,"summary":823},{"path":825,"stem":828,"meta":1546},{"subtitle":830,"offers":1547,"counts":1548,"repairs":1549,"sections":194},[90],{"actions":29},[],{"path":835,"stem":838,"meta":1551},{"subtitle":840,"offers":1552,"counts":1553,"repairs":1554,"sections":215},[90],{"actions":215},[],{"path":845,"stem":848,"meta":1556},{"subtitle":850,"offers":1557,"counts":1558,"repairs":1559,"sections":215},[242],{"repairs":215},[1560],{"id":426,"title":427,"summary":855},{"path":857,"stem":860,"meta":1562},{"subtitle":862,"offers":1563,"counts":1564,"repairs":1565,"sections":215},[242],{"repairs":215},[1566],{"id":426,"title":427,"summary":867},{"path":869,"stem":872,"meta":1568},{"subtitle":874,"offers":1569,"counts":1570,"repairs":1571,"sections":215},[90],{"actions":194},[],{"path":879,"stem":882,"meta":1573},{"subtitle":884,"offers":1574,"counts":1575,"repairs":1576,"sections":215},[90],{"actions":194},[],{"path":889,"stem":892,"meta":1578},{"subtitle":894,"offers":1579,"counts":1580,"repairs":1581,"sections":194},[90],{"actions":29},[],{"path":899,"stem":901,"meta":1583},{},{"path":904,"stem":907,"meta":1585},{"subtitle":910,"offers":1586,"counts":1587,"repairs":1588,"sections":71},[],{},[],{"path":915,"stem":918,"meta":1590},{"subtitle":920,"offers":1591,"counts":1592,"repairs":1593,"sections":194},[],{},[],{"path":925,"stem":928,"meta":1595},{"subtitle":930,"offers":1596,"counts":1597,"repairs":1598,"sections":42},[],{},[],{"path":935,"stem":938,"meta":1600},{"subtitle":940,"offers":1601,"counts":1602,"repairs":1603,"sections":42},[],{},[],{"path":945,"stem":947,"meta":1605},{},{"path":950,"stem":953,"meta":1607},{"subtitle":957,"offers":1608,"counts":1609,"repairs":1610,"sections":961},[],{},[],{"path":963,"stem":966,"meta":1612},{"subtitle":970,"offers":1613,"counts":1614,"repairs":1615,"sections":129},[],{},[],{"path":975,"stem":978,"meta":1617},{"subtitle":982,"offers":1618,"counts":1619,"repairs":1620,"sections":986},[],{},[],{"path":988,"stem":991,"meta":1622},{"subtitle":994,"offers":1623,"counts":1624,"repairs":1625,"sections":71},[],{},[],{"path":999,"stem":1002,"meta":1627},{"subtitle":1004,"offers":1628,"counts":1629,"repairs":1630,"sections":1008},[],{},[],{"path":1010,"stem":1013,"meta":1632},{"subtitle":344,"offers":1633,"counts":1634,"repairs":1635,"sections":71},[],{},[],{"path":1020,"stem":1022,"meta":1637},{},{"path":1025,"stem":1028,"meta":1639},{"subtitle":1032,"offers":1640,"counts":1641,"repairs":1642,"sections":42},[],{},[],{"path":1037,"stem":1040,"meta":1644},{"subtitle":1044,"offers":1645,"counts":1646,"repairs":1647,"sections":71},[],{},[],{"path":1049,"stem":1052,"meta":1649},{"subtitle":1056,"offers":1650,"counts":1651,"repairs":1652,"sections":42},[],{},[],{"path":1061,"stem":1064,"meta":1654},{"subtitle":1067,"offers":1655,"counts":1656,"repairs":1657,"sections":71},[],{},[],{"path":1072,"stem":1075,"meta":1659},{"subtitle":1079,"offers":1660,"counts":1661,"repairs":1662,"sections":71},[],{},[],{"path":1084,"stem":1087,"meta":1664},{"subtitle":1091,"offers":1665,"counts":1666,"repairs":1667,"sections":42},[],{},[],{"path":1096,"stem":1099,"meta":1669},{"subtitle":1101,"offers":1670,"counts":1671,"repairs":1672,"sections":118},[],{},[],{"path":1106,"stem":1108,"meta":1674},{},{"path":1111,"stem":1114,"meta":1676},{"subtitle":1116,"offers":1677,"counts":1678,"repairs":1679,"sections":71},[],{},[],{"path":1121,"stem":1124,"meta":1681},{"subtitle":1126,"offers":1682,"counts":1683,"repairs":1684,"sections":578},[],{},[],{"path":1131,"stem":1134,"meta":1686},{"subtitle":1138,"offers":1687,"counts":1688,"repairs":1689,"sections":29},[],{},[],{"path":1143,"stem":1145,"meta":1691},{},{"path":1148,"stem":1151,"meta":1693},{"subtitle":1153,"offers":1694,"counts":1695,"repairs":1696,"sections":578},[],{},[],{"path":1158,"stem":1161,"meta":1698},{"subtitle":1165,"offers":1699,"counts":1700,"repairs":1701,"sections":42},[],{},[],{"path":1170,"stem":1173,"meta":1703},{"subtitle":1177,"offers":1704,"counts":1705,"repairs":1706,"sections":129},[],{},[],{"path":1182,"stem":1185,"meta":1708},{"subtitle":1189,"offers":1709,"counts":1710,"repairs":1711,"sections":118},[],{},[],{"id":1713,"title":1000,"body":1714,"description":1001,"extension":3143,"links":13,"meta":3144,"navigation":15,"path":999,"reference":3149,"seo":3150,"stem":1002,"__hash__":3151},"docs_zh_hans\u002F06.reference\u002F05.glossary.md",{"type":1715,"value":1716,"toc":3095},"minimark",[1717,1726,1730,1759,1762,1770,1779,1783,1797,1802,1806,1818,1822,1856,1859,1862,1875,1882,1885,1902,1908,1911,1923,1929,1933,1943,1965,1986,1989,2000,2014,2033,2039,2042,2050,2053,2059,2062,2070,2076,2080,2091,2106,2109,2117,2120,2123,2128,2132,2145,2149,2160,2178,2186,2190,2201,2208,2212,2221,2229,2236,2239,2260,2263,2272,2278,2285,2288,2296,2305,2312,2316,2322,2325,2334,2349,2352,2362,2365,2371,2375,2383,2393,2397,2417,2424,2428,2437,2450,2465,2559,2562,2580,2583,2589,2593,2605,2608,2623,2636,2641,2644,2654,2660,2663,2671,2677,2683,2686,2697,2703,2706,2719,2725,2729,2738,2742,2747,2750,2753,2772,2776,2788,2794,2798,2810,2815,2819,2856,2862,2867,2874,2877,2894,2899,2903,2921,2926,2930,2946,2951,2955,2979,2984,2990,2993,3011,3014,3020,3023,3029,3036,3059,3065,3068,3075,3081,3084,3091],[1718,1719,1720,1721,1725],"p",{},"Spook 和 ",[1722,1723,473],"term",{"to":1724},"home assistant"," 用到的词，用大白话解释。这份文档里其他地方链接的术语，都会跳到这里。",[1727,1728,955],"h2",{"id":1729},"term-action",[1718,1731,1732,1734,1735,1739,1740,1744,1745,1749,1750,1754,1755,1758],{},[1722,1733,473],{"to":1724}," 中的动作是可以被",[1722,1736,1738],{"to":1737},"performing actions","执行","的东西：一个“做点什么”的步骤。动作的用途之一是控制",[1722,1741,1743],{"to":1742},"device","设备","和",[1722,1746,1748],{"to":1747},"entity","实体","。比如，",[1751,1752,1753],"code",{},"light.turn_on"," 动作用来打开一盏灯，",[1751,1756,1757],{},"media_player.play_media"," 动作在一个媒体播放器实体上播放媒体文件。",[1718,1760,1761],{},"动作不只能控制设备和实体。它们还能做别的事，比如发送通知、启动脚本，或者向某个服务查询信息，再把答案交回来。",[1718,1763,1764,1765,1769],{},"一串按顺序排列的动作也叫做",[1722,1766,1768],{"to":1767},"sequence","脚本序列","。",[1718,1771,1772],{},[1773,1774,1778],"a",{"href":1775,"rel":1776},"https:\u002F\u002Fwww.home-assistant.io\u002Fdocs\u002Fscripts\u002Fservice-calls\u002F",[1777],"nofollow","在 Home Assistant 官方文档中了解更多",[1727,1780,1782],{"id":1781},"term-action-name","动作名称",[1718,1784,1785,1786,1789,1790,1792,1793,1754,1795,1758],{},"动作名称是",[1722,1787,955],{"to":1788},"action","在被",[1722,1791,1738],{"to":1737},"时，你在 YAML 里写下它的方式：集成、一个点，以及它做的事。比如，",[1751,1794,1753],{},[1751,1796,1757],{},[1718,1798,1799],{},[1773,1800,1778],{"href":1775,"rel":1801},[1777],[1727,1803,1805],{"id":1804},"term-action-response","动作响应",[1718,1807,1808,1809,1789,1811,1813,1814,1817],{},"动作响应是",[1722,1810,955],{"to":1788},[1722,1812,1738],{"to":1737},"时交回来的数据。动作分三种：什么都不交回的（最常见），响应可有可无的，以及总是有响应的。这在你写 YAML 时很重要：没有响应的动作不能设置 ",[1751,1815,1816],{},"response_variable","，响应可选的可以设，总是有响应的必须设。",[1727,1819,1821],{"id":1820},"term-action-targets","动作目标",[1718,1823,1824,1825,1828,1829,1831,1832,1834,1835,1839,1840,1844,1845,1848,1849,1852,1853,1855],{},"动作目标是",[1722,1826,1827],{"to":1737},"执行动作","时，动作作用的",[1722,1830,1743],{"to":1742},"、",[1722,1833,1748],{"to":1747},"或",[1722,1836,1838],{"to":1837},"area","区域","。在编辑器里，你在",[1841,1842,1843],"strong",{},"目标","下选择它们；在 YAML 里，它们写在 ",[1751,1846,1847],{},"target"," 下。比如，以客厅为目标的 ",[1751,1850,1851],{},"light.turn_off"," 会关掉客厅里所有的灯。",[1722,1854,473],{"to":1724}," 会根据目标区域自己找出需要关掉哪些实体。",[1718,1857,1858],{},"不是所有动作都支持目标。",[1727,1860,1838],{"id":1861},"term-area",[1718,1863,1864,1866,1867,1744,1869,1871,1872,1874],{},[1722,1865,473],{"to":1724}," 中的区域是对",[1722,1868,1743],{"to":1742},[1722,1870,1748],{"to":1747},"的逻辑分组，用来对应现实世界中的区域（或房间）：你的家。区域用来把设备和实体归到一起，比如归到客厅。区域让你对家里一目了然，还可以用来让",[1722,1873,955],{"to":1788},"以某个区域为目标，比如关掉客厅里所有的灯。",[1718,1876,1877],{},[1773,1878,1881],{"href":1879,"rel":1880},"https:\u002F\u002Fwww.home-assistant.io\u002Fdocs\u002Forganizing\u002Fareas\u002F",[1777],"在 Home Assistant 官方文档中了解更多关于区域的内容",[1727,1883,269],{"id":1884},"term-automation",[1718,1886,1887,1889,1890,1892,1893,1897,1898,1901],{},[1722,1888,473],{"to":1724}," 中的自动化是一组触发条件和",[1722,1891,955],{"to":1788},"，触发条件一触发，动作就会自动执行。比如，可以创建一个自动化，在运动传感器检测到移动时自动开灯。自动化是 Home Assistant 的核心；正是它让 Home Assistant 成为一个家庭自动化平台。它是把其他所有",[1722,1894,1896],{"to":1895},"integration","集成","粘在一起的胶水，也是让你的家变得智能又舒适的东西。自动化可以用",[1722,1899,340],{"to":1900},"blueprint","的形式在社区里分享。",[1718,1903,1904],{},[1773,1905,1778],{"href":1906,"rel":1907},"https:\u002F\u002Fwww.home-assistant.io\u002Fgetting-started\u002Fconcepts-terminology\u002F#automations",[1777],[1727,1909,340],{"id":1910},"term-blueprint",[1718,1912,1913,1915,1916,1834,1919,1922],{},[1722,1914,473],{"to":1724}," 中的蓝图是可复用的",[1722,1917,269],{"to":1918},"automation",[1722,1920,740],{"to":1921},"script","，由社区创建和分享，可以导入到你的 Home Assistant 实例中。它们是学习如何让家自动化的好办法，也是新自动化点子的灵感来源，或者只是一个轻松起步的方式。蓝图是和别人分享你的自动化作品的好方法，让别人也能用到自己家里。",[1718,1924,1925],{},[1773,1926,1778],{"href":1927,"rel":1928},"https:\u002F\u002Fwww.home-assistant.io\u002Fdocs\u002Fblueprint\u002F",[1777],[1727,1930,1932],{"id":1931},"term-boolean","布尔值",[1718,1934,1935,1936,1939,1940,1769],{},"布尔值是一种只能有两个值的数据类型：",[1751,1937,1938],{},"true"," 或 ",[1751,1941,1942],{},"false",[1718,1944,1945,1946,1948,1949,1953,1954,1939,1957,1960,1961,1939,1963,1769],{},"在 ",[1722,1947,473],{"to":1724}," 中，你大多是在使用 ",[1722,1950,1952],{"to":1951},"yaml","YAML"," 时碰到这个词。在 YAML 中，布尔值也可以写成 ",[1751,1955,1956],{},"yes",[1751,1958,1959],{},"no","；不过建议只用 ",[1751,1962,1938],{},[1751,1964,1942],{},[1718,1966,1967,1968,1970,1971,1973,1974,1978,1979,1981,1982,1985],{},"因为 ",[1751,1969,1956],{}," 和 ",[1751,1972,1959],{}," 在 YAML 中是布尔值，当你本来想用",[1722,1975,1977],{"to":1976},"string","字符串值","时，它们可能会造成混淆。比如，",[1751,1980,1956],{}," 是布尔值，而 ",[1751,1983,1984],{},"\"yes\""," 是字符串值。",[1727,1987,968],{"id":1988},"term-condition",[1718,1990,1991,1992,1834,1994,1996,1997,1999],{},"条件决定一个",[1722,1993,269],{"to":1918},[1722,1995,740],{"to":1921},"是否继续下去。放在触发条件和",[1722,1998,955],{"to":1788},"之间的条件，是整次运行的一道闸门：不通过的话，一个动作都不会执行。",[1718,2001,2002,2003,2006,2007,1939,2010,2013],{},"条件也用在",[1722,2004,2005],{"to":1767},"序列","里面，放在 ",[1751,2008,2009],{},"if",[1751,2011,2012],{},"choose"," 块中。在那里它们只决定运行哪个分支，没运行的分支不会影响序列的其余部分。",[1718,2015,2016,2018,2019,1939,2022,2025,2026,1939,2029,2032],{},[1722,2017,1896],{"to":1895},"可以提供自己的条件，Spook 就是这样添加条件的。这些条件以提供它们的集成命名，比如 ",[1751,2020,2021],{},"sun.is_up",[1751,2023,2024],{},"spook.triggered_by_user","，而 Home Assistant 本身内置的条件，比如 ",[1751,2027,2028],{},"state",[1751,2030,2031],{},"template","，根本没有前缀。",[1718,2034,2035],{},[1773,2036,1778],{"href":2037,"rel":2038},"https:\u002F\u002Fwww.home-assistant.io\u002Fdocs\u002Fscripts\u002Fconditions\u002F",[1777],[1727,2040,370],{"id":2041},"term-dashboard",[1718,2043,2044,2046,2047,2049],{},[1722,2045,473],{"to":1724}," 中的仪表盘是一个用户界面，用来显示你家里的信息，并控制家里的",[1722,2048,1748],{"to":1747},"。仪表盘用来做一个控制你家的界面，比如开灯或者查看当前温度。仪表盘完全可以自定义，做法也有很多种。有一个活跃的社区在分享他们的仪表盘，让你为自己的仪表盘找到灵感和点子。",[1718,2051,2052],{},"你可能会碰到“Lovelace”这个词，那是仪表盘最初用的代号。",[1718,2054,2055],{},[1773,2056,1778],{"href":2057,"rel":2058},"https:\u002F\u002Fwww.home-assistant.io\u002Fgetting-started\u002Fconcepts-terminology\u002F#dashboards",[1777],[1727,2060,1743],{"id":2061},"term-device",[1718,2063,2064,2066,2067,2069],{},[1722,2065,473],{"to":1724}," 中的设备代表你家里的一个实物设备，不过设备也可以代表一个网络服务，比如提供天气信息的服务。设备是对",[1722,2068,1748],{"to":1747},"的逻辑分组。比如，一个能测量温度、湿度和气压的设备会有三个实体：一个温度传感器、一个湿度传感器和一个气压传感器。这三个实体都属于同一个设备。",[1718,2071,2072],{},[1773,2073,1778],{"href":2074,"rel":2075},"https:\u002F\u002Fwww.home-assistant.io\u002Fgetting-started\u002Fconcepts-terminology\u002F#devices--entities",[1777],[1727,2077,2079],{"id":2078},"term-ectoplasm","灵质",[1718,2081,2082,2086,2087,2090],{},[1773,2083,2079],{"href":2084,"rel":2085},"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FEctoplasm_(paranormal)",[1777],"是唯灵论中的一个术语，指由灵媒“外化”出来的一种物质或灵能。或者流行文化里的版本：鬼魂留下的绿色黏液，就像 ",[1773,2088,2089],{"href":2089},"wiki:Ghostbuster"," 里那样。",[1718,2092,2093,2094,2096,2097,2102,2103,2105],{},"Spook 用灵质给 ",[1722,2095,473],{"to":1724}," 的功能加上吓人的新高级行为。在 ",[1773,2098,2101],{"href":2099,"rel":2100},"https:\u002F\u002Fgithub.com\u002Ffrenck\u002Fspook",[1777],"Spook 的源代码","内部，灵质是一个可以应用到 Home Assistant ",[1722,2104,1896],{"to":1895},"上的模块。",[1727,2107,1748],{"id":2108},"term-entity",[1718,2110,2111,2113,2114,2116],{},[1722,2112,473],{"to":1724}," 中的实体代表一个单独的数据点或单独的功能，大多数情况下属于某个设备。实体用来监测物理属性，或者控制",[1722,2115,1743],{"to":1742},"的功能。实体是 Home Assistant 的基本构件。",[1718,2118,2119],{},"实体有一个状态，告诉你这个实体当前的情况，比如开或关、打开或关闭，或者一个温度。",[1718,2121,2122],{},"实体有不同的类型。比如，灯实体用来控制灯，开关实体用来控制开关，传感器实体用来显示传感器的数值。",[1718,2124,2125],{},[1773,2126,1778],{"href":2074,"rel":2127},[1777],[1727,2129,2131],{"id":2130},"term-entity-id","实体标识符",[1718,2133,2134,2136,2137,2139,2140,1831,2142,2144],{},[1722,2135,473],{"to":1724}," 中的实体标识符是",[1722,2138,1748],{"to":1747},"的一个可由用户定义的标识符。它用来在",[1722,2141,269],{"to":1918},[1722,2143,740],{"to":1921},"和仪表盘等地方引用实际的实体。实体第一次创建时，Home Assistant 会自动生成实体标识符。",[1727,2146,2148],{"id":2147},"term-float","浮点数",[1718,2150,2151,2152,2155,2156,2159],{},"浮点数是一种数据类型，是可以带小数点的数字的一个更技术化的叫法。比如，",[1751,2153,2154],{},"2.5"," 是浮点数，而 ",[1751,2157,2158],{},"2"," 也是一个有效的浮点数值。",[1718,2161,1945,2162,1948,2164,2166,2167,2170,2171,2173,2174,2177],{},[1722,2163,473],{"to":1724},[1722,2165,1952],{"to":1951}," 时碰到这个词。浮点数（和",[1722,2168,2169],{"to":1976},"字符串","不同）在 YAML 中不加引号，直接原样写出。比如，",[1751,2172,2154],{}," 在 YAML 中是浮点数（因此当作数值处理），而 ",[1751,2175,2176],{},"\"2.5\""," 在 YAML 中是字符串（因此当作文本处理）。",[1718,2179,2180,2181,2185],{},"浮点数常常和",[1722,2182,2184],{"to":2183},"integer","整数","搞混。它们看起来很像；区别在于浮点数可以带小数点，而整数不能。这也意味着所有整数都是浮点数，但不是所有浮点数都是整数。",[1727,2187,2189],{"id":2188},"term-floor","楼层",[1718,2191,2192,2194,2195,2197,2198,2200],{},[1722,2193,473],{"to":1724}," 中的楼层是对",[1722,2196,1838],{"to":1837},"的逻辑分组，用来对应现实世界中的楼层（或层）：你的家。楼层用来把你家里同一层的区域归到一起。楼层让你对家里一目了然，还可以用来让",[1722,2199,955],{"to":1737},"以某个楼层为目标，比如关掉一楼所有的灯。",[1718,2202,2203],{},[1773,2204,2207],{"href":2205,"rel":2206},"https:\u002F\u002Fwww.home-assistant.io\u002Fdocs\u002Forganizing\u002Ffloors\u002F",[1777],"在 Home Assistant 官方文档中了解更多关于楼层的内容",[1727,2209,2211],{"id":2210},"term-hacs","HACS",[1718,2213,2214,2215,2217,2218,2220],{},"Home Assistant Community Store。一个面向 ",[1722,2216,473],{"to":1724}," 的第三方",[1722,2219,1896],{"to":1895},"商店，提供标准 Home Assistant 安装里没有的自定义集成。",[1718,2222,2223,2224,2228],{},"从 Home Assistant 2026.11 起，HACS 成了 Home Assistant 本身的一部分，也就是 ",[1722,2225,2227],{"to":2226},"marketplace","Marketplace","。在更旧的 Home Assistant 版本上，安装 Spook 仍然要用 HACS。",[1718,2230,2231],{},[1773,2232,2235],{"href":2233,"rel":2234},"https:\u002F\u002Fhacs.xyz",[1777],"在 HACS 网站上了解更多",[1727,2237,905],{"id":2238},"term-helper",[1718,2240,2241,2243,2244,2247,2248,2247,2251,2253,2254,2256,2257,2259],{},[1722,2242,473],{"to":1724}," 中的辅助元素是你在",[1841,2245,2246],{},"设置"," > ",[1841,2249,2250],{},"设备与服务",[1841,2252,905],{},"中设置的一种",[1722,2255,1896],{"to":1895},"。有些给你一个可以手动设置的东西，比如一个开关、一个数字，或者一个可供选择的列表。另一些拿一个现有的",[1722,2258,1748],{"to":1747},"（或多个实体），对它做点什么，再把结果作为一个新实体给你。Spook 添加了几个第二种。",[1727,2261,473],{"id":2262},"term-home-assistant",[1718,2264,2265,2266,2268,2269,2271],{},"Home Assistant 是一个出色的免费开源家庭",[1722,2267,269],{"to":1918},"平台。跟踪和控制家里所有的",[1722,2270,1743],{"to":1742},"，并让控制自动化。",[1718,2273,2274,2275,1769],{},"Spook 是 Home Assistant 的一个",[1722,2276,2277],{"to":1895},"自定义集成",[1718,2279,2280],{},[1773,2281,2284],{"href":2282,"rel":2283},"https:\u002F\u002Fwww.home-assistant.io\u002F",[1777],"访问 Home Assistant 网站",[1727,2286,431],{"id":2287},"term-home-assistant-link",[1718,2289,2290,2291,2295],{},"Home Assistant Link（以前叫 ",[2292,2293,2294],"span",{},"Home Assistant Cloud","）让你可以把 Home Assistant 和 Amazon Alexa、Google Assistant 这样的云服务一起用，还提供对你 Home Assistant 实例的远程访问，不用折腾动态 DNS、SSL 证书，也不用在路由器上开端口。",[1718,2297,2298,2299,2304],{},"Home Assistant Link 服务由 ",[1773,2300,2303],{"href":2301,"rel":2302},"https:\u002F\u002Fwww.nabucasa.com",[1777],"Nabu Casa"," 提供。这些服务的收入用于资助 Home Assistant 的开发，以及开放家居社区中的相关项目。请考虑订阅 Home Assistant Link 服务，支持 Home Assistant 的开发。🙏",[1718,2306,2307],{},[1773,2308,2311],{"href":2309,"rel":2310},"https:\u002F\u002Fwww.nabucasa.com\u002F",[1777],"在 Nabu Casa 网站上了解更多",[1727,2313,2315],{"id":2314},"term-influence-of-spook","Spook 的作用",[1718,2317,2318,2319,2321],{},"Spook 在 ",[1722,2320,473],{"to":1724}," 某个具体功能中所起的作用。有时，Spook 添加的是以前根本不存在的全新功能；有时，它会修改、扩展或改进现有功能。Spook 记录了自己的影响，让你一眼就能看出哪些功能是因为它才有的。",[1727,2323,2184],{"id":2324},"term-integer",[1718,2326,2327,2328,2330,2331,2333],{},"整数是一种数据类型，是不带小数点的数字的一个更技术化的叫法。比如，",[1751,2329,2158],{}," 是整数，而 ",[1751,2332,2154],{}," 不是。",[1718,2335,1945,2336,1948,2338,2340,2341,2170,2343,2345,2346,2177],{},[1722,2337,473],{"to":1724},[1722,2339,1952],{"to":1951}," 时碰到这个词。整数（和",[1722,2342,2169],{"to":1976},[1751,2344,2158],{}," 在 YAML 中是整数（因此当作数字处理），而 ",[1751,2347,2348],{},"\"2\"",[1727,2350,1896],{"id":2351},"term-integration",[1718,2353,2354,2356,2357,1834,2359,2361],{},[1722,2355,473],{"to":1724}," 中的集成是一个组件，让你可以把一个",[1722,2358,1743],{"to":1742},[1722,2360,955],{"to":1788},"接入你的 Home Assistant 安装。Home Assistant 开箱即带一千多个集成，你也可以安装自己的自定义集成。",[1718,2363,2364],{},"不过，自定义集成不受 Home Assistant 项目支持。它们没有经过 Home Assistant 开发团队的审查或测试，所以可能会对你的 Home Assistant 实例的稳定性造成负面影响。",[1718,2366,2367,2368,2370],{},"Spook 👻 是 Home Assistant 的一个自定义集成，可以通过 ",[1722,2369,2227],{"to":2226}," 获取。",[1727,2372,2374],{"id":2373},"term-integration-entry","集成条目",[1718,2376,2377,2379,2380,2382],{},[1722,2378,473],{"to":1724}," 中的集成条目是",[1722,2381,1896],{"to":1895},"的一份配置。简单说，就是你在集成页面上看到的那份配置。大多数集成可以设置多次（比如添加两个 Hue 网桥，或者多个 ESPHome 设备），每一个就是一个集成条目。",[1718,2384,2385,2386,2388,2389,2392],{},"Home Assistant 自己的开发者文档管它叫“config entry”，在 ",[1722,2387,1952],{"to":1951}," 中使用时你仍然会看到 ",[1751,2390,2391],{},"config_entry_id","。那是从开发者源代码里漏到用户空间的技术术语，所以 Spook 改说“集成条目”。",[1727,2394,2396],{"id":2395},"term-label","标签",[1718,2398,2399,2401,2402,1831,2404,1834,2406,2408,2409,1834,2411,2413,2414,2416],{},[1722,2400,473],{"to":1724}," 中的标签是你自己编的一个标记，用来建立你自己整理东西的方式。你可以给",[1722,2403,1743],{"to":1742},[1722,2405,1748],{"to":1747},[1722,2407,1838],{"to":1837},"贴上一个或多个标签。标签可以筛选用户界面中的表格，你还可以在",[1722,2410,269],{"to":1918},[1722,2412,740],{"to":1921},"中让",[1722,2415,955],{"to":1737},"以它们为目标。",[1718,2418,2419],{},[1773,2420,2423],{"href":2421,"rel":2422},"https:\u002F\u002Fwww.home-assistant.io\u002Fdocs\u002Forganizing\u002Flabels\u002F",[1777],"在 Home Assistant 官方文档中了解更多关于标签的内容",[1727,2425,2427],{"id":2426},"term-list","列表",[1718,2429,2430,2431,2433,2434,1769],{},"列表是一种数据类型，是一组项目的一个更技术化的叫法。比如，一个",[1722,2432,2184],{"to":2183},"列表：",[1751,2435,2436],{},"[1, 2, 3]",[1718,2438,1945,2439,1948,2441,2443,2444,2446,2447,2449],{},[1722,2440,473],{"to":1724},[1722,2442,1952],{"to":1951}," 时碰到这个词。列表的同义词有数组和序列。不过，Home Assistant 中的",[1722,2445,2005],{"to":1767},"大多指的是一个",[1722,2448,955],{"to":1788},"列表。",[1718,2451,2452,2453,2456,2457,2460,2461,2464],{},"列表在 YAML 中有两种写法。一种是方括号语法，比如 ",[1751,2454,2455],{},"[\"one\", \"two\", \"three\"]","。另一种把每一项放在单独一行，以连字符开头，比如 ",[1751,2458,2459],{},"- \"one\"","（和 ",[1751,2462,2463],{},"[\"one\"]"," 一样）。第二种占的行更多，但读起来更容易，所以大多数人用它。下面两种写的是同一个列表：",[2466,2467,2471],"pre",{"className":2468,"code":2469,"language":1951,"meta":2470,"style":2470},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","brackets: [\"one\", \"two\", \"three\"]\nnewlines:\n  - \"one\"\n  - \"two\"\n  - \"three\"\n","",[1751,2472,2473,2519,2527,2539,2549],{"__ignoreMap":2470},[2292,2474,2476,2480,2484,2487,2490,2494,2496,2499,2502,2505,2507,2509,2511,2514,2516],{"class":2475,"line":215},"line",[2292,2477,2479],{"class":2478},"swJcz","brackets",[2292,2481,2483],{"class":2482},"sMK4o",":",[2292,2485,2486],{"class":2482}," [",[2292,2488,2489],{"class":2482},"\"",[2292,2491,2493],{"class":2492},"sfazB","one",[2292,2495,2489],{"class":2482},[2292,2497,2498],{"class":2482},",",[2292,2500,2501],{"class":2482}," \"",[2292,2503,2504],{"class":2492},"two",[2292,2506,2489],{"class":2482},[2292,2508,2498],{"class":2482},[2292,2510,2501],{"class":2482},[2292,2512,2513],{"class":2492},"three",[2292,2515,2489],{"class":2482},[2292,2517,2518],{"class":2482},"]\n",[2292,2520,2521,2524],{"class":2475,"line":194},[2292,2522,2523],{"class":2478},"newlines",[2292,2525,2526],{"class":2482},":\n",[2292,2528,2529,2532,2534,2536],{"class":2475,"line":29},[2292,2530,2531],{"class":2482},"  -",[2292,2533,2501],{"class":2482},[2292,2535,2493],{"class":2492},[2292,2537,2538],{"class":2482},"\"\n",[2292,2540,2541,2543,2545,2547],{"class":2475,"line":42},[2292,2542,2531],{"class":2482},[2292,2544,2501],{"class":2482},[2292,2546,2504],{"class":2492},[2292,2548,2538],{"class":2482},[2292,2550,2551,2553,2555,2557],{"class":2475,"line":118},[2292,2552,2531],{"class":2482},[2292,2554,2501],{"class":2482},[2292,2556,2513],{"class":2492},[2292,2558,2538],{"class":2482},[1727,2560,2227],{"id":2561},"term-marketplace",[1718,2563,2564,2566,2567,2569,2570,2572,2573,2575,2576,2579],{},[1722,2565,473],{"to":1724}," 中安装社区作品的地方，比如自定义",[1722,2568,1896],{"to":1895},"、仪表盘卡片和主题。你在",[1841,2571,2246],{},"下的 ",[1841,2574,2227],{}," 找到它。它从 2026.11 版本起内置于 Home Assistant，由 ",[1722,2577,2211],{"to":2578},"hacs"," 发展而来。",[1718,2581,2582],{},"你从 Marketplace 安装的东西是社区做的，不是 Home Assistant 项目做的，Home Assistant 项目也不为它们提供支持。Spook 👻 就是其中之一。",[1718,2584,2585],{},[1773,2586,1778],{"href":2587,"rel":2588},"https:\u002F\u002Fwww.home-assistant.io\u002Fintegrations\u002Fmarketplace\u002F",[1777],[1727,2590,2592],{"id":2591},"term-my-home-assistant","My Home Assistant",[1718,2594,2595,2596,2598,2599,2604],{},"My Home Assistant 是 ",[1722,2597,473],{"to":1724}," 项目提供的一个网络服务，让文档和网站（比如这个）可以把你直接链接到你自己 Home Assistant 里的某个页面。在 ",[1773,2600,2603],{"href":2601,"rel":2602},"https:\u002F\u002Fmy.home-assistant.io\u002Ffaq\u002F",[1777],"My Home Assistant 常见问题","中了解更多。",[1727,2606,1827],{"id":2607},"term-performing-actions",[1718,2609,2610,2612,2613,1834,2615,2617,2618,2622],{},[1722,2611,955],{"to":1788},"可以在不同场合执行，比如作为",[1722,2614,269],{"to":1918},[1722,2616,740],{"to":1921},"序列中的一步，或者在",[1722,2619,2621],{"to":2620},"tools","工具","里手动执行。",[1718,2624,2625,2626,1831,2628,1834,2630,2632,2633,2635],{},"动作以特定的",[1722,2627,1743],{"to":1742},[1722,2629,1748],{"to":1747},[1722,2631,1838],{"to":1837},"为目标。比如，在客厅区域上执行 ",[1751,2634,1851],{}," 动作，会关掉里面所有的灯。",[1718,2637,2638],{},[1773,2639,1778],{"href":1775,"rel":2640},[1777],[1727,2642,696],{"id":2643},"term-repairs",[1718,2645,2646,2648,2649,2247,2651,2653],{},[1722,2647,473],{"to":1724}," 中的修复页面列出了在你的 Home Assistant 实例中检测到的问题。时不时看一眼是值得的。一个问题通常会告诉你该怎么处理，经常附带一个文档链接，有时还有一个替你修好它的按钮。你在",[1841,2650,2246],{},[1841,2652,696],{},"下找到它。",[1718,2655,2656],{},[1773,2657,1778],{"href":2658,"rel":2659},"https:\u002F\u002Fwww.home-assistant.io\u002Fintegrations\u002Frepairs",[1777],[1727,2661,718],{"id":2662},"term-scene",[1718,2664,2665,2667,2668,2670],{},[1722,2666,473],{"to":1724}," 中的场景是一组",[1722,2669,1748],{"to":1747},"及其状态。场景用来给一组实体设置预先定义好的状态。比如，一个场景可以把客厅的灯设成特定的颜色和亮度，把媒体播放器设成特定的音量。激活这个场景，一切就都恢复成那个样子。",[1718,2672,2673,2674,2676],{},"场景可能是 Home Assistant 中最被低估的功能之一。它们真的很有用，能让你的",[1722,2675,269],{"to":1918},"简单很多。",[1718,2678,2679],{},[1773,2680,1778],{"href":2681,"rel":2682},"https:\u002F\u002Fwww.home-assistant.io\u002Fgetting-started\u002Fconcepts-terminology\u002F#scenes",[1777],[1727,2684,740],{"id":2685},"term-script",[1718,2687,2688,2690,2691,2693,2694,2696],{},[1722,2689,473],{"to":1724}," 中的脚本是一串动作，在你启动它时运行，可以从仪表盘启动，也可以在自动化中通过",[1722,2692,1827],{"to":1737},"来启动。脚本和",[1722,2695,269],{"to":1918},"类似，但没有触发条件：只有在有东西启动它们时才会运行。脚本是把一串动作归到一起的好办法，可以随时执行，还能在多个自动化中复用。",[1718,2698,2699],{},[1773,2700,1778],{"href":2701,"rel":2702},"https:\u002F\u002Fwww.home-assistant.io\u002Fgetting-started\u002Fconcepts-terminology\u002F#scripts",[1777],[1727,2704,2005],{"id":2705},"term-sequence",[1718,2707,2708,2710,2711,2713,2714,1744,2716,2718],{},[1722,2709,473],{"to":1724}," 中的序列是一个按顺序执行的",[1722,2712,955],{"to":1788},"列表。序列用在",[1722,2715,269],{"to":1918},[1722,2717,740],{"to":1921},"中，以特定的顺序执行多个动作。",[1718,2720,2721],{},[1773,2722,1778],{"href":2723,"rel":2724},"https:\u002F\u002Fwww.home-assistant.io\u002Fdocs\u002Fscripts",[1777],[1727,2726,2728],{"id":2727},"term-service","服务",[1718,2730,2731,2732,2734,2735,2737],{},"服务曾是 ",[1722,2733,473],{"to":1724}," 中一个含义模糊的词。它已经完全被",[1722,2736,955],{"to":1788},"取代。",[1727,2739,2741],{"id":2740},"term-service-call","服务调用",[1718,2743,2744,2745,1769],{},"Home Assistant 中的服务调用已经改了名，现在叫做",[1722,2746,1827],{"to":1737},[1727,2748,2169],{"id":2749},"term-string",[1718,2751,2752],{},"字符串是一种由一串字符组成的数据类型。本质上，字符串就是“文本”的一个更技术化的叫法。",[1718,2754,1945,2755,1948,2757,2759,2760,2763,2764,2767,2768,2771],{},[1722,2756,473],{"to":1724},[1722,2758,1952],{"to":1951}," 时碰到这个词。在 YAML 中，使用字符串（文本）的最佳做法是始终用引号把它们括起来。比如，",[1751,2761,2762],{},"\"Hello World\"","。这不是必须的，但是个值得遵循的好习惯，因为它能让你避开 YAML 中一些特殊情况带来的问题（比如，不加引号的文本 ",[1751,2765,2766],{},"off"," 不会被当作字符串，而是被当作",[1722,2769,1932],{"to":2770},"boolean","）。",[1727,2773,2775],{"id":2774},"term-template","模板",[1718,2777,2778,2779,2781,2782,2787],{},"模板是 ",[1722,2780,473],{"to":1724}," 的一个高级功能，让你可以用 ",[1773,2783,2786],{"href":2784,"rel":2785},"https:\u002F\u002Fpalletsprojects.com\u002Fp\u002Fjinja",[1777],"Jinja2"," 模板引擎动态生成值。模板用的语法非常接近编程语言的概念，能让你对数据做复杂的操作。",[1718,2789,2790],{},[1773,2791,1778],{"href":2792,"rel":2793},"https:\u002F\u002Fwww.home-assistant.io\u002Fdocs\u002Fconfiguration\u002Ftemplating\u002F",[1777],[1727,2795,2797],{"id":2796},"term-template-engine","模板引擎",[1718,2799,2800,2802,2803,2806,2807,2809],{},[1722,2801,473],{"to":1724}," 中的模板引擎是一个 ",[1773,2804,2786],{"href":2784,"rel":2805},[1777]," 模板引擎，加上了 Home Assistant 特有的功能。这个引擎接收一个",[1722,2808,2775],{"to":2031},"，处理它，然后返回得到的值。",[1718,2811,2812],{},[1773,2813,1778],{"href":2792,"rel":2814},[1777],[1727,2816,2818],{"id":2817},"term-template-filter-function","模板过滤器函数",[1718,2820,2821,2822,2826,2827,2829,2830,2833,2834,2837,2838,2841,2842,2845,2846,2849,2850,2845,2853,1769],{},"过滤器是一种特殊的",[1722,2823,2825],{"to":2824},"template function","模板函数","，可以用来修改",[1722,2828,2775],{"to":2031},"的输出。比如，",[1751,2831,2832],{},"lower"," 过滤器可以把字符串转成小写。过滤器的语法大概是从 ",[1773,2835,2836],{"href":2836},"wiki:UNIX"," 那里得到的灵感。思路是加一个管道符 ",[1751,2839,2840],{},"|","，把一个值“管道”传给一些过滤器，对它做点什么。比如，",[1751,2843,2844],{},"{{ \"SPOOK\" | lower }}"," 会输出 ",[1751,2847,2848],{},"spook","。过滤器还可以串起来用，比如，",[1751,2851,2852],{},"{{ \"SPOOK\" | lower | capitalize }}",[1751,2854,2855],{},"Spook",[1718,2857,2858,2859,2861],{},"大多数",[1722,2860,2825],{"to":2824},"也可以当作过滤器使用。",[1718,2863,2864],{},[1773,2865,1778],{"href":2792,"rel":2866},[1777],[1718,2868,2869],{},[1773,2870,2873],{"href":2871,"rel":2872},"https:\u002F\u002Fjinja.palletsprojects.com\u002Fen\u002F3.0.x\u002Ftemplates\u002F#filters",[1777],"在 Jinja2 文档中了解更多",[1727,2875,2825],{"id":2876},"term-template-function",[1718,2878,2879,2880,2882,2883,2886,2887,2890,2891,2893],{},"模板函数是可以在",[1722,2881,2775],{"to":2031},"中使用的函数。模板函数用来对数据做操作。比如，",[1751,2884,2885],{},"now()"," 函数返回当前的日期和时间，",[1751,2888,2889],{},"is_state()"," 函数检查一个",[1722,2892,1748],{"to":1747},"是否处于某个特定状态。",[1718,2895,2896],{},[1773,2897,1778],{"href":2792,"rel":2898},[1777],[1727,2900,2902],{"id":2901},"term-template-function-return-type","模板函数返回类型",[1718,2904,2905,2906,2908,2909,2913,2914,2917,2918,2920],{},"调用一个",[1722,2907,2825],{"to":2824},"时，它会返回",[1722,2910,2912],{"to":2911},"template function return value","一个值","。返回的值可以是不同的类型。比如，如果返回的是一个数值，它的返回类型可能是",[1722,2915,2148],{"to":2916},"float","。如果返回的是真或假的结果，那就是一个",[1722,2919,1932],{"to":2770},"。可以返回的值有很多种类型。",[1718,2922,2923],{},[1773,2924,1778],{"href":2792,"rel":2925},[1777],[1727,2927,2929],{"id":2928},"term-template-function-return-value","模板函数返回值",[1718,2931,2932,2933,2935,2936,2886,2938,2940,2941,2943,2944,2893],{},"模板函数返回值是",[1722,2934,2825],{"to":2824},"被调用时交回来的值。你可以在下一步中使用它，比如作为另一个模板函数的输入。比如，",[1751,2937,2885],{},[1751,2939,2889],{}," 函数返回一个",[1722,2942,1932],{"to":2770},"，表示一个",[1722,2945,1748],{"to":1747},[1718,2947,2948],{},[1773,2949,1778],{"href":2792,"rel":2950},[1777],[1727,2952,2954],{"id":2953},"term-template-test-function","模板测试函数",[1718,2956,2957,2958,2960,2961,2964,2965,2968,2969,2972,2973,2968,2976,1769],{},"测试函数是一种特殊的",[1722,2959,2825],{"to":2824},"，可以用来检查一个条件是真还是假。在模板里，它们使用 ",[1751,2962,2963],{},"is"," 运算符。比如 ",[1751,2966,2967],{},"3 is odd"," 会返回 ",[1751,2970,2971],{},"True","，而 ",[1751,2974,2975],{},"3 is even",[1751,2977,2978],{},"False",[1718,2980,2981],{},[1773,2982,1778],{"href":2792,"rel":2983},[1777],[1718,2985,2986],{},[1773,2987,2873],{"href":2988,"rel":2989},"https:\u002F\u002Fjinja.palletsprojects.com\u002Fen\u002F3.0.x\u002Ftemplates\u002F#tests",[1777],[1727,2991,2621],{"id":2992},"term-tools",[1718,2994,2995,2997,2998,2247,3000,3002,3003,3005,3006,3008,3009,1769],{},[1722,2996,473],{"to":1724}," 中的工具是一组可以用来检查、调试和摆弄你的 Home Assistant 实例的工具。你在",[1841,2999,2246],{},[1841,3001,2621],{},"下找到它们。听起来可能很技术，但别被吓到。它们可以用来，比如，查看",[1722,3004,1748],{"to":1747},"的状态，试验",[1722,3007,1827],{"to":1737},"，或者测试和调试你的",[1722,3010,2775],{"to":2031},[1718,3012,3013],{},"它们以前叫“开发者工具”，在侧边栏里有自己的位置，直到 Home Assistant 在 2026 年把它们挪了位置并改了名。外面很多指南还是这么叫它们。",[1718,3015,3016],{},[1773,3017,1778],{"href":3018,"rel":3019},"https:\u002F\u002Fwww.home-assistant.io\u002Fdocs\u002Ftools\u002Fdev-tools\u002F",[1777],[1727,3021,980],{"id":3022},"term-trigger",[1718,3024,3025,3026,3028],{},"触发条件是让一个",[1722,3027,269],{"to":1918},"开始运行的东西。发生了某件事，一个状态变了，到了某个时间，触发了一个事件，自动化就运行。一个自动化可以有多个触发条件，其中任意一个触发就够了。",[1718,3030,3031,3032,3035],{},"触发条件不是",[1722,3033,968],{"to":3034},"condition","。触发条件是一个时刻；条件是在那个时刻问的一个问题。",[1718,3037,3038,3040,3041,1939,3044,3047,3048,3051,3052,1939,3055,3058],{},[1722,3039,1896],{"to":1895},"可以提供自己的触发条件，Spook 就是这样添加触发条件的。较新的触发条件以集成和触发的对象命名，比如 ",[1751,3042,3043],{},"sun.sunset",[1751,3045,3046],{},"spook.sequence","。较旧的只以集成命名，细节作为选项给出，比如带 ",[1751,3049,3050],{},"event"," 的 ",[1751,3053,3054],{},"mqtt",[1751,3056,3057],{},"sun","。两种写法都可以用。",[1718,3060,3061],{},[1773,3062,1778],{"href":3063,"rel":3064},"https:\u002F\u002Fwww.home-assistant.io\u002Fdocs\u002Fautomation\u002Ftrigger\u002F",[1777],[1727,3066,1952],{"id":3067},"term-yaml",[1718,3069,3070,3071,3074],{},"复杂的定义是：",[1773,3072,3073],{"href":3073},"wiki:YAML"," 是一种人类可读的数据序列化语言。更简单的解释是：它是一种结构，我们可以用它写出人和机器都能读懂的配置文件。",[1718,3076,3077,3078,3080],{},"它是 ",[1722,3079,473],{"to":1724}," 用来存储配置和数据的格式。YAML 是好格式还是坏格式，好用还是难用，大家意见不一。事实是 Home Assistant 大量使用它，它绝对值得一学。YAML 本身真的没那么复杂，但它确实有一些你需要知道的怪癖。在 Home Assistant 里用 YAML，最复杂的部分不是 YAML 本身，而是你在 Home Assistant 里能用它做的所有事情。",[1718,3082,3083],{},"别被它吓到。你很快就会上手的。",[1718,3085,3086],{},[1773,3087,3090],{"href":3088,"rel":3089},"https:\u002F\u002Fspacelift.io\u002Fblog\u002Fyaml",[1777],"阅读一篇 YAML 教程",[3092,3093,3094],"style",{},"html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":2470,"searchDepth":194,"depth":194,"links":3096},[3097,3098,3099,3100,3101,3102,3103,3104,3105,3106,3107,3108,3109,3110,3111,3112,3113,3114,3115,3116,3117,3118,3119,3120,3121,3122,3123,3124,3125,3126,3127,3128,3129,3130,3131,3132,3133,3134,3135,3136,3137,3138,3139,3140,3141,3142],{"id":1729,"depth":194,"text":955},{"id":1781,"depth":194,"text":1782},{"id":1804,"depth":194,"text":1805},{"id":1820,"depth":194,"text":1821},{"id":1861,"depth":194,"text":1838},{"id":1884,"depth":194,"text":269},{"id":1910,"depth":194,"text":340},{"id":1931,"depth":194,"text":1932},{"id":1988,"depth":194,"text":968},{"id":2041,"depth":194,"text":370},{"id":2061,"depth":194,"text":1743},{"id":2078,"depth":194,"text":2079},{"id":2108,"depth":194,"text":1748},{"id":2130,"depth":194,"text":2131},{"id":2147,"depth":194,"text":2148},{"id":2188,"depth":194,"text":2189},{"id":2210,"depth":194,"text":2211},{"id":2238,"depth":194,"text":905},{"id":2262,"depth":194,"text":473},{"id":2287,"depth":194,"text":431},{"id":2314,"depth":194,"text":2315},{"id":2324,"depth":194,"text":2184},{"id":2351,"depth":194,"text":1896},{"id":2373,"depth":194,"text":2374},{"id":2395,"depth":194,"text":2396},{"id":2426,"depth":194,"text":2427},{"id":2561,"depth":194,"text":2227},{"id":2591,"depth":194,"text":2592},{"id":2607,"depth":194,"text":1827},{"id":2643,"depth":194,"text":696},{"id":2662,"depth":194,"text":718},{"id":2685,"depth":194,"text":740},{"id":2705,"depth":194,"text":2005},{"id":2727,"depth":194,"text":2728},{"id":2740,"depth":194,"text":2741},{"id":2749,"depth":194,"text":2169},{"id":2774,"depth":194,"text":2775},{"id":2796,"depth":194,"text":2797},{"id":2817,"depth":194,"text":2818},{"id":2876,"depth":194,"text":2825},{"id":2901,"depth":194,"text":2902},{"id":2928,"depth":194,"text":2929},{"id":2953,"depth":194,"text":2954},{"id":2992,"depth":194,"text":2621},{"id":3022,"depth":194,"text":980},{"id":3067,"depth":194,"text":1952},"md",{"subtitle":3145,"offers":3146,"counts":3147,"repairs":3148,"sections":1008},"这到底是什么意思？",[],{},[],"glossary",{"title":1000,"description":1001},"oWQTs-ZOpi_GjoK75u7z8S1X3_YkL-c3IpYBEd2QPSA",1795717150303,"88e67443-85a8-4de6-b8fb-10c47bf925d8"]