讨论

Home Assistant自动化YAML生成器

来自 Wikiprompt,自由的提示词百科全书

Coin Shot ☁️

2026年5月29日

Home Assistant自动化YAML生成器 生成一份完整的Home Assistant自动化YAML配置的提示,涵盖安全、照明、恒温器和每日摘要,并输出带注释的代码。

提示词内容收藏

🌐
Write me a Home Assistant automation YAML configuration that: 1. When Frigate detects a person at the front door between 10pm and 6am, turn on the porch light and send a phone notification with the snapshot. 2. When the front door lock is opened and no one is home, based on phone location, send an alert. 3. When everyone leaves the house, turn off all lights, lock the doors, and set the thermostat to away mode. 4. When a smoke alarm triggers, flash all lights red, unlock the front door, and send alerts to everyone in the family. 5. Every morning at 7am, send me a voice-friendly text summary with yesterday’s camera events and any open doors or windows. Output the full configuration.yaml-ready code with comments.

登录以查看完整提示词

继续使用:

登录即表示你同意我们的 使用条款 和 隐私政策

用法

此提示词专为 coding 设计。复制上方内容并粘贴到你常用的 AI 工具中。

为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。

参考资料

分类:coding| twitter| home-assistant| automation

讨论