● HA작업) 화장실 전등 및 옷장 전등 off 확인 못하는 전등을 시간 타이머 강제 off 설정 자동화 구성하기
이전
다음
본문
● HA작업) 화장실 전등 및 옷장 전등 off 확인 못하는 전등을 시간 타이머 강제 off 설정 자동화 구성하기
상기와 같이 메뉴 방식으로 구성 추천 합니다.
상기 자동화 을 yaml 파일로 편집하면 다음과 같이 구성 되었습니다.
alias: 화장실팬사워등off_timer
description: 화장실전등팬 timer
trigger:
- platform: device
type: turned_on
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 6df54d058e484c54f54e13d8b964c766
domain: switch
- platform: device
type: turned_on
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 3729b6c5201da952b1e0b3370f6e3bfe
domain: switch
- platform: device
type: turned_on
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: 651915c2b57414404c3aa6f69917a932
domain: switch
- platform: device
type: turned_on
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: c6cfae7e170f87fb498f5b707bd78b04
domain: switch
condition: []
action:
- delay:
hours: 0
minutes: 30
seconds: 10
milliseconds: 0
- type: turn_off
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 6df54d058e484c54f54e13d8b964c766
domain: switch
- type: turn_off
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 3729b6c5201da952b1e0b3370f6e3bfe
domain: switch
- type: turn_off
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: 651915c2b57414404c3aa6f69917a932
domain: switch
- type: turn_off
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: c6cfae7e170f87fb498f5b707bd78b04
domain: switch
mode: single
alias: 화장실팬사워등off_timer
description: 화장실전등팬 timer
trigger:
- platform: device
type: turned_on
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 6df54d058e484c54f54e13d8b964c766
domain: switch
- platform: device
type: turned_on
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 3729b6c5201da952b1e0b3370f6e3bfe
domain: switch
- platform: device
type: turned_on
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: 651915c2b57414404c3aa6f69917a932
domain: switch
- platform: device
type: turned_on
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: c6cfae7e170f87fb498f5b707bd78b04
domain: switch
condition: []
action:
- delay:
hours: 0
minutes: 30
seconds: 10
milliseconds: 0
- type: turn_off
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 6df54d058e484c54f54e13d8b964c766
domain: switch
- type: turn_off
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 3729b6c5201da952b1e0b3370f6e3bfe
domain: switch
- type: turn_off
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: 651915c2b57414404c3aa6f69917a932
domain: switch
- type: turn_off
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: c6cfae7e170f87fb498f5b707bd78b04
domain: switch
mode: single
☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠
관련자료
-
이전
-
다음
댓글 1
11qkr님의 댓글
alias: 새로운자동화_화장실스위치on시_20분후_자동으로_off_구성
description: ""
trigger:
- platform: device
type: turned_on
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: 7aad7d6e400289063c84138476ec8e0c
domain: switch
- platform: device
type: turned_on
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: 651915c2b57414404c3aa6f69917a932
domain: switch
- platform: device
type: turned_on
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: c6cfae7e170f87fb498f5b707bd78b04
domain: switch
- platform: device
type: turned_on
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 790124e3d72091bdc55ba2d47f2197fd
domain: switch
- platform: device
type: turned_on
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 3729b6c5201da952b1e0b3370f6e3bfe
domain: switch
- platform: device
type: turned_on
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 6df54d058e484c54f54e13d8b964c766
domain: switch
condition: []
action:
- delay:
hours: 0
minutes: 20
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: 7aad7d6e400289063c84138476ec8e0c
domain: switch
- type: turn_off
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: c6cfae7e170f87fb498f5b707bd78b04
domain: switch
- type: turn_off
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 790124e3d72091bdc55ba2d47f2197fd
domain: switch
- type: turn_off
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 3729b6c5201da952b1e0b3370f6e3bfe
domain: switch
- type: turn_off
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 6df54d058e484c54f54e13d8b964c766
domain: switch
mode: single
description: ""
trigger:
- platform: device
type: turned_on
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: 7aad7d6e400289063c84138476ec8e0c
domain: switch
- platform: device
type: turned_on
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: 651915c2b57414404c3aa6f69917a932
domain: switch
- platform: device
type: turned_on
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: c6cfae7e170f87fb498f5b707bd78b04
domain: switch
- platform: device
type: turned_on
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 790124e3d72091bdc55ba2d47f2197fd
domain: switch
- platform: device
type: turned_on
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 3729b6c5201da952b1e0b3370f6e3bfe
domain: switch
- platform: device
type: turned_on
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 6df54d058e484c54f54e13d8b964c766
domain: switch
condition: []
action:
- delay:
hours: 0
minutes: 20
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: 7aad7d6e400289063c84138476ec8e0c
domain: switch
- type: turn_off
device_id: 87cb966b43c853ca45357d1cb61622b2
entity_id: c6cfae7e170f87fb498f5b707bd78b04
domain: switch
- type: turn_off
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 790124e3d72091bdc55ba2d47f2197fd
domain: switch
- type: turn_off
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 3729b6c5201da952b1e0b3370f6e3bfe
domain: switch
- type: turn_off
device_id: b8fea46e0f41b6813a3bd51db44f666f
entity_id: 6df54d058e484c54f54e13d8b964c766
domain: switch
mode: single