kamaradclimber / heishamon-homeassistant

An integration for heatpumps handled by heishamon
Apache License 2.0
50 stars 25 forks source link

Cooling compensation curve: wrong min/max values #218

Closed b3nn0 closed 5 months ago

b3nn0 commented 5 months ago

Versions

Describe the bug

Hi, the min/max values for the entities regarding cooling compensation curve seem to be wrong. On my heat pump (Aquarea L series 5kw), setting everything to min/max looks like this: IMG_20240621_171753 IMG_20240621_171825

However, the temperature range I can set in this integration is: Min and max outside temperature: -20°C to 30°C Min/max water temperature: 15°C to 60°C

I suppose having larger range (as with the outside temperature) is not beautiful, but not really a problem. However, only being able to set the min water temperature to 15°C is a bit lacking - in some cases I want to set it lower than that.

To Reproduce Steps to reproduce the behavior: Slightly adapted your Heat curve adjustment card to make it easy to test:

type: vertical-stack
title: Kühlkurve
cards:
  - type: vertical-stack
    cards:
      - type: horizontal-stack
        cards:
          - type: entities
            entities:
              - entity: number.panasonic_heat_pump_main_z1_cool_curve_outside_low_temp
              - entity: number.panasonic_heat_pump_main_z1_cool_curve_target_high_temp
      - type: horizontal-stack
        cards:
          - type: entities
            entities:
              - entity: >-
                  number.panasonic_heat_pump_main_z1_cool_curve_outside_high_temp
              - entity: number.panasonic_heat_pump_main_z1_cool_curve_target_low_temp
  - type: custom:plotly-graph
    refresh_interval: 10
    defaults:
      entity:
        show_value: true
        line:
          shape: spline
    layout:
      xaxis:
        type: number
        autorange: true
    entities:
      - entity: ''
        name: Zone 1
        x:
          - >-
            $ex
            hass.states['number.panasonic_heat_pump_main_z1_cool_curve_outside_low_temp'].state
          - >-
            $ex
            hass.states['number.panasonic_heat_pump_main_z1_cool_curve_outside_high_temp'].state
        'y':
          - >-
            $ex
            hass.states['number.panasonic_heat_pump_main_z1_cool_curve_target_high_temp'].state
          - >-
            $ex
            hass.states['number.panasonic_heat_pump_main_z1_cool_curve_target_low_temp'].state

Expected behavior

It should be possible to set it lower than 15°C

Screenshots

image