[{"data":1,"prerenderedAt":5270,"buildId":5271},["ShallowReactive",2],{"$frh4y29kg23n2":3,"docs-items-zh-Hans":9,"spook-counts":1193,"zh-Hans:\u002Flabels":1712,"zh-Hans:modified:03.core-extensions\u002F02.labels":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":122,"body":1714,"description":123,"extension":5262,"links":13,"meta":5263,"navigation":15,"path":121,"reference":13,"seo":5268,"stem":124,"__hash__":5269},"docs_zh_hans\u002F03.core-extensions\u002F02.labels.md",{"type":1715,"value":1716,"toc":5247},"minimark",[1717,1757,1760,1768,1771,1774,1777,1782,1785,1788,1794,1846,1857,1866,2197,2201,2204,2207,2210,2214,2249,2255,2263,2528,2532,2535,2538,2542,2564,2570,2578,2799,2803,2806,2809,2813,2841,2844,2850,2858,3231,3235,3238,3244,3248,3275,3278,3284,3292,3644,3648,3651,3654,3658,3685,3688,3694,3702,4058,4062,4065,4071,4075,4101,4104,4110,4118,4460,4464,4467,4470,4474,4501,4504,4510,4518,4841,4845,4848,4854,4858,4884,4887,4893,4901,5211,5215,5227,5231,5237,5243],[1718,1719,1720,1724,1725,1729,1730,1734,1735,1739,1740,1744,1745,1748,1749,1752,1753,1756],"p",{},[1721,1722,473],"term",{"to":1723},"home assistant"," 里的",[1721,1726,1728],{"to":1727},"label","标签","由你自己来定。你用它们建立自己的整理方式，给",[1721,1731,1733],{"to":1732},"device","设备","、",[1721,1736,1738],{"to":1737},"entity","实体","或",[1721,1741,1743],{"to":1742},"area","区域","贴上一个或多个标签。标签可以筛选界面里的表格，也可以作为",[1721,1746,269],{"to":1747},"automation","和",[1721,1750,740],{"to":1751},"script","里",[1721,1754,955],{"to":1755},"performing actions","的目标：“关掉所有贴着圣诞标签的东西”。",[1718,1758,1759],{},"在 Home Assistant 里，标签要你自己一个一个地贴。Spook 添加了动作，让你的自动化和脚本也能做这件事。这样就有了会自己保持最新的标签：一个“更换电池”标签，在设备电量低时贴上去，换好电池后再取下来。或者随用随建的标签，需要的那一刻才创建。",[1761,1762,1765],"screenshot",{"alt":1763,"name":1764},"添加动作对话框，搜索了标签，Spook 添加的动作带着幽灵标记。","actions-search-label",[1718,1766,1767],{},"添加动作时搜索标签：Spook 的动作带着 👻。",[1769,1770,955],"h2",{"id":90},[1718,1772,1773],{},"Spook 为标签添加了九个动作。在任何能添加动作的地方都能找到它们，带着 👻 标记。它们都属于 Home Assistant Core Integration，所以在列表里它们前面显示的就是这个名称。",[1718,1775,1776],{},"手动运行这些动作时，需要管理员用户。你的自动化和脚本总是可以运行它们。",[1778,1779,1781],"h3",{"id":1780},"create-a-label","创建标签",[1718,1783,1784],{},"为你的 Home Assistant 实例添加一个新标签。",[1718,1786,1787],{},"适合自动化或脚本需要一个还不存在的标签的时候，比如一个为其他自动化准备好标签的初始化脚本，或者每来一位客人就建一个标签。",[1718,1789,1790],{},[1791,1792,1793],"strong",{},"使用方法",[1795,1796,1797,1805,1814,1832,1841],"ol",{},[1798,1799,1800,1801,1804],"li",{},"打开要做这件事的自动化或脚本，选择",[1791,1802,1803],{},"添加动作","。",[1798,1806,1807,1808,1810,1811,1804],{},"搜索",[1791,1809,1781],{},"，然后选择",[1791,1812,1813],{},"Home Assistant Core Integration: 创建标签 👻",[1798,1815,1816,1817,1748,1820,1823,1824,1828,1829,1804],{},"给它填上",[1791,1818,1819],{},"名称",[1791,1821,1822],{},"描述","，比如 ",[1825,1826,1827],"code",{},"Battery powered"," 和 ",[1825,1830,1831],{},"Everything that runs on batteries",[1798,1833,1834,1835,1748,1838,1804],{},"如果你愿意，再选一个",[1791,1836,1837],{},"图标",[1791,1839,1840],{},"颜色",[1798,1842,778,1843,1804],{},[1791,1844,1845],{},"保存",[1718,1847,1848,1849,1856],{},"只想看看效果？",[1850,1851,1855],"a",{"href":1852,"rel":1853},"https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fdeveloper_call_service\u002F?service=homeassistant.create_label",[1854],"nofollow","试试这个动作","会在你的 Home Assistant 里打开它，准备好运行一次。",[1761,1858,1861],{"alt":1859,"name":1860},"动作工具，选中了创建标签 👻，并填好了一个示例。","action-homeassistant-create-label",[1718,1862,1863,1865],{},[1791,1864,1855],{},"打开的界面，填好了一个示例。",[1867,1868,1869,2084,2177],"accordion",{},[1870,1871,1874,1969,2068],"accordion-item",{"icon":1872,"label":1873},"i-mdi-cog-outline","技术细节",[1875,1876,1877,1887],"table",{},[1878,1879,1880],"thead",{},[1881,1882,1883],"tr",{},[1884,1885,1886],"th",{"colspan":194},"动作属性",[1888,1889,1890,1901,1914,1925,1936,1947],"tbody",{},[1881,1891,1892,1898],{},[1893,1894,1895],"td",{},[1721,1896,955],{"to":1897},"action",[1893,1899,1900],{},"创建标签 👻",[1881,1902,1903,1909],{},[1893,1904,1905],{},[1721,1906,1908],{"to":1907},"action name","动作名称",[1893,1910,1911],{},[1825,1912,1913],{},"homeassistant.create_label",[1881,1915,1916,1922],{},[1893,1917,1918],{},[1721,1919,1921],{"to":1920},"action targets","动作目标",[1893,1923,1924],{},"否",[1881,1926,1927,1933],{},[1893,1928,1929],{},[1721,1930,1932],{"to":1931},"action response","动作响应",[1893,1934,1935],{},"无响应",[1881,1937,1938,1944],{},[1893,1939,1940],{},[1721,1941,1943],{"to":1942},"influence of spook","Spook 的作用",[1893,1945,1946],{},"新增动作",[1881,1948,1949,1955],{},[1893,1950,1951],{},[1721,1952,1954],{"to":1953},"tools","工具",[1893,1956,1957,1960,1961],{},[1850,1958,1855],{"href":1852,"rel":1959},[1854]," ",[1850,1962,1964],{"href":1852,"rel":1963},[1854],[1965,1966],"img",{"alt":1967,"src":1968},"打开你的 Home Assistant 实例，显示选中了指定动作的动作工具。","https:\u002F\u002Fmy.home-assistant.io\u002Fbadges\u002Fdeveloper_call_service.svg",[1875,1970,1971,1992],{},[1878,1972,1973,1978],{},[1881,1974,1975],{},[1884,1976,1977],{"colspan":42},"动作数据参数",[1881,1979,1980,1983,1986,1989],{},[1884,1981,1982],{},"属性",[1884,1984,1985],{},"类型",[1884,1987,1988],{},"必填",[1884,1990,1991],{},"默认值 \u002F 示例",[1888,1993,1994,2014,2032,2050],{},[1881,1995,1996,2001,2007,2010],{},[1893,1997,1998],{},[1825,1999,2000],{},"name",[1893,2002,2003],{},[1721,2004,2006],{"to":2005},"string","字符串",[1893,2008,2009],{},"是",[1893,2011,2012],{},[1825,2013,1827],{},[1881,2015,2016,2021,2025,2027],{},[1893,2017,2018],{},[1825,2019,2020],{},"description",[1893,2022,2023],{},[1721,2024,2006],{"to":2005},[1893,2026,1924],{},[1893,2028,2029],{},[1825,2030,2031],{},"Label to tag all battery powered devices",[1881,2033,2034,2039,2043,2045],{},[1893,2035,2036],{},[1825,2037,2038],{},"icon",[1893,2040,2041],{},[1721,2042,2006],{"to":2005},[1893,2044,1924],{},[1893,2046,2047],{},[1825,2048,2049],{},"mdi:battery",[1881,2051,2052,2057,2061,2063],{},[1893,2053,2054],{},[1825,2055,2056],{},"color",[1893,2058,2059],{},[1721,2060,2006],{"to":2005},[1893,2062,1924],{},[1893,2064,2065],{},[1825,2066,2067],{},"indigo",[1718,2069,2070,2071,2073,2074,2077,2078,2080,2081,1804],{},"Home Assistant 根据名称生成标签 ID，所以 ",[1825,2072,1827],{}," 会变成 ",[1825,2075,2076],{},"battery_powered","。除了列表里的主题颜色，",[1825,2079,2056],{}," 也接受十六进制颜色，比如 ",[1825,2082,2083],{},"#ff9800",[1870,2085,2088,2091],{"icon":2086,"label":2087},"i-mdi-code-braces","YAML 动作示例",[1718,2089,2090],{},"给所有用电池的东西建一个标签：",[2092,2093,2098],"pre",{"className":2094,"code":2095,"language":2096,"meta":2097,"style":2097},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","action: homeassistant.create_label\ndata:\n  name: \"Battery powered\"\n  description: \"Label to tag all battery powered devices\"\n  icon: \"mdi:battery\"\n  color: \"indigo\"\n","yaml","",[1825,2099,2100,2115,2123,2138,2151,2164],{"__ignoreMap":2097},[2101,2102,2104,2107,2111],"span",{"class":2103,"line":215},"line",[2101,2105,1897],{"class":2106},"swJcz",[2101,2108,2110],{"class":2109},"sMK4o",":",[2101,2112,2114],{"class":2113},"sfazB"," homeassistant.create_label\n",[2101,2116,2117,2120],{"class":2103,"line":194},[2101,2118,2119],{"class":2106},"data",[2101,2121,2122],{"class":2109},":\n",[2101,2124,2125,2128,2130,2133,2135],{"class":2103,"line":29},[2101,2126,2127],{"class":2106},"  name",[2101,2129,2110],{"class":2109},[2101,2131,2132],{"class":2109}," \"",[2101,2134,1827],{"class":2113},[2101,2136,2137],{"class":2109},"\"\n",[2101,2139,2140,2143,2145,2147,2149],{"class":2103,"line":42},[2101,2141,2142],{"class":2106},"  description",[2101,2144,2110],{"class":2109},[2101,2146,2132],{"class":2109},[2101,2148,2031],{"class":2113},[2101,2150,2137],{"class":2109},[2101,2152,2153,2156,2158,2160,2162],{"class":2103,"line":118},[2101,2154,2155],{"class":2106},"  icon",[2101,2157,2110],{"class":2109},[2101,2159,2132],{"class":2109},[2101,2161,2049],{"class":2113},[2101,2163,2137],{"class":2109},[2101,2165,2166,2169,2171,2173,2175],{"class":2103,"line":53},[2101,2167,2168],{"class":2106},"  color",[2101,2170,2110],{"class":2109},[2101,2172,2132],{"class":2109},[2101,2174,2067],{"class":2113},[2101,2176,2137],{"class":2109},[1870,2178,2181],{"icon":2179,"label":2180},"i-mdi-alert-outline","已知限制",[2182,2183,2184,2187],"ul",{},[1798,2185,2186],{},"和另一个标签重名会被拒绝。Home Assistant 要求标签名称唯一。",[1798,2188,2189,2190,2193,2194,1804],{},"这个动作不会返回新标签的 ID。因为 ID 是根据名称生成的，你可以用 ",[1825,2191,2192],{},"label_id"," 模板查到它，比如 ",[1825,2195,2196],{},"{{ label_id('Battery powered') }}",[1778,2198,2200],{"id":2199},"update-a-label","更新标签",[1718,2202,2203],{},"修改一个已有标签的名称、描述、图标或颜色。",[1718,2205,2206],{},"没有这个动作时，从自动化里修改标签的唯一办法就是删掉再重建。删除标签会把它从所有贴过的地方取下来。为了换个图标，损失可不小。这个动作修改标签，它贴在哪里还是在哪里。",[1718,2208,2209],{},"你没填的项都保持原来的值。",[1718,2211,2212],{},[1791,2213,1793],{},[1795,2215,2216,2220,2227,2234,2245],{},[1798,2217,1800,2218,1804],{},[1791,2219,1803],{},[1798,2221,1807,2222,1810,2224,1804],{},[1791,2223,2200],{},[1791,2225,2226],{},"Home Assistant Core Integration: 更新标签 👻",[1798,2228,2229,2230,2233],{},"在",[1791,2231,2232],{},"标签 ID","下，选择要修改的标签。",[1798,2235,2236,2237,1734,2239,1734,2241,1739,2243,1804],{},"只填写要改变的部分：",[1791,2238,1819],{},[1791,2240,1822],{},[1791,2242,1837],{},[1791,2244,1840],{},[1798,2246,778,2247,1804],{},[1791,2248,1845],{},[1718,2250,1848,2251,1856],{},[1850,2252,1855],{"href":2253,"rel":2254},"https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fdeveloper_call_service\u002F?service=homeassistant.update_label",[1854],[1761,2256,2259],{"alt":2257,"name":2258},"动作工具，选中了更新标签 👻，并填好了一个示例。","action-homeassistant-update-label",[1718,2260,2261,1865],{},[1791,2262,1855],{},[1867,2264,2265,2462,2512],{},[1870,2266,2267,2337,2445],{"icon":1872,"label":1873},[1875,2268,2269,2275],{},[1878,2270,2271],{},[1881,2272,2273],{},[1884,2274,1886],{"colspan":194},[1888,2276,2277,2286,2297,2305,2313,2321],{},[1881,2278,2279,2283],{},[1893,2280,2281],{},[1721,2282,955],{"to":1897},[1893,2284,2285],{},"更新标签 👻",[1881,2287,2288,2292],{},[1893,2289,2290],{},[1721,2291,1908],{"to":1907},[1893,2293,2294],{},[1825,2295,2296],{},"homeassistant.update_label",[1881,2298,2299,2303],{},[1893,2300,2301],{},[1721,2302,1921],{"to":1920},[1893,2304,1924],{},[1881,2306,2307,2311],{},[1893,2308,2309],{},[1721,2310,1932],{"to":1931},[1893,2312,1935],{},[1881,2314,2315,2319],{},[1893,2316,2317],{},[1721,2318,1943],{"to":1942},[1893,2320,1946],{},[1881,2322,2323,2327],{},[1893,2324,2325],{},[1721,2326,1954],{"to":1953},[1893,2328,2329,1960,2332],{},[1850,2330,1855],{"href":2253,"rel":2331},[1854],[1850,2333,2335],{"href":2253,"rel":2334},[1854],[1965,2336],{"alt":1967,"src":1968},[1875,2338,2339,2355],{},[1878,2340,2341,2345],{},[1881,2342,2343],{},[1884,2344,1977],{"colspan":42},[1881,2346,2347,2349,2351,2353],{},[1884,2348,1982],{},[1884,2350,1985],{},[1884,2352,1988],{},[1884,2354,1991],{},[1888,2356,2357,2373,2389,2409,2427],{},[1881,2358,2359,2363,2367,2369],{},[1893,2360,2361],{},[1825,2362,2192],{},[1893,2364,2365],{},[1721,2366,2006],{"to":2005},[1893,2368,2009],{},[1893,2370,2371],{},[1825,2372,2076],{},[1881,2374,2375,2379,2383,2385],{},[1893,2376,2377],{},[1825,2378,2000],{},[1893,2380,2381],{},[1721,2382,2006],{"to":2005},[1893,2384,1924],{},[1893,2386,2387],{},[1825,2388,1827],{},[1881,2390,2391,2395,2403,2405],{},[1893,2392,2393],{},[1825,2394,2020],{},[1893,2396,2397,2399,2400],{},[1721,2398,2006],{"to":2005}," 或 ",[1825,2401,2402],{},"null",[1893,2404,1924],{},[1893,2406,2407],{},[1825,2408,2031],{},[1881,2410,2411,2415,2421,2423],{},[1893,2412,2413],{},[1825,2414,2038],{},[1893,2416,2417,2399,2419],{},[1721,2418,2006],{"to":2005},[1825,2420,2402],{},[1893,2422,1924],{},[1893,2424,2425],{},[1825,2426,2049],{},[1881,2428,2429,2433,2439,2441],{},[1893,2430,2431],{},[1825,2432,2056],{},[1893,2434,2435,2399,2437],{},[1721,2436,2006],{"to":2005},[1825,2438,2402],{},[1893,2440,1924],{},[1893,2442,2443],{},[1825,2444,2067],{},[1718,2446,2447,2448,1734,2450,2399,2452,2454,2455,2457,2458,2461],{},"把 ",[1825,2449,2020],{},[1825,2451,2038],{},[1825,2453,2056],{}," 设为 ",[1825,2456,2402],{}," 会清空它。不填某个字段和给它一个空字符串不是一回事：",[1825,2459,2460],{},"description: \"\""," 会清空描述，这也算一次修改。",[1870,2463,2464,2467],{"icon":2086,"label":2087},[1718,2465,2466],{},"给标签换一个更好的描述：",[2092,2468,2470],{"className":2094,"code":2469,"language":2096,"meta":2097,"style":2097},"action: homeassistant.update_label\ndata:\n  label_id: \"battery_powered\"\n  description: \"Label to tag all battery powered devices\"\n",[1825,2471,2472,2481,2487,2500],{"__ignoreMap":2097},[2101,2473,2474,2476,2478],{"class":2103,"line":215},[2101,2475,1897],{"class":2106},[2101,2477,2110],{"class":2109},[2101,2479,2480],{"class":2113}," homeassistant.update_label\n",[2101,2482,2483,2485],{"class":2103,"line":194},[2101,2484,2119],{"class":2106},[2101,2486,2122],{"class":2109},[2101,2488,2489,2492,2494,2496,2498],{"class":2103,"line":29},[2101,2490,2491],{"class":2106},"  label_id",[2101,2493,2110],{"class":2109},[2101,2495,2132],{"class":2109},[2101,2497,2076],{"class":2113},[2101,2499,2137],{"class":2109},[2101,2501,2502,2504,2506,2508,2510],{"class":2103,"line":42},[2101,2503,2142],{"class":2106},[2101,2505,2110],{"class":2109},[2101,2507,2132],{"class":2109},[2101,2509,2031],{"class":2113},[2101,2511,2137],{"class":2109},[1870,2513,2514],{"icon":2179,"label":2180},[2182,2515,2516,2522,2525],{},[1798,2517,2518,2519,2521],{},"你至少要给出一项要修改的内容。只有 ",[1825,2520,2192],{}," 的调用会被拒绝，所以字段名拼错了会得到一个错误。",[1798,2523,2524],{},"把标签改成和另一个标签一样的名称也会被拒绝，因为 Home Assistant 要求标签名称唯一。",[1798,2526,2527],{},"给标签改名不会改变它的 ID。ID 仍然是根据最初的名称生成的那个。",[1778,2529,2531],{"id":2530},"delete-a-label","删除标签",[1718,2533,2534],{},"从你的 Home Assistant 实例里删除一个标签。",[1718,2536,2537],{},"用来收拾残局：回家了的客人的标签，或者脚本为一场已经结束的派对建的标签。这个标签会从它贴过的每个区域、设备和实体上取下来。",[1718,2539,2540],{},[1791,2541,1793],{},[1795,2543,2544,2548,2555,2560],{},[1798,2545,1800,2546,1804],{},[1791,2547,1803],{},[1798,2549,1807,2550,1810,2552,1804],{},[1791,2551,2531],{},[1791,2553,2554],{},"Home Assistant Core Integration: 删除标签 👻",[1798,2556,2229,2557,2559],{},[1791,2558,2232],{},"下，选择要删除的标签。",[1798,2561,778,2562,1804],{},[1791,2563,1845],{},[1718,2565,1848,2566,1856],{},[1850,2567,1855],{"href":2568,"rel":2569},"https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fdeveloper_call_service\u002F?service=homeassistant.delete_label",[1854],[1761,2571,2574],{"alt":2572,"name":2573},"动作工具，选中了删除标签 👻，并填好了一个示例。","action-homeassistant-delete-label",[1718,2575,2576,1865],{},[1791,2577,1855],{},[1867,2579,2580,2688,2721,2792],{},[1870,2581,2582,2652],{"icon":1872,"label":1873},[1875,2583,2584,2590],{},[1878,2585,2586],{},[1881,2587,2588],{},[1884,2589,1886],{"colspan":194},[1888,2591,2592,2601,2612,2620,2628,2636],{},[1881,2593,2594,2598],{},[1893,2595,2596],{},[1721,2597,955],{"to":1897},[1893,2599,2600],{},"删除标签 👻",[1881,2602,2603,2607],{},[1893,2604,2605],{},[1721,2606,1908],{"to":1907},[1893,2608,2609],{},[1825,2610,2611],{},"homeassistant.delete_label",[1881,2613,2614,2618],{},[1893,2615,2616],{},[1721,2617,1921],{"to":1920},[1893,2619,1924],{},[1881,2621,2622,2626],{},[1893,2623,2624],{},[1721,2625,1932],{"to":1931},[1893,2627,1935],{},[1881,2629,2630,2634],{},[1893,2631,2632],{},[1721,2633,1943],{"to":1942},[1893,2635,1946],{},[1881,2637,2638,2642],{},[1893,2639,2640],{},[1721,2641,1954],{"to":1953},[1893,2643,2644,1960,2647],{},[1850,2645,1855],{"href":2568,"rel":2646},[1854],[1850,2648,2650],{"href":2568,"rel":2649},[1854],[1965,2651],{"alt":1967,"src":1968},[1875,2653,2654,2670],{},[1878,2655,2656,2660],{},[1881,2657,2658],{},[1884,2659,1977],{"colspan":42},[1881,2661,2662,2664,2666,2668],{},[1884,2663,1982],{},[1884,2665,1985],{},[1884,2667,1988],{},[1884,2669,1991],{},[1888,2671,2672],{},[1881,2673,2674,2678,2682,2684],{},[1893,2675,2676],{},[1825,2677,2192],{},[1893,2679,2680],{},[1721,2681,2006],{"to":2005},[1893,2683,2009],{},[1893,2685,2686],{},[1825,2687,2076],{},[1870,2689,2692,2701,2718],{"icon":2690,"label":2691},"i-mdi-lightbulb-outline","根据标签名称获取标签 ID",[1718,2693,2694,2695,2697,2698,2700],{},"不确定一个标签的 ",[1825,2696,2192],{}," 是什么？",[1825,2699,2192],{}," 字段也接受模板，所以你可以改用标签的名称：",[2092,2702,2704],{"className":2094,"code":2703,"language":2096,"meta":2097,"style":2097},"label_id: \"{{ label_id('Battery powered') }}\"\n",[1825,2705,2706],{"__ignoreMap":2097},[2101,2707,2708,2710,2712,2714,2716],{"class":2103,"line":215},[2101,2709,2192],{"class":2106},[2101,2711,2110],{"class":2109},[2101,2713,2132],{"class":2109},[2101,2715,2196],{"class":2113},[2101,2717,2137],{"class":2109},[1718,2719,2720],{},"这个模板会找到名称为“Battery powered”的标签的 ID。",[1870,2722,2723,2726,2758,2761],{"icon":2086,"label":2087},[1718,2724,2725],{},"按 ID 删除一个标签：",[2092,2727,2729],{"className":2094,"code":2728,"language":2096,"meta":2097,"style":2097},"action: homeassistant.delete_label\ndata:\n  label_id: \"battery_powered\"\n",[1825,2730,2731,2740,2746],{"__ignoreMap":2097},[2101,2732,2733,2735,2737],{"class":2103,"line":215},[2101,2734,1897],{"class":2106},[2101,2736,2110],{"class":2109},[2101,2738,2739],{"class":2113}," homeassistant.delete_label\n",[2101,2741,2742,2744],{"class":2103,"line":194},[2101,2743,2119],{"class":2106},[2101,2745,2122],{"class":2109},[2101,2747,2748,2750,2752,2754,2756],{"class":2103,"line":29},[2101,2749,2491],{"class":2106},[2101,2751,2110],{"class":2109},[2101,2753,2132],{"class":2109},[2101,2755,2076],{"class":2113},[2101,2757,2137],{"class":2109},[1718,2759,2760],{},"同样的操作，改用标签的名称而不是 ID：",[2092,2762,2764],{"className":2094,"code":2763,"language":2096,"meta":2097,"style":2097},"action: homeassistant.delete_label\ndata:\n  label_id: \"{{ label_id('Battery powered') }}\"\n",[1825,2765,2766,2774,2780],{"__ignoreMap":2097},[2101,2767,2768,2770,2772],{"class":2103,"line":215},[2101,2769,1897],{"class":2106},[2101,2771,2110],{"class":2109},[2101,2773,2739],{"class":2113},[2101,2775,2776,2778],{"class":2103,"line":194},[2101,2777,2119],{"class":2106},[2101,2779,2122],{"class":2109},[2101,2781,2782,2784,2786,2788,2790],{"class":2103,"line":29},[2101,2783,2491],{"class":2106},[2101,2785,2110],{"class":2109},[2101,2787,2132],{"class":2109},[2101,2789,2196],{"class":2113},[2101,2791,2137],{"class":2109},[1870,2793,2794],{"icon":2179,"label":2180},[2182,2795,2796],{},[1798,2797,2798],{},"没法撤销。重新创建这个标签只能找回标签本身，找不回它贴过的地方。",[1778,2800,2802],{"id":2801},"add-a-label-to-an-area","为区域添加标签",[1718,2804,2805],{},"给一个或多个区域贴上一个或多个标签。",[1718,2807,2808],{},"区域会随着季节和你的使用方式而变化。冬天给开着暖气的房间贴上“供暖中”，有人留宿时给客房贴上“有人住”，然后在其他自动化里以贴着这个标签的所有东西为目标。",[1718,2810,2811],{},[1791,2812,1793],{},[1795,2814,2815,2819,2826,2831,2837],{},[1798,2816,1800,2817,1804],{},[1791,2818,1803],{},[1798,2820,1807,2821,1810,2823,1804],{},[1791,2822,2802],{},[1791,2824,2825],{},"Home Assistant Core Integration: 为区域添加标签 👻",[1798,2827,2229,2828,2830],{},[1791,2829,2232],{},"下，选择要添加的标签。",[1798,2832,2229,2833,2836],{},[1791,2834,2835],{},"区域 ID","下，选择要贴上标签的区域。",[1798,2838,778,2839,1804],{},[1791,2840,1845],{},[1718,2842,2843],{},"你选的每个标签都会贴到你选的每个区域上。区域原有的标签保持不变。",[1718,2845,1848,2846,1856],{},[1850,2847,1855],{"href":2848,"rel":2849},"https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fdeveloper_call_service\u002F?service=homeassistant.add_label_to_area",[1854],[1761,2851,2854],{"alt":2852,"name":2853},"动作工具，选中了为区域添加标签 👻，并填好了一个示例。","action-homeassistant-add-label-to-area",[1718,2855,2856,1865],{},[1791,2857,1855],{},[1867,2859,2860,2997,3026,3058],{},[1870,2861,2862,2932,2994],{"icon":1872,"label":1873},[1875,2863,2864,2870],{},[1878,2865,2866],{},[1881,2867,2868],{},[1884,2869,1886],{"colspan":194},[1888,2871,2872,2881,2892,2900,2908,2916],{},[1881,2873,2874,2878],{},[1893,2875,2876],{},[1721,2877,955],{"to":1897},[1893,2879,2880],{},"为区域添加标签 👻",[1881,2882,2883,2887],{},[1893,2884,2885],{},[1721,2886,1908],{"to":1907},[1893,2888,2889],{},[1825,2890,2891],{},"homeassistant.add_label_to_area",[1881,2893,2894,2898],{},[1893,2895,2896],{},[1721,2897,1921],{"to":1920},[1893,2899,1924],{},[1881,2901,2902,2906],{},[1893,2903,2904],{},[1721,2905,1932],{"to":1931},[1893,2907,1935],{},[1881,2909,2910,2914],{},[1893,2911,2912],{},[1721,2913,1943],{"to":1942},[1893,2915,1946],{},[1881,2917,2918,2922],{},[1893,2919,2920],{},[1721,2921,1954],{"to":1953},[1893,2923,2924,1960,2927],{},[1850,2925,1855],{"href":2848,"rel":2926},[1854],[1850,2928,2930],{"href":2848,"rel":2929},[1854],[1965,2931],{"alt":1967,"src":1968},[1875,2933,2934,2950],{},[1878,2935,2936,2940],{},[1881,2937,2938],{},[1884,2939,1977],{"colspan":42},[1881,2941,2942,2944,2946,2948],{},[1884,2943,1982],{},[1884,2945,1985],{},[1884,2947,1988],{},[1884,2949,1991],{},[1888,2951,2952,2974],{},[1881,2953,2954,2958,2967,2969],{},[1893,2955,2956],{},[1825,2957,2192],{},[1893,2959,2960,2962,2963],{},[1721,2961,2006],{"to":2005}," | ",[1721,2964,2966],{"to":2965},"list","字符串列表",[1893,2968,2009],{},[1893,2970,2971],{},[1825,2972,2973],{},"living_space",[1881,2975,2976,2981,2987,2989],{},[1893,2977,2978],{},[1825,2979,2980],{},"area_id",[1893,2982,2983,2962,2985],{},[1721,2984,2006],{"to":2005},[1721,2986,2966],{"to":2965},[1893,2988,2009],{},[1893,2990,2991],{},[1825,2992,2993],{},"living_room",[1718,2995,2996],{},"在做任何修改之前，每个标签和每个区域都会先查找一遍。只要有一个不存在，动作就会停下，报一个写明它的错误，什么也不会改变。",[1870,2998,2999,3005,3023],{"icon":2690,"label":2691},[1718,3000,2694,3001,2697,3003,2700],{},[1825,3002,2192],{},[1825,3004,2192],{},[2092,3006,3008],{"className":2094,"code":3007,"language":2096,"meta":2097,"style":2097},"label_id: \"{{ label_id('Living space') }}\"\n",[1825,3009,3010],{"__ignoreMap":2097},[2101,3011,3012,3014,3016,3018,3021],{"class":2103,"line":215},[2101,3013,2192],{"class":2106},[2101,3015,2110],{"class":2109},[2101,3017,2132],{"class":2109},[2101,3019,3020],{"class":2113},"{{ label_id('Living space') }}",[2101,3022,2137],{"class":2109},[1718,3024,3025],{},"这个模板会找到名称为“Living space”的标签的 ID。",[1870,3027,3029,3037,3055],{"icon":2690,"label":3028},"根据区域名称获取区域 ID",[1718,3030,3031,3032,2697,3034,3036],{},"不确定一个区域的 ",[1825,3033,2980],{},[1825,3035,2980],{}," 字段也接受模板，所以你可以改用区域的名称：",[2092,3038,3040],{"className":2094,"code":3039,"language":2096,"meta":2097,"style":2097},"area_id: \"{{ area_id('Living room') }}\"\n",[1825,3041,3042],{"__ignoreMap":2097},[2101,3043,3044,3046,3048,3050,3053],{"class":2103,"line":215},[2101,3045,2980],{"class":2106},[2101,3047,2110],{"class":2109},[2101,3049,2132],{"class":2109},[2101,3051,3052],{"class":2113},"{{ area_id('Living room') }}",[2101,3054,2137],{"class":2109},[1718,3056,3057],{},"这个模板会找到名称为“Living room”的区域的 ID。",[1870,3059,3060,3063,3108,3111,3154,3157],{"icon":2086,"label":2087},[1718,3061,3062],{},"给客厅贴上起居空间标签：",[2092,3064,3066],{"className":2094,"code":3065,"language":2096,"meta":2097,"style":2097},"action: homeassistant.add_label_to_area\ndata:\n  label_id: \"living_space\"\n  area_id: \"living_room\"\n",[1825,3067,3068,3077,3083,3095],{"__ignoreMap":2097},[2101,3069,3070,3072,3074],{"class":2103,"line":215},[2101,3071,1897],{"class":2106},[2101,3073,2110],{"class":2109},[2101,3075,3076],{"class":2113}," homeassistant.add_label_to_area\n",[2101,3078,3079,3081],{"class":2103,"line":194},[2101,3080,2119],{"class":2106},[2101,3082,2122],{"class":2109},[2101,3084,3085,3087,3089,3091,3093],{"class":2103,"line":29},[2101,3086,2491],{"class":2106},[2101,3088,2110],{"class":2109},[2101,3090,2132],{"class":2109},[2101,3092,2973],{"class":2113},[2101,3094,2137],{"class":2109},[2101,3096,3097,3100,3102,3104,3106],{"class":2103,"line":42},[2101,3098,3099],{"class":2106},"  area_id",[2101,3101,2110],{"class":2109},[2101,3103,2132],{"class":2109},[2101,3105,2993],{"class":2113},[2101,3107,2137],{"class":2109},[1718,3109,3110],{},"同样的操作，改用区域和标签的名称而不是 ID：",[2092,3112,3114],{"className":2094,"code":3113,"language":2096,"meta":2097,"style":2097},"action: homeassistant.add_label_to_area\ndata:\n  label_id: \"{{ label_id('Living space') }}\"\n  area_id: \"{{ area_id('Living room') }}\"\n",[1825,3115,3116,3124,3130,3142],{"__ignoreMap":2097},[2101,3117,3118,3120,3122],{"class":2103,"line":215},[2101,3119,1897],{"class":2106},[2101,3121,2110],{"class":2109},[2101,3123,3076],{"class":2113},[2101,3125,3126,3128],{"class":2103,"line":194},[2101,3127,2119],{"class":2106},[2101,3129,2122],{"class":2109},[2101,3131,3132,3134,3136,3138,3140],{"class":2103,"line":29},[2101,3133,2491],{"class":2106},[2101,3135,2110],{"class":2109},[2101,3137,2132],{"class":2109},[2101,3139,3020],{"class":2113},[2101,3141,2137],{"class":2109},[2101,3143,3144,3146,3148,3150,3152],{"class":2103,"line":42},[2101,3145,3099],{"class":2106},[2101,3147,2110],{"class":2109},[2101,3149,2132],{"class":2109},[2101,3151,3052],{"class":2113},[2101,3153,2137],{"class":2109},[1718,3155,3156],{},"一次多个标签和区域。每个标签都会添加到每个区域上：",[2092,3158,3160],{"className":2094,"code":3159,"language":2096,"meta":2097,"style":2097},"action: homeassistant.add_label_to_area\ndata:\n  label_id:\n    - \"living_space\"\n    - \"chill_zone\"\n  area_id:\n    - \"living_room\"\n    - \"games_room\"\n",[1825,3161,3162,3170,3176,3182,3193,3204,3210,3220],{"__ignoreMap":2097},[2101,3163,3164,3166,3168],{"class":2103,"line":215},[2101,3165,1897],{"class":2106},[2101,3167,2110],{"class":2109},[2101,3169,3076],{"class":2113},[2101,3171,3172,3174],{"class":2103,"line":194},[2101,3173,2119],{"class":2106},[2101,3175,2122],{"class":2109},[2101,3177,3178,3180],{"class":2103,"line":29},[2101,3179,2491],{"class":2106},[2101,3181,2122],{"class":2109},[2101,3183,3184,3187,3189,3191],{"class":2103,"line":42},[2101,3185,3186],{"class":2109},"    -",[2101,3188,2132],{"class":2109},[2101,3190,2973],{"class":2113},[2101,3192,2137],{"class":2109},[2101,3194,3195,3197,3199,3202],{"class":2103,"line":118},[2101,3196,3186],{"class":2109},[2101,3198,2132],{"class":2109},[2101,3200,3201],{"class":2113},"chill_zone",[2101,3203,2137],{"class":2109},[2101,3205,3206,3208],{"class":2103,"line":53},[2101,3207,3099],{"class":2106},[2101,3209,2122],{"class":2109},[2101,3211,3212,3214,3216,3218],{"class":2103,"line":578},[2101,3213,3186],{"class":2109},[2101,3215,2132],{"class":2109},[2101,3217,2993],{"class":2113},[2101,3219,2137],{"class":2109},[2101,3221,3222,3224,3226,3229],{"class":2103,"line":150},[2101,3223,3186],{"class":2109},[2101,3225,2132],{"class":2109},[2101,3227,3228],{"class":2113},"games_room",[2101,3230,2137],{"class":2109},[1778,3232,3234],{"id":3233},"remove-a-label-from-an-area","从区域移除标签",[1718,3236,3237],{},"从一个或多个区域上取下一个或多个标签。",[1718,3239,3240,3243],{},[1850,3241,2802],{"href":3242},"#add-a-label-to-an-area","的另一半。冬天过去了，“供暖中”标签取下来。客人回家了，客房不再“有人住”。",[1718,3245,3246],{},[1791,3247,1793],{},[1795,3249,3250,3254,3261,3266,3271],{},[1798,3251,1800,3252,1804],{},[1791,3253,1803],{},[1798,3255,1807,3256,1810,3258,1804],{},[1791,3257,3234],{},[1791,3259,3260],{},"Home Assistant Core Integration: 从区域移除标签 👻",[1798,3262,2229,3263,3265],{},[1791,3264,2232],{},"下，选择要取下的标签。",[1798,3267,2229,3268,3270],{},[1791,3269,2835],{},"下，选择要从哪些区域上取下。",[1798,3272,778,3273,1804],{},[1791,3274,1845],{},[1718,3276,3277],{},"你选的每个标签都会从你选的每个区域上取下。没有这个标签的区域保持原样，其他标签也都留着。",[1718,3279,1848,3280,1856],{},[1850,3281,1855],{"href":3282,"rel":3283},"https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fdeveloper_call_service\u002F?service=homeassistant.remove_label_from_area",[1854],[1761,3285,3288],{"alt":3286,"name":3287},"动作工具，选中了从区域移除标签 👻，并填好了一个示例。","action-homeassistant-remove-label-from-area",[1718,3289,3290,1865],{},[1791,3291,1855],{},[1867,3293,3294,3424,3450,3476],{},[1870,3295,3296,3366,3422],{"icon":1872,"label":1873},[1875,3297,3298,3304],{},[1878,3299,3300],{},[1881,3301,3302],{},[1884,3303,1886],{"colspan":194},[1888,3305,3306,3315,3326,3334,3342,3350],{},[1881,3307,3308,3312],{},[1893,3309,3310],{},[1721,3311,955],{"to":1897},[1893,3313,3314],{},"从区域移除标签 👻",[1881,3316,3317,3321],{},[1893,3318,3319],{},[1721,3320,1908],{"to":1907},[1893,3322,3323],{},[1825,3324,3325],{},"homeassistant.remove_label_from_area",[1881,3327,3328,3332],{},[1893,3329,3330],{},[1721,3331,1921],{"to":1920},[1893,3333,1924],{},[1881,3335,3336,3340],{},[1893,3337,3338],{},[1721,3339,1932],{"to":1931},[1893,3341,1935],{},[1881,3343,3344,3348],{},[1893,3345,3346],{},[1721,3347,1943],{"to":1942},[1893,3349,1946],{},[1881,3351,3352,3356],{},[1893,3353,3354],{},[1721,3355,1954],{"to":1953},[1893,3357,3358,1960,3361],{},[1850,3359,1855],{"href":3282,"rel":3360},[1854],[1850,3362,3364],{"href":3282,"rel":3363},[1854],[1965,3365],{"alt":1967,"src":1968},[1875,3367,3368,3384],{},[1878,3369,3370,3374],{},[1881,3371,3372],{},[1884,3373,1977],{"colspan":42},[1881,3375,3376,3378,3380,3382],{},[1884,3377,1982],{},[1884,3379,1985],{},[1884,3381,1988],{},[1884,3383,1991],{},[1888,3385,3386,3404],{},[1881,3387,3388,3392,3398,3400],{},[1893,3389,3390],{},[1825,3391,2192],{},[1893,3393,3394,2962,3396],{},[1721,3395,2006],{"to":2005},[1721,3397,2966],{"to":2965},[1893,3399,2009],{},[1893,3401,3402],{},[1825,3403,2973],{},[1881,3405,3406,3410,3416,3418],{},[1893,3407,3408],{},[1825,3409,2980],{},[1893,3411,3412,2962,3414],{},[1721,3413,2006],{"to":2005},[1721,3415,2966],{"to":2965},[1893,3417,2009],{},[1893,3419,3420],{},[1825,3421,2993],{},[1718,3423,2996],{},[1870,3425,3426,3432,3448],{"icon":2690,"label":2691},[1718,3427,2694,3428,2697,3430,2700],{},[1825,3429,2192],{},[1825,3431,2192],{},[2092,3433,3434],{"className":2094,"code":3007,"language":2096,"meta":2097,"style":2097},[1825,3435,3436],{"__ignoreMap":2097},[2101,3437,3438,3440,3442,3444,3446],{"class":2103,"line":215},[2101,3439,2192],{"class":2106},[2101,3441,2110],{"class":2109},[2101,3443,2132],{"class":2109},[2101,3445,3020],{"class":2113},[2101,3447,2137],{"class":2109},[1718,3449,3025],{},[1870,3451,3452,3458,3474],{"icon":2690,"label":3028},[1718,3453,3031,3454,2697,3456,3036],{},[1825,3455,2980],{},[1825,3457,2980],{},[2092,3459,3460],{"className":2094,"code":3039,"language":2096,"meta":2097,"style":2097},[1825,3461,3462],{"__ignoreMap":2097},[2101,3463,3464,3466,3468,3470,3472],{"class":2103,"line":215},[2101,3465,2980],{"class":2106},[2101,3467,2110],{"class":2109},[2101,3469,2132],{"class":2109},[2101,3471,3052],{"class":2113},[2101,3473,2137],{"class":2109},[1718,3475,3057],{},[1870,3477,3478,3481,3525,3527,3570,3573],{"icon":2086,"label":2087},[1718,3479,3480],{},"从客厅取下起居空间标签：",[2092,3482,3484],{"className":2094,"code":3483,"language":2096,"meta":2097,"style":2097},"action: homeassistant.remove_label_from_area\ndata:\n  label_id: \"living_space\"\n  area_id: \"living_room\"\n",[1825,3485,3486,3495,3501,3513],{"__ignoreMap":2097},[2101,3487,3488,3490,3492],{"class":2103,"line":215},[2101,3489,1897],{"class":2106},[2101,3491,2110],{"class":2109},[2101,3493,3494],{"class":2113}," homeassistant.remove_label_from_area\n",[2101,3496,3497,3499],{"class":2103,"line":194},[2101,3498,2119],{"class":2106},[2101,3500,2122],{"class":2109},[2101,3502,3503,3505,3507,3509,3511],{"class":2103,"line":29},[2101,3504,2491],{"class":2106},[2101,3506,2110],{"class":2109},[2101,3508,2132],{"class":2109},[2101,3510,2973],{"class":2113},[2101,3512,2137],{"class":2109},[2101,3514,3515,3517,3519,3521,3523],{"class":2103,"line":42},[2101,3516,3099],{"class":2106},[2101,3518,2110],{"class":2109},[2101,3520,2132],{"class":2109},[2101,3522,2993],{"class":2113},[2101,3524,2137],{"class":2109},[1718,3526,3110],{},[2092,3528,3530],{"className":2094,"code":3529,"language":2096,"meta":2097,"style":2097},"action: homeassistant.remove_label_from_area\ndata:\n  label_id: \"{{ label_id('Living space') }}\"\n  area_id: \"{{ area_id('Living room') }}\"\n",[1825,3531,3532,3540,3546,3558],{"__ignoreMap":2097},[2101,3533,3534,3536,3538],{"class":2103,"line":215},[2101,3535,1897],{"class":2106},[2101,3537,2110],{"class":2109},[2101,3539,3494],{"class":2113},[2101,3541,3542,3544],{"class":2103,"line":194},[2101,3543,2119],{"class":2106},[2101,3545,2122],{"class":2109},[2101,3547,3548,3550,3552,3554,3556],{"class":2103,"line":29},[2101,3549,2491],{"class":2106},[2101,3551,2110],{"class":2109},[2101,3553,2132],{"class":2109},[2101,3555,3020],{"class":2113},[2101,3557,2137],{"class":2109},[2101,3559,3560,3562,3564,3566,3568],{"class":2103,"line":42},[2101,3561,3099],{"class":2106},[2101,3563,2110],{"class":2109},[2101,3565,2132],{"class":2109},[2101,3567,3052],{"class":2113},[2101,3569,2137],{"class":2109},[1718,3571,3572],{},"一次多个标签和区域。每个标签都会从每个区域上移除：",[2092,3574,3576],{"className":2094,"code":3575,"language":2096,"meta":2097,"style":2097},"action: homeassistant.remove_label_from_area\ndata:\n  label_id:\n    - \"living_space\"\n    - \"chill_zone\"\n  area_id:\n    - \"living_room\"\n    - \"games_room\"\n",[1825,3577,3578,3586,3592,3598,3608,3618,3624,3634],{"__ignoreMap":2097},[2101,3579,3580,3582,3584],{"class":2103,"line":215},[2101,3581,1897],{"class":2106},[2101,3583,2110],{"class":2109},[2101,3585,3494],{"class":2113},[2101,3587,3588,3590],{"class":2103,"line":194},[2101,3589,2119],{"class":2106},[2101,3591,2122],{"class":2109},[2101,3593,3594,3596],{"class":2103,"line":29},[2101,3595,2491],{"class":2106},[2101,3597,2122],{"class":2109},[2101,3599,3600,3602,3604,3606],{"class":2103,"line":42},[2101,3601,3186],{"class":2109},[2101,3603,2132],{"class":2109},[2101,3605,2973],{"class":2113},[2101,3607,2137],{"class":2109},[2101,3609,3610,3612,3614,3616],{"class":2103,"line":118},[2101,3611,3186],{"class":2109},[2101,3613,2132],{"class":2109},[2101,3615,3201],{"class":2113},[2101,3617,2137],{"class":2109},[2101,3619,3620,3622],{"class":2103,"line":53},[2101,3621,3099],{"class":2106},[2101,3623,2122],{"class":2109},[2101,3625,3626,3628,3630,3632],{"class":2103,"line":578},[2101,3627,3186],{"class":2109},[2101,3629,2132],{"class":2109},[2101,3631,2993],{"class":2113},[2101,3633,2137],{"class":2109},[2101,3635,3636,3638,3640,3642],{"class":2103,"line":150},[2101,3637,3186],{"class":2109},[2101,3639,2132],{"class":2109},[2101,3641,3228],{"class":2113},[2101,3643,2137],{"class":2109},[1778,3645,3647],{"id":3646},"add-a-label-to-a-device","为设备添加标签",[1718,3649,3650],{},"给一个或多个设备贴上一个或多个标签。",[1718,3652,3653],{},"让你的自动化来记账。电池电量低了，设备就被贴上“更换电池”标签，按这个标签筛选的设备表格就是你的购物清单。设备从网络上掉线了，它就被贴上“需要关注”。",[1718,3655,3656],{},[1791,3657,1793],{},[1795,3659,3660,3664,3671,3675,3681],{},[1798,3661,1800,3662,1804],{},[1791,3663,1803],{},[1798,3665,1807,3666,1810,3668,1804],{},[1791,3667,3647],{},[1791,3669,3670],{},"Home Assistant Core Integration: 为设备添加标签 👻",[1798,3672,2229,3673,2830],{},[1791,3674,2232],{},[1798,3676,2229,3677,3680],{},[1791,3678,3679],{},"设备 ID","下，选择要贴上标签的设备。",[1798,3682,778,3683,1804],{},[1791,3684,1845],{},[1718,3686,3687],{},"你选的每个标签都会贴到你选的每个设备上。设备原有的标签保持不变。",[1718,3689,1848,3690,1856],{},[1850,3691,1855],{"href":3692,"rel":3693},"https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fdeveloper_call_service\u002F?service=homeassistant.add_label_to_device",[1854],[1761,3695,3698],{"alt":3696,"name":3697},"动作工具，选中了为设备添加标签 👻，并填好了一个示例。","action-homeassistant-add-label-to-device",[1718,3699,3700,1865],{},[1791,3701,1855],{},[1867,3703,3704,3837,3863,3887],{},[1870,3705,3706,3776,3834],{"icon":1872,"label":1873},[1875,3707,3708,3714],{},[1878,3709,3710],{},[1881,3711,3712],{},[1884,3713,1886],{"colspan":194},[1888,3715,3716,3725,3736,3744,3752,3760],{},[1881,3717,3718,3722],{},[1893,3719,3720],{},[1721,3721,955],{"to":1897},[1893,3723,3724],{},"为设备添加标签 👻",[1881,3726,3727,3731],{},[1893,3728,3729],{},[1721,3730,1908],{"to":1907},[1893,3732,3733],{},[1825,3734,3735],{},"homeassistant.add_label_to_device",[1881,3737,3738,3742],{},[1893,3739,3740],{},[1721,3741,1921],{"to":1920},[1893,3743,1924],{},[1881,3745,3746,3750],{},[1893,3747,3748],{},[1721,3749,1932],{"to":1931},[1893,3751,1935],{},[1881,3753,3754,3758],{},[1893,3755,3756],{},[1721,3757,1943],{"to":1942},[1893,3759,1946],{},[1881,3761,3762,3766],{},[1893,3763,3764],{},[1721,3765,1954],{"to":1953},[1893,3767,3768,1960,3771],{},[1850,3769,1855],{"href":3692,"rel":3770},[1854],[1850,3772,3774],{"href":3692,"rel":3773},[1854],[1965,3775],{"alt":1967,"src":1968},[1875,3777,3778,3794],{},[1878,3779,3780,3784],{},[1881,3781,3782],{},[1884,3783,1977],{"colspan":42},[1881,3785,3786,3788,3790,3792],{},[1884,3787,1982],{},[1884,3789,1985],{},[1884,3791,1988],{},[1884,3793,1991],{},[1888,3795,3796,3814],{},[1881,3797,3798,3802,3808,3810],{},[1893,3799,3800],{},[1825,3801,2192],{},[1893,3803,3804,2962,3806],{},[1721,3805,2006],{"to":2005},[1721,3807,2966],{"to":2965},[1893,3809,2009],{},[1893,3811,3812],{},[1825,3813,2076],{},[1881,3815,3816,3821,3827,3829],{},[1893,3817,3818],{},[1825,3819,3820],{},"device_id",[1893,3822,3823,2962,3825],{},[1721,3824,2006],{"to":2005},[1721,3826,2966],{"to":2965},[1893,3828,2009],{},[1893,3830,3831],{},[1825,3832,3833],{},"dc23e666e6100f184e642a0ac345d3eb",[1718,3835,3836],{},"在做任何修改之前，每个标签和每个设备都会先查找一遍。只要有一个不存在，动作就会停下，报一个写明它的错误，什么也不会改变。",[1870,3838,3839,3845,3861],{"icon":2690,"label":2691},[1718,3840,2694,3841,2697,3843,2700],{},[1825,3842,2192],{},[1825,3844,2192],{},[2092,3846,3847],{"className":2094,"code":2703,"language":2096,"meta":2097,"style":2097},[1825,3848,3849],{"__ignoreMap":2097},[2101,3850,3851,3853,3855,3857,3859],{"class":2103,"line":215},[2101,3852,2192],{"class":2106},[2101,3854,2110],{"class":2109},[2101,3856,2132],{"class":2109},[2101,3858,2196],{"class":2113},[2101,3860,2137],{"class":2109},[1718,3862,2720],{},[1870,3864,3866,3872,3882],{"icon":2690,"label":3865},"查找设备 ID",[1718,3867,3868,3869,3871],{},"不确定你的设备的 ",[1825,3870,3820],{}," 是什么？有几种方法可以找到它。",[1718,3873,3874,3875,3877,3878,3881],{},"在动作工具里打开这个动作，在",[1791,3876,3679],{},"下选择这个设备，然后选择 ",[1791,3879,3880],{},"Go to YAML mode","。YAML 里会显示设备 ID。",[1718,3883,3884,3885,1804],{},"或者在界面里打开这个设备的页面，看看地址栏。设备 ID 是 URL 的最后一部分，看起来像这样：",[1825,3886,3833],{},[1870,3888,3889,3892,3937,3939,3982,3985],{"icon":2086,"label":2087},[1718,3890,3891],{},"给一个设备贴上用电池的标签：",[2092,3893,3895],{"className":2094,"code":3894,"language":2096,"meta":2097,"style":2097},"action: homeassistant.add_label_to_device\ndata:\n  label_id: \"battery_powered\"\n  device_id: \"dc23e666e6100f184e642a0ac345d3eb\"\n",[1825,3896,3897,3906,3912,3924],{"__ignoreMap":2097},[2101,3898,3899,3901,3903],{"class":2103,"line":215},[2101,3900,1897],{"class":2106},[2101,3902,2110],{"class":2109},[2101,3904,3905],{"class":2113}," homeassistant.add_label_to_device\n",[2101,3907,3908,3910],{"class":2103,"line":194},[2101,3909,2119],{"class":2106},[2101,3911,2122],{"class":2109},[2101,3913,3914,3916,3918,3920,3922],{"class":2103,"line":29},[2101,3915,2491],{"class":2106},[2101,3917,2110],{"class":2109},[2101,3919,2132],{"class":2109},[2101,3921,2076],{"class":2113},[2101,3923,2137],{"class":2109},[2101,3925,3926,3929,3931,3933,3935],{"class":2103,"line":42},[2101,3927,3928],{"class":2106},"  device_id",[2101,3930,2110],{"class":2109},[2101,3932,2132],{"class":2109},[2101,3934,3833],{"class":2113},[2101,3936,2137],{"class":2109},[1718,3938,2760],{},[2092,3940,3942],{"className":2094,"code":3941,"language":2096,"meta":2097,"style":2097},"action: homeassistant.add_label_to_device\ndata:\n  label_id: \"{{ label_id('Battery powered') }}\"\n  device_id: \"dc23e666e6100f184e642a0ac345d3eb\"\n",[1825,3943,3944,3952,3958,3970],{"__ignoreMap":2097},[2101,3945,3946,3948,3950],{"class":2103,"line":215},[2101,3947,1897],{"class":2106},[2101,3949,2110],{"class":2109},[2101,3951,3905],{"class":2113},[2101,3953,3954,3956],{"class":2103,"line":194},[2101,3955,2119],{"class":2106},[2101,3957,2122],{"class":2109},[2101,3959,3960,3962,3964,3966,3968],{"class":2103,"line":29},[2101,3961,2491],{"class":2106},[2101,3963,2110],{"class":2109},[2101,3965,2132],{"class":2109},[2101,3967,2196],{"class":2113},[2101,3969,2137],{"class":2109},[2101,3971,3972,3974,3976,3978,3980],{"class":2103,"line":42},[2101,3973,3928],{"class":2106},[2101,3975,2110],{"class":2109},[2101,3977,2132],{"class":2109},[2101,3979,3833],{"class":2113},[2101,3981,2137],{"class":2109},[1718,3983,3984],{},"一次多个标签和设备。每个标签都会添加到每个设备上：",[2092,3986,3988],{"className":2094,"code":3987,"language":2096,"meta":2097,"style":2097},"action: homeassistant.add_label_to_device\ndata:\n  label_id:\n    - \"battery_powered\"\n    - \"cr2023\"\n  device_id:\n    - \"dc23e666e6100f184e642a0ac345d3eb\"\n    - \"df98a97c9341a0f184e642a0ac345d3b\"\n",[1825,3989,3990,3998,4004,4010,4020,4031,4037,4047],{"__ignoreMap":2097},[2101,3991,3992,3994,3996],{"class":2103,"line":215},[2101,3993,1897],{"class":2106},[2101,3995,2110],{"class":2109},[2101,3997,3905],{"class":2113},[2101,3999,4000,4002],{"class":2103,"line":194},[2101,4001,2119],{"class":2106},[2101,4003,2122],{"class":2109},[2101,4005,4006,4008],{"class":2103,"line":29},[2101,4007,2491],{"class":2106},[2101,4009,2122],{"class":2109},[2101,4011,4012,4014,4016,4018],{"class":2103,"line":42},[2101,4013,3186],{"class":2109},[2101,4015,2132],{"class":2109},[2101,4017,2076],{"class":2113},[2101,4019,2137],{"class":2109},[2101,4021,4022,4024,4026,4029],{"class":2103,"line":118},[2101,4023,3186],{"class":2109},[2101,4025,2132],{"class":2109},[2101,4027,4028],{"class":2113},"cr2023",[2101,4030,2137],{"class":2109},[2101,4032,4033,4035],{"class":2103,"line":53},[2101,4034,3928],{"class":2106},[2101,4036,2122],{"class":2109},[2101,4038,4039,4041,4043,4045],{"class":2103,"line":578},[2101,4040,3186],{"class":2109},[2101,4042,2132],{"class":2109},[2101,4044,3833],{"class":2113},[2101,4046,2137],{"class":2109},[2101,4048,4049,4051,4053,4056],{"class":2103,"line":150},[2101,4050,3186],{"class":2109},[2101,4052,2132],{"class":2109},[2101,4054,4055],{"class":2113},"df98a97c9341a0f184e642a0ac345d3b",[2101,4057,2137],{"class":2109},[1778,4059,4061],{"id":4060},"remove-a-label-from-a-device","从设备移除标签",[1718,4063,4064],{},"从一个或多个设备上取下一个或多个标签。",[1718,4066,4067,4070],{},[1850,4068,3647],{"href":4069},"#add-a-label-to-a-device","的另一半。电池换好了，“更换电池”取下来。设备重新上线了，“需要关注”也就没了。",[1718,4072,4073],{},[1791,4074,1793],{},[1795,4076,4077,4081,4088,4092,4097],{},[1798,4078,1800,4079,1804],{},[1791,4080,1803],{},[1798,4082,1807,4083,1810,4085,1804],{},[1791,4084,4061],{},[1791,4086,4087],{},"Home Assistant Core Integration: 从设备移除标签 👻",[1798,4089,2229,4090,3265],{},[1791,4091,2232],{},[1798,4093,2229,4094,4096],{},[1791,4095,3679],{},"下，选择要从哪些设备上取下。",[1798,4098,778,4099,1804],{},[1791,4100,1845],{},[1718,4102,4103],{},"你选的每个标签都会从你选的每个设备上取下。没有这个标签的设备保持原样，其他标签也都留着。",[1718,4105,1848,4106,1856],{},[1850,4107,1855],{"href":4108,"rel":4109},"https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fdeveloper_call_service\u002F?service=homeassistant.remove_label_from_device",[1854],[1761,4111,4114],{"alt":4112,"name":4113},"动作工具，选中了从设备移除标签 👻，并填好了一个示例。","action-homeassistant-remove-label-from-device",[1718,4115,4116,1865],{},[1791,4117,1855],{},[1867,4119,4120,4250,4276,4292],{},[1870,4121,4122,4192,4248],{"icon":1872,"label":1873},[1875,4123,4124,4130],{},[1878,4125,4126],{},[1881,4127,4128],{},[1884,4129,1886],{"colspan":194},[1888,4131,4132,4141,4152,4160,4168,4176],{},[1881,4133,4134,4138],{},[1893,4135,4136],{},[1721,4137,955],{"to":1897},[1893,4139,4140],{},"从设备移除标签 👻",[1881,4142,4143,4147],{},[1893,4144,4145],{},[1721,4146,1908],{"to":1907},[1893,4148,4149],{},[1825,4150,4151],{},"homeassistant.remove_label_from_device",[1881,4153,4154,4158],{},[1893,4155,4156],{},[1721,4157,1921],{"to":1920},[1893,4159,1924],{},[1881,4161,4162,4166],{},[1893,4163,4164],{},[1721,4165,1932],{"to":1931},[1893,4167,1935],{},[1881,4169,4170,4174],{},[1893,4171,4172],{},[1721,4173,1943],{"to":1942},[1893,4175,1946],{},[1881,4177,4178,4182],{},[1893,4179,4180],{},[1721,4181,1954],{"to":1953},[1893,4183,4184,1960,4187],{},[1850,4185,1855],{"href":4108,"rel":4186},[1854],[1850,4188,4190],{"href":4108,"rel":4189},[1854],[1965,4191],{"alt":1967,"src":1968},[1875,4193,4194,4210],{},[1878,4195,4196,4200],{},[1881,4197,4198],{},[1884,4199,1977],{"colspan":42},[1881,4201,4202,4204,4206,4208],{},[1884,4203,1982],{},[1884,4205,1985],{},[1884,4207,1988],{},[1884,4209,1991],{},[1888,4211,4212,4230],{},[1881,4213,4214,4218,4224,4226],{},[1893,4215,4216],{},[1825,4217,2192],{},[1893,4219,4220,2962,4222],{},[1721,4221,2006],{"to":2005},[1721,4223,2966],{"to":2965},[1893,4225,2009],{},[1893,4227,4228],{},[1825,4229,2076],{},[1881,4231,4232,4236,4242,4244],{},[1893,4233,4234],{},[1825,4235,3820],{},[1893,4237,4238,2962,4240],{},[1721,4239,2006],{"to":2005},[1721,4241,2966],{"to":2965},[1893,4243,2009],{},[1893,4245,4246],{},[1825,4247,3833],{},[1718,4249,3836],{},[1870,4251,4252,4258,4274],{"icon":2690,"label":2691},[1718,4253,2694,4254,2697,4256,2700],{},[1825,4255,2192],{},[1825,4257,2192],{},[2092,4259,4260],{"className":2094,"code":2703,"language":2096,"meta":2097,"style":2097},[1825,4261,4262],{"__ignoreMap":2097},[2101,4263,4264,4266,4268,4270,4272],{"class":2103,"line":215},[2101,4265,2192],{"class":2106},[2101,4267,2110],{"class":2109},[2101,4269,2132],{"class":2109},[2101,4271,2196],{"class":2113},[2101,4273,2137],{"class":2109},[1718,4275,2720],{},[1870,4277,4278,4282,4288],{"icon":2690,"label":3865},[1718,4279,3868,4280,3871],{},[1825,4281,3820],{},[1718,4283,3874,4284,3877,4286,3881],{},[1791,4285,3679],{},[1791,4287,3880],{},[1718,4289,3884,4290,1804],{},[1825,4291,3833],{},[1870,4293,4294,4297,4341,4343,4386,4389],{"icon":2086,"label":2087},[1718,4295,4296],{},"从一个设备上取下用电池的标签：",[2092,4298,4300],{"className":2094,"code":4299,"language":2096,"meta":2097,"style":2097},"action: homeassistant.remove_label_from_device\ndata:\n  label_id: \"battery_powered\"\n  device_id: \"dc23e666e6100f184e642a0ac345d3eb\"\n",[1825,4301,4302,4311,4317,4329],{"__ignoreMap":2097},[2101,4303,4304,4306,4308],{"class":2103,"line":215},[2101,4305,1897],{"class":2106},[2101,4307,2110],{"class":2109},[2101,4309,4310],{"class":2113}," homeassistant.remove_label_from_device\n",[2101,4312,4313,4315],{"class":2103,"line":194},[2101,4314,2119],{"class":2106},[2101,4316,2122],{"class":2109},[2101,4318,4319,4321,4323,4325,4327],{"class":2103,"line":29},[2101,4320,2491],{"class":2106},[2101,4322,2110],{"class":2109},[2101,4324,2132],{"class":2109},[2101,4326,2076],{"class":2113},[2101,4328,2137],{"class":2109},[2101,4330,4331,4333,4335,4337,4339],{"class":2103,"line":42},[2101,4332,3928],{"class":2106},[2101,4334,2110],{"class":2109},[2101,4336,2132],{"class":2109},[2101,4338,3833],{"class":2113},[2101,4340,2137],{"class":2109},[1718,4342,2760],{},[2092,4344,4346],{"className":2094,"code":4345,"language":2096,"meta":2097,"style":2097},"action: homeassistant.remove_label_from_device\ndata:\n  label_id: \"{{ label_id('Battery powered') }}\"\n  device_id: \"dc23e666e6100f184e642a0ac345d3eb\"\n",[1825,4347,4348,4356,4362,4374],{"__ignoreMap":2097},[2101,4349,4350,4352,4354],{"class":2103,"line":215},[2101,4351,1897],{"class":2106},[2101,4353,2110],{"class":2109},[2101,4355,4310],{"class":2113},[2101,4357,4358,4360],{"class":2103,"line":194},[2101,4359,2119],{"class":2106},[2101,4361,2122],{"class":2109},[2101,4363,4364,4366,4368,4370,4372],{"class":2103,"line":29},[2101,4365,2491],{"class":2106},[2101,4367,2110],{"class":2109},[2101,4369,2132],{"class":2109},[2101,4371,2196],{"class":2113},[2101,4373,2137],{"class":2109},[2101,4375,4376,4378,4380,4382,4384],{"class":2103,"line":42},[2101,4377,3928],{"class":2106},[2101,4379,2110],{"class":2109},[2101,4381,2132],{"class":2109},[2101,4383,3833],{"class":2113},[2101,4385,2137],{"class":2109},[1718,4387,4388],{},"一次多个标签和设备。每个标签都会从每个设备上移除：",[2092,4390,4392],{"className":2094,"code":4391,"language":2096,"meta":2097,"style":2097},"action: homeassistant.remove_label_from_device\ndata:\n  label_id:\n    - \"battery_powered\"\n    - \"cr2023\"\n  device_id:\n    - \"dc23e666e6100f184e642a0ac345d3eb\"\n    - \"df98a97c9341a0f184e642a0ac345d3b\"\n",[1825,4393,4394,4402,4408,4414,4424,4434,4440,4450],{"__ignoreMap":2097},[2101,4395,4396,4398,4400],{"class":2103,"line":215},[2101,4397,1897],{"class":2106},[2101,4399,2110],{"class":2109},[2101,4401,4310],{"class":2113},[2101,4403,4404,4406],{"class":2103,"line":194},[2101,4405,2119],{"class":2106},[2101,4407,2122],{"class":2109},[2101,4409,4410,4412],{"class":2103,"line":29},[2101,4411,2491],{"class":2106},[2101,4413,2122],{"class":2109},[2101,4415,4416,4418,4420,4422],{"class":2103,"line":42},[2101,4417,3186],{"class":2109},[2101,4419,2132],{"class":2109},[2101,4421,2076],{"class":2113},[2101,4423,2137],{"class":2109},[2101,4425,4426,4428,4430,4432],{"class":2103,"line":118},[2101,4427,3186],{"class":2109},[2101,4429,2132],{"class":2109},[2101,4431,4028],{"class":2113},[2101,4433,2137],{"class":2109},[2101,4435,4436,4438],{"class":2103,"line":53},[2101,4437,3928],{"class":2106},[2101,4439,2122],{"class":2109},[2101,4441,4442,4444,4446,4448],{"class":2103,"line":578},[2101,4443,3186],{"class":2109},[2101,4445,2132],{"class":2109},[2101,4447,3833],{"class":2113},[2101,4449,2137],{"class":2109},[2101,4451,4452,4454,4456,4458],{"class":2103,"line":150},[2101,4453,3186],{"class":2109},[2101,4455,2132],{"class":2109},[2101,4457,4055],{"class":2113},[2101,4459,2137],{"class":2109},[1778,4461,4463],{"id":4462},"add-a-label-to-an-entity","为实体添加标签",[1718,4465,4466],{},"给一个或多个实体贴上一个或多个标签。",[1718,4468,4469],{},"和设备是同一个思路，只是往下一层。给变成不可用的传感器、整夜开着的灯，或者某个蓝图涉及的每个实体贴上标签，之后再按它筛选实体表格。",[1718,4471,4472],{},[1791,4473,1793],{},[1795,4475,4476,4480,4487,4491,4497],{},[1798,4477,1800,4478,1804],{},[1791,4479,1803],{},[1798,4481,1807,4482,1810,4484,1804],{},[1791,4483,4463],{},[1791,4485,4486],{},"Home Assistant Core Integration: 为实体添加标签 👻",[1798,4488,2229,4489,2830],{},[1791,4490,2232],{},[1798,4492,2229,4493,4496],{},[1791,4494,4495],{},"实体 ID","下，选择要贴上标签的实体。",[1798,4498,778,4499,1804],{},[1791,4500,1845],{},[1718,4502,4503],{},"你选的每个标签都会贴到你选的每个实体上。实体原有的标签保持不变。",[1718,4505,1848,4506,1856],{},[1850,4507,1855],{"href":4508,"rel":4509},"https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fdeveloper_call_service\u002F?service=homeassistant.add_label_to_entity",[1854],[1761,4511,4514],{"alt":4512,"name":4513},"动作工具，选中了为实体添加标签 👻，并填好了一个示例。","action-homeassistant-add-label-to-entity",[1718,4515,4516,1865],{},[1791,4517,1855],{},[1867,4519,4520,4653,4679,4834],{},[1870,4521,4522,4592,4650],{"icon":1872,"label":1873},[1875,4523,4524,4530],{},[1878,4525,4526],{},[1881,4527,4528],{},[1884,4529,1886],{"colspan":194},[1888,4531,4532,4541,4552,4560,4568,4576],{},[1881,4533,4534,4538],{},[1893,4535,4536],{},[1721,4537,955],{"to":1897},[1893,4539,4540],{},"为实体添加标签 👻",[1881,4542,4543,4547],{},[1893,4544,4545],{},[1721,4546,1908],{"to":1907},[1893,4548,4549],{},[1825,4550,4551],{},"homeassistant.add_label_to_entity",[1881,4553,4554,4558],{},[1893,4555,4556],{},[1721,4557,1921],{"to":1920},[1893,4559,1924],{},[1881,4561,4562,4566],{},[1893,4563,4564],{},[1721,4565,1932],{"to":1931},[1893,4567,1935],{},[1881,4569,4570,4574],{},[1893,4571,4572],{},[1721,4573,1943],{"to":1942},[1893,4575,1946],{},[1881,4577,4578,4582],{},[1893,4579,4580],{},[1721,4581,1954],{"to":1953},[1893,4583,4584,1960,4587],{},[1850,4585,1855],{"href":4508,"rel":4586},[1854],[1850,4588,4590],{"href":4508,"rel":4589},[1854],[1965,4591],{"alt":1967,"src":1968},[1875,4593,4594,4610],{},[1878,4595,4596,4600],{},[1881,4597,4598],{},[1884,4599,1977],{"colspan":42},[1881,4601,4602,4604,4606,4608],{},[1884,4603,1982],{},[1884,4605,1985],{},[1884,4607,1988],{},[1884,4609,1991],{},[1888,4611,4612,4630],{},[1881,4613,4614,4618,4624,4626],{},[1893,4615,4616],{},[1825,4617,2192],{},[1893,4619,4620,2962,4622],{},[1721,4621,2006],{"to":2005},[1721,4623,2966],{"to":2965},[1893,4625,2009],{},[1893,4627,4628],{},[1825,4629,2076],{},[1881,4631,4632,4637,4643,4645],{},[1893,4633,4634],{},[1825,4635,4636],{},"entity_id",[1893,4638,4639,2962,4641],{},[1721,4640,2006],{"to":2005},[1721,4642,2966],{"to":2965},[1893,4644,2009],{},[1893,4646,4647],{},[1825,4648,4649],{},"sensor.outside_temperature",[1718,4651,4652],{},"在做任何修改之前，每个标签和每个实体都会先查找一遍。只要有一个不存在，动作就会停下，报一个写明它的错误，什么也不会改变。",[1870,4654,4655,4661,4677],{"icon":2690,"label":2691},[1718,4656,2694,4657,2697,4659,2700],{},[1825,4658,2192],{},[1825,4660,2192],{},[2092,4662,4663],{"className":2094,"code":2703,"language":2096,"meta":2097,"style":2097},[1825,4664,4665],{"__ignoreMap":2097},[2101,4666,4667,4669,4671,4673,4675],{"class":2103,"line":215},[2101,4668,2192],{"class":2106},[2101,4670,2110],{"class":2109},[2101,4672,2132],{"class":2109},[2101,4674,2196],{"class":2113},[2101,4676,2137],{"class":2109},[1718,4678,2720],{},[1870,4680,4681,4684,4726,4728,4767,4770],{"icon":2086,"label":2087},[1718,4682,4683],{},"给一个实体贴上用电池的标签：",[2092,4685,4687],{"className":2094,"code":4686,"language":2096,"meta":2097,"style":2097},"action: homeassistant.add_label_to_entity\ndata:\n  label_id: \"battery_powered\"\n  entity_id: sensor.outside_temperature\n",[1825,4688,4689,4698,4704,4716],{"__ignoreMap":2097},[2101,4690,4691,4693,4695],{"class":2103,"line":215},[2101,4692,1897],{"class":2106},[2101,4694,2110],{"class":2109},[2101,4696,4697],{"class":2113}," homeassistant.add_label_to_entity\n",[2101,4699,4700,4702],{"class":2103,"line":194},[2101,4701,2119],{"class":2106},[2101,4703,2122],{"class":2109},[2101,4705,4706,4708,4710,4712,4714],{"class":2103,"line":29},[2101,4707,2491],{"class":2106},[2101,4709,2110],{"class":2109},[2101,4711,2132],{"class":2109},[2101,4713,2076],{"class":2113},[2101,4715,2137],{"class":2109},[2101,4717,4718,4721,4723],{"class":2103,"line":42},[2101,4719,4720],{"class":2106},"  entity_id",[2101,4722,2110],{"class":2109},[2101,4724,4725],{"class":2113}," sensor.outside_temperature\n",[1718,4727,2760],{},[2092,4729,4731],{"className":2094,"code":4730,"language":2096,"meta":2097,"style":2097},"action: homeassistant.add_label_to_entity\ndata:\n  label_id: \"{{ label_id('Battery powered') }}\"\n  entity_id: sensor.outside_temperature\n",[1825,4732,4733,4741,4747,4759],{"__ignoreMap":2097},[2101,4734,4735,4737,4739],{"class":2103,"line":215},[2101,4736,1897],{"class":2106},[2101,4738,2110],{"class":2109},[2101,4740,4697],{"class":2113},[2101,4742,4743,4745],{"class":2103,"line":194},[2101,4744,2119],{"class":2106},[2101,4746,2122],{"class":2109},[2101,4748,4749,4751,4753,4755,4757],{"class":2103,"line":29},[2101,4750,2491],{"class":2106},[2101,4752,2110],{"class":2109},[2101,4754,2132],{"class":2109},[2101,4756,2196],{"class":2113},[2101,4758,2137],{"class":2109},[2101,4760,4761,4763,4765],{"class":2103,"line":42},[2101,4762,4720],{"class":2106},[2101,4764,2110],{"class":2109},[2101,4766,4725],{"class":2113},[1718,4768,4769],{},"一次多个标签和实体。每个标签都会添加到每个实体上：",[2092,4771,4773],{"className":2094,"code":4772,"language":2096,"meta":2097,"style":2097},"action: homeassistant.add_label_to_entity\ndata:\n  label_id:\n    - \"battery_powered\"\n    - \"cr2023\"\n  entity_id:\n    - sensor.outside_temperature\n    - sensor.inside_temperature\n",[1825,4774,4775,4783,4789,4795,4805,4815,4821,4827],{"__ignoreMap":2097},[2101,4776,4777,4779,4781],{"class":2103,"line":215},[2101,4778,1897],{"class":2106},[2101,4780,2110],{"class":2109},[2101,4782,4697],{"class":2113},[2101,4784,4785,4787],{"class":2103,"line":194},[2101,4786,2119],{"class":2106},[2101,4788,2122],{"class":2109},[2101,4790,4791,4793],{"class":2103,"line":29},[2101,4792,2491],{"class":2106},[2101,4794,2122],{"class":2109},[2101,4796,4797,4799,4801,4803],{"class":2103,"line":42},[2101,4798,3186],{"class":2109},[2101,4800,2132],{"class":2109},[2101,4802,2076],{"class":2113},[2101,4804,2137],{"class":2109},[2101,4806,4807,4809,4811,4813],{"class":2103,"line":118},[2101,4808,3186],{"class":2109},[2101,4810,2132],{"class":2109},[2101,4812,4028],{"class":2113},[2101,4814,2137],{"class":2109},[2101,4816,4817,4819],{"class":2103,"line":53},[2101,4818,4720],{"class":2106},[2101,4820,2122],{"class":2109},[2101,4822,4823,4825],{"class":2103,"line":578},[2101,4824,3186],{"class":2109},[2101,4826,4725],{"class":2113},[2101,4828,4829,4831],{"class":2103,"line":150},[2101,4830,3186],{"class":2109},[2101,4832,4833],{"class":2113}," sensor.inside_temperature\n",[1870,4835,4836],{"icon":2179,"label":2180},[2182,4837,4838],{},[1798,4839,4840],{},"标签只能贴在 Home Assistant 保存在实体注册表里的实体上，也就是有唯一 ID 的那些。没有唯一 ID 的实体不能贴标签，在这里不行，在界面里也不行，动作会停下并报一个写明它的错误。",[1778,4842,4844],{"id":4843},"remove-a-label-from-an-entity","从实体移除标签",[1718,4846,4847],{},"从一个或多个实体上取下一个或多个标签。",[1718,4849,4850,4853],{},[1850,4851,4463],{"href":4852},"#add-a-label-to-an-entity","的另一半。传感器回来了，灯关了，标签就取下来。",[1718,4855,4856],{},[1791,4857,1793],{},[1795,4859,4860,4864,4871,4875,4880],{},[1798,4861,1800,4862,1804],{},[1791,4863,1803],{},[1798,4865,1807,4866,1810,4868,1804],{},[1791,4867,4844],{},[1791,4869,4870],{},"Home Assistant Core Integration: 从实体移除标签 👻",[1798,4872,2229,4873,3265],{},[1791,4874,2232],{},[1798,4876,2229,4877,4879],{},[1791,4878,4495],{},"下，选择要从哪些实体上取下。",[1798,4881,778,4882,1804],{},[1791,4883,1845],{},[1718,4885,4886],{},"你选的每个标签都会从你选的每个实体上取下。没有这个标签的实体保持原样，其他标签也都留着。",[1718,4888,1848,4889,1856],{},[1850,4890,1855],{"href":4891,"rel":4892},"https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fdeveloper_call_service\u002F?service=homeassistant.remove_label_from_entity",[1854],[1761,4894,4897],{"alt":4895,"name":4896},"动作工具，选中了从实体移除标签 👻，并填好了一个示例。","action-homeassistant-remove-label-from-entity",[1718,4898,4899,1865],{},[1791,4900,1855],{},[1867,4902,4903,5033,5059],{},[1870,4904,4905,4975,5031],{"icon":1872,"label":1873},[1875,4906,4907,4913],{},[1878,4908,4909],{},[1881,4910,4911],{},[1884,4912,1886],{"colspan":194},[1888,4914,4915,4924,4935,4943,4951,4959],{},[1881,4916,4917,4921],{},[1893,4918,4919],{},[1721,4920,955],{"to":1897},[1893,4922,4923],{},"从实体移除标签 👻",[1881,4925,4926,4930],{},[1893,4927,4928],{},[1721,4929,1908],{"to":1907},[1893,4931,4932],{},[1825,4933,4934],{},"homeassistant.remove_label_from_entity",[1881,4936,4937,4941],{},[1893,4938,4939],{},[1721,4940,1921],{"to":1920},[1893,4942,1924],{},[1881,4944,4945,4949],{},[1893,4946,4947],{},[1721,4948,1932],{"to":1931},[1893,4950,1935],{},[1881,4952,4953,4957],{},[1893,4954,4955],{},[1721,4956,1943],{"to":1942},[1893,4958,1946],{},[1881,4960,4961,4965],{},[1893,4962,4963],{},[1721,4964,1954],{"to":1953},[1893,4966,4967,1960,4970],{},[1850,4968,1855],{"href":4891,"rel":4969},[1854],[1850,4971,4973],{"href":4891,"rel":4972},[1854],[1965,4974],{"alt":1967,"src":1968},[1875,4976,4977,4993],{},[1878,4978,4979,4983],{},[1881,4980,4981],{},[1884,4982,1977],{"colspan":42},[1881,4984,4985,4987,4989,4991],{},[1884,4986,1982],{},[1884,4988,1985],{},[1884,4990,1988],{},[1884,4992,1991],{},[1888,4994,4995,5013],{},[1881,4996,4997,5001,5007,5009],{},[1893,4998,4999],{},[1825,5000,2192],{},[1893,5002,5003,2962,5005],{},[1721,5004,2006],{"to":2005},[1721,5006,2966],{"to":2965},[1893,5008,2009],{},[1893,5010,5011],{},[1825,5012,2076],{},[1881,5014,5015,5019,5025,5027],{},[1893,5016,5017],{},[1825,5018,4636],{},[1893,5020,5021,2962,5023],{},[1721,5022,2006],{"to":2005},[1721,5024,2966],{"to":2965},[1893,5026,2009],{},[1893,5028,5029],{},[1825,5030,4649],{},[1718,5032,4652],{},[1870,5034,5035,5041,5057],{"icon":2690,"label":2691},[1718,5036,2694,5037,2697,5039,2700],{},[1825,5038,2192],{},[1825,5040,2192],{},[2092,5042,5043],{"className":2094,"code":2703,"language":2096,"meta":2097,"style":2097},[1825,5044,5045],{"__ignoreMap":2097},[2101,5046,5047,5049,5051,5053,5055],{"class":2103,"line":215},[2101,5048,2192],{"class":2106},[2101,5050,2110],{"class":2109},[2101,5052,2132],{"class":2109},[2101,5054,2196],{"class":2113},[2101,5056,2137],{"class":2109},[1718,5058,2720],{},[1870,5060,5061,5064,5104,5106,5145,5148],{"icon":2086,"label":2087},[1718,5062,5063],{},"从一个实体上取下用电池的标签：",[2092,5065,5067],{"className":2094,"code":5066,"language":2096,"meta":2097,"style":2097},"action: homeassistant.remove_label_from_entity\ndata:\n  label_id: \"battery_powered\"\n  entity_id: sensor.outside_temperature\n",[1825,5068,5069,5078,5084,5096],{"__ignoreMap":2097},[2101,5070,5071,5073,5075],{"class":2103,"line":215},[2101,5072,1897],{"class":2106},[2101,5074,2110],{"class":2109},[2101,5076,5077],{"class":2113}," homeassistant.remove_label_from_entity\n",[2101,5079,5080,5082],{"class":2103,"line":194},[2101,5081,2119],{"class":2106},[2101,5083,2122],{"class":2109},[2101,5085,5086,5088,5090,5092,5094],{"class":2103,"line":29},[2101,5087,2491],{"class":2106},[2101,5089,2110],{"class":2109},[2101,5091,2132],{"class":2109},[2101,5093,2076],{"class":2113},[2101,5095,2137],{"class":2109},[2101,5097,5098,5100,5102],{"class":2103,"line":42},[2101,5099,4720],{"class":2106},[2101,5101,2110],{"class":2109},[2101,5103,4725],{"class":2113},[1718,5105,2760],{},[2092,5107,5109],{"className":2094,"code":5108,"language":2096,"meta":2097,"style":2097},"action: homeassistant.remove_label_from_entity\ndata:\n  label_id: \"{{ label_id('Battery powered') }}\"\n  entity_id: sensor.outside_temperature\n",[1825,5110,5111,5119,5125,5137],{"__ignoreMap":2097},[2101,5112,5113,5115,5117],{"class":2103,"line":215},[2101,5114,1897],{"class":2106},[2101,5116,2110],{"class":2109},[2101,5118,5077],{"class":2113},[2101,5120,5121,5123],{"class":2103,"line":194},[2101,5122,2119],{"class":2106},[2101,5124,2122],{"class":2109},[2101,5126,5127,5129,5131,5133,5135],{"class":2103,"line":29},[2101,5128,2491],{"class":2106},[2101,5130,2110],{"class":2109},[2101,5132,2132],{"class":2109},[2101,5134,2196],{"class":2113},[2101,5136,2137],{"class":2109},[2101,5138,5139,5141,5143],{"class":2103,"line":42},[2101,5140,4720],{"class":2106},[2101,5142,2110],{"class":2109},[2101,5144,4725],{"class":2113},[1718,5146,5147],{},"一次多个标签和实体。每个标签都会从每个实体上移除：",[2092,5149,5151],{"className":2094,"code":5150,"language":2096,"meta":2097,"style":2097},"action: homeassistant.remove_label_from_entity\ndata:\n  label_id:\n    - \"battery_powered\"\n    - \"cr2023\"\n  entity_id:\n    - sensor.outside_temperature\n    - sensor.inside_temperature\n",[1825,5152,5153,5161,5167,5173,5183,5193,5199,5205],{"__ignoreMap":2097},[2101,5154,5155,5157,5159],{"class":2103,"line":215},[2101,5156,1897],{"class":2106},[2101,5158,2110],{"class":2109},[2101,5160,5077],{"class":2113},[2101,5162,5163,5165],{"class":2103,"line":194},[2101,5164,2119],{"class":2106},[2101,5166,2122],{"class":2109},[2101,5168,5169,5171],{"class":2103,"line":29},[2101,5170,2491],{"class":2106},[2101,5172,2122],{"class":2109},[2101,5174,5175,5177,5179,5181],{"class":2103,"line":42},[2101,5176,3186],{"class":2109},[2101,5178,2132],{"class":2109},[2101,5180,2076],{"class":2113},[2101,5182,2137],{"class":2109},[2101,5184,5185,5187,5189,5191],{"class":2103,"line":118},[2101,5186,3186],{"class":2109},[2101,5188,2132],{"class":2109},[2101,5190,4028],{"class":2113},[2101,5192,2137],{"class":2109},[2101,5194,5195,5197],{"class":2103,"line":53},[2101,5196,4720],{"class":2106},[2101,5198,2122],{"class":2109},[2101,5200,5201,5203],{"class":2103,"line":578},[2101,5202,3186],{"class":2109},[2101,5204,4725],{"class":2113},[2101,5206,5207,5209],{"class":2103,"line":150},[2101,5208,3186],{"class":2109},[2101,5210,4833],{"class":2113},[1769,5212,5214],{"id":5213},"blueprints-tutorials","蓝图与教程",[1718,5216,5217,5218,5221,5222,1804],{},"目前还没有已知的、针对这些动作的",[1721,5219,340],{"to":5220},"blueprint","或教程。你做了一个，或者找到了一个？",[1850,5223,5226],{"href":5224,"rel":5225},"https:\u002F\u002Fgithub.com\u002Ffrenck\u002Fspook\u002Fdiscussions",[1854],"在我们的讨论区告诉我们",[1769,5228,5230],{"id":5229},"feature-requests-ideas-and-support","功能请求、想法与支持",[1718,5232,5233,5234,1804],{},"有让它更进一步的想法，比如新的动作、实体或修复？",[1850,5235,5226],{"href":5224,"rel":5236},[1854],[1718,5238,5239,5240,5242],{},"卡住了，或者发现了 bug？",[1850,5241,45],{"href":44},"页面会告诉你去哪里求助。",[5244,5245,5246],"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":2097,"searchDepth":194,"depth":194,"links":5248},[5249,5260,5261],{"id":90,"depth":194,"text":955,"children":5250},[5251,5252,5253,5254,5255,5256,5257,5258,5259],{"id":1780,"depth":29,"text":1781},{"id":2199,"depth":29,"text":2200},{"id":2530,"depth":29,"text":2531},{"id":2801,"depth":29,"text":2802},{"id":3233,"depth":29,"text":3234},{"id":3646,"depth":29,"text":3647},{"id":4060,"depth":29,"text":4061},{"id":4462,"depth":29,"text":4463},{"id":4843,"depth":29,"text":4844},{"id":5213,"depth":194,"text":5214},{"id":5229,"depth":194,"text":5230},"md",{"subtitle":5264,"offers":5265,"counts":5266,"repairs":5267,"sections":29},"喜欢它，就该给它贴个标签 🏷️",[90],{"actions":129},[],{"title":122,"description":123},"BCbtJhGzcdlgOcgSnzljqRWDEXn9sa98VqAZCJX7bkw",1795717151142,"88e67443-85a8-4de6-b8fb-10c47bf925d8"]