코딩정보


● ha 작업) 보일러 일괄 온도 설정 방법




컨텐츠 정보


본문

●  ha 작업)  보일러 일괄 온도 설정 방법
3232235521_1712240171.5636.png

ChatGPT
오류는 climate.control에 switch 옵션이 사용되지 않는다는 것을 나타냅니다. 대신에 target_temperature 옵션을 사용하여 온도를 설정할 수 있습니다. 따라서 수정된 버튼 템플릿은 다음과 같이 보일 것입니다.
yaml
Copy code
button:
  - platform: template
    name: "boiler_all_on"
    on_press:
      then:
        - climate.control:
            id: boiler_livingroom_a
            target_temperature: 25°C
        - climate.control:
            id: boiler_bigroom_a
            target_temperature: 25°C
        - climate.control:
            id: boiler_smallroom_a
            target_temperature: 25°C
        - climate.control:
            id: boiler_bookroom_a
            target_temperature: 25°C
  - platform: template
    name: "boiler_all_off"
    on_press:
      then:
        - climate.control:
            id: boiler_livingroom_a
            target_temperature: 0°C
        - climate.control:
            id: boiler_bigroom_a
            target_temperature: 0°C
        - climate.control:
            id: boiler_smallroom_a
            target_temperature: 0°C
        - climate.control:
            id: boiler_bookroom_a
            target_temperature: 0°C
위의 코드에서는 boiler_all_on 버튼이 모든 보일러의 타겟 온도를 25°C로 설정하고, boiler_all_off 버튼이 모든 보일러의 타겟 온도를 0°C로 설정합니다. 이렇게 함으로써 보일러를 켜거나 끌 수 있습니다.
☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠1.png

뷰PDF add1,add2



관련자료

댓글 0
등록된 댓글이 없습니다.



♥간단_메모글♥


최근글


새댓글



PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
▶ 2024-05-16 10:07:36

오늘의 홈 현황


  • 현재 접속자♨ 92 명
  • 오늘 가입자※ 2 명
  • 어제 가입자※ 4 명
  • 주간 가입자※ 11 명
  • 오늘 방문자 1,275 명
  • 어제 방문자 1,597 명
  • 최대 방문자 13,042 명
  • 전체 방문자 4,325,605 명
  • 전체 게시물※ 8,570 개
  • 전체 댓글수※ 24,613 개
  • 전체 회원수 10,969 명

QR코드


☞ QR코드 스캔은 kakao앱 자체 QR코드

알림 0








최신글↑