토론

홈 어시스턴트 자동화 YAML 생성기

Wikiprompt, 무료 프롬프트 백과사전에서

Coin Shot ☁️

2026년 5월 29일

홈 어시스턴트 자동화 YAML 생성기 보안, 조명, 온도 조절기, 일일 요약을 포함하는 완전한 Home Assistant 자동화 YAML 구성을 생성하기 위한 프롬프트, 주석 처리된 코드 출력 포함.

프롬프트 내용저장

🌐
# 1. Frigate가 오후 10시에서 오전 6시 사이에 현관에서 사람을 감지하면 현관등을 켜고 스냅샷이 포함된 휴대폰 알림을 보냅니다. automation: - id: "front_door_person_night_alert" alias: "Front Door Person Night Alert" trigger: - platform: mqtt topic: "frigate/events" payload: "person" value_template: "{{ value_json.type }}" - platform: mqtt topic: "frigate/events" payload: "front_door" value_template: "{{ value_json.camera }}" condition: - condition: time after: "22:00:00" before: "06:00:00" action: - service: light.turn_on target: entity_id: light.porch_light - service: notify.mobile_app_phone data: title: "Person Detected at Front Door" message: "A person was detected at the front door." data: image: /api/frigate/notifier/{{ trigger.payload_json.id }}/snapshot.jpg mode: single # 2. 현관문 잠금이 열리고 아무도 집에 없을 때(휴대폰 위치 기반) 경고를 보냅니다. - id: "front_door_unlocked_no_one_home" alias: "Front Door Unlocked No One Home" trigger: - platform: state entity_id: lock.front_door to: "unlocked" condition: - condition: state entity_id: person.family_member_1 state: "not_home" - condition: state entity_id: person.family_member_2 state: "not_home" action: - service: notify.mobile_app_phone data: title: "Alert: Front Door Unlocked" message: "The front door was unlocked while no one is home." mode: single # 3. 모든 가족 구성원이 집을 떠나면 모든 조명을 끄고 문을 잠그고 온도조절기를 외출 모드로 설정합니다. - id: "everyone_left_home" alias: "Everyone Left Home" trigger: - platform: state entity_id: person.family_member_1 to: "not_home" - platform: state entity_id: person.family_member_2 to: "not_home" condition: - condition: state entity_id: person.family_member_1 state: "not_home" - condition: state entity_id: person.family_member_2 state: "not_home" action: - service: light.turn_off target: entity_id: all - service: lock.lock target: entity_id: lock.front_door - service: climate.set_hvac_mode target: entity_id: climate.thermostat data: hvac_mode: "away" mode: single # 4. 연기 경보기가 작동하면 모든 조명을 빨간색으로 깜박이고 현관문을 잠금 해제하며 모든 가족 구성원에게 알림을 보냅니다. - id: "smoke_alarm_emergency" alias: "Smoke Alarm Emergency" trigger: - platform: state entity_id: binary_sensor.smoke_alarm to: "on" action: - repeat: while: - condition: state entity_id: binary_sensor.smoke_alarm state: "on" sequence: - service: light.turn_on target: entity_id: all data: color_name: "red" brightness: 255 - delay: "00:00:01" - service: light.turn_off target: entity_id: all - delay: "00:00:01" - service: lock.unlock target: entity_id: lock.front_door - service: notify.family_group data: title: "EMERGENCY: Smoke Alarm" message: "Smoke alarm triggered! Front door unlocked. Please check immediately." mode: restart # 5. 매일 아침 7시에 어제의 카메라 이벤트와 열린 문/창문에 대한 음성 친화적인 텍스트 요약을 보냅니다. - id: "morning_summary" alias: "Morning Summary" trigger: - platform: time at: "07:00:00" action: - service: notify.mobile_app_phone data: title: "Good Morning Summary" message: > Here is your summary for yesterday. There were {{ states.sensor.camera_events_yesterday.state }} camera events. {% set open_doors = states.binary_sensor | selectattr('state', 'equalto', 'on') | selectattr('entity_id', 'search', 'door') | list %} {% set open_windows = states.binary_sensor | selectattr('state', 'equalto', 'on') | selectattr('entity_id', 'search', 'window') | list %} {% if open_doors | length > 0 %} Open doors: {{ open_doors | map(attribute='name') | join(', ') }}. {% else %} No open doors. {% endif %} {% if open_windows | length > 0 %} Open windows: {{ open_windows | map(attribute='name') | join(', ') }}. {% else %} No open windows. {% endif %} mode: single

전체 프롬프트를 보려면 로그인하세요

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

사용법

이 프롬프트는 coding와 함께 사용하도록 설계되었습니다. 위의 프롬프트 내용을 복사하여 원하는 AI 도구에 붙여넣으세요.

최상의 결과를 얻으려면 자리 표시자(대괄호 또는 대문자로 표시)를 특정 요구 사항으로 사용자 지정할 수 있습니다.

참고 자료

분류:coding| twitter| home-assistant| automation

토론