2025/08/25

LG냉장고 계절별 적정온도 자동화





그동안 2011년 LG 양문형 모델을 사용해 왔는데 전기를 많이 먹는 것 같아 전력효율 1등급 지원정책이 있어 교체. HA에 공식 LG 통합을 설치하면 냉장/냉동실 설정온도와 도어센서, 쾌속냉동 스위치 엔티티 추가됨.

계절별 냉장/냉동실 적정온도가 있어 시즌센서와 냉장/냉동실 온도를 number 엔티티를 사용해 계절별로 자동화.


** 색상은 핑크/베이지 투톤인데 측면이 검은색이라 전체적으로 상당히 어둡게 보임. 다시 선택한다면 위/아래 화이트로 할 것 같음. 아직 익숙치 않아 거실에서 고개돌리면 시커면 벽이 있는 것 같음.
** 여름 기준 이전 냉장고는 하루 2.5kW 나오던 것이 1.5kW로 줄어듬.



- id: 시간-냉장고
  alias: 시간-냉장고
  mode: single
  trigger:
    - platform: state
      entity_id: sensor.season
  action:
    - action: number.set_value
      data:
        entity_id: number.fridge_temperature
        value: >
          {% set season = states('sensor.season') %}
          {% if season in ['spring', 'autumn'] %}3
          {% elif season == 'summer' %}5
          {% elif season == 'winter' %}1
          {% else %}3{% endif %}
    - action: number.set_value
      data:
        entity_id: number.freezer_temperature
        value: >
          {% set season = states('sensor.season') %}
          {% if season in ['spring', 'autumn', 'summer'] %}-18
          {% elif season == 'winter' %}-20
          {% else %}-18{% endif %}