● HA작업) 자동화로 서재불 불켜고 끄기 기본 구성 입니다
이전
다음
본문
● HA작업) 자동화로 서재불 불켜고 끄기 기본 구성 입니다
alias: 서재불이 꺼졌습니다,
description: ""
trigger:
- type: occupied
platform: device
device_id: 772545dca7a1cc430a29bcc1235d62ee
entity_id: 5d89b316205061a8ffb4165893a1270e
domain: binary_sensor
- type: not_occupied
platform: device
device_id: 772545dca7a1cc430a29bcc1235d62ee
entity_id: 5d89b316205061a8ffb4165893a1270e
domain: binary_sensor
- type: motion
platform: device
device_id: 772545dca7a1cc430a29bcc1235d62ee
entity_id: d5e13df4ef7583e9269829df950861a7
domain: binary_sensor
condition:
- condition: state
entity_id: switch.seojae_bul_right_2
state: "on"
action:
- if:
- condition: state
entity_id: binary_sensor.esp32_s3_m1_2450_ip107_presence
state: "on"
then:
- action: switch.turn_on
metadata: {}
data: {}
target:
entity_id: switch.seojae_bul_left_2
- if:
- condition: state
entity_id: binary_sensor.esp32_s3_m1_2450_ip107_presence
state: "off"
then:
- action: switch.turn_off
target:
entity_id:
- switch.seojae_bul_left_2
data: {}
- action: tts.edge_tts_say
metadata: {}
data:
cache: false
entity_id: media_player.speaker_1
message: 서재불이 꺼졌습니다, 서재불이 꺼졌습니다,
mode: single
☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.