● ha 작업) 보일러 일괄 온도 설정 방법
♨ 카랜더 일정 :
2024년04월04일
링크
첨부
본문
● ha 작업) 보일러 일괄 온도 설정 방법
![3232235521_1712240171.5636.png](https://11q.kr:443/www/data/editor/2404/thumb-3232235521_1712240171.5636_600x927.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](https://11q.kr/www/data/editor/1.png)
뷰PDF 1,2
office view
관련자료
-
이전
-
다음
댓글목록
등록된 댓글이 없습니다.