Reading float value for PID Climate

Hi All,

I recently switched from 2-point thermostat climate plaform to PID Climate. To evaluate the control parameters i want to read the heat output in Home Assistant. At the moment I can’t see the values weather in the ESP Home log, nor as a entity in HA.

climate:
  - platform: pid
    name: "Thermostat Wohnzimmer"
    sensor: temperatur_wohnzimmer
    default_target_temperature: 21°C
    heat_output: WZ_heater_pwm
    control_parameters:
      kp: 0.49460
      ki: 0.00487
      kd: 12.56301
      output_averaging_samples: 5      # smooth the output over 5 samples
      derivative_averaging_samples: 5  # smooth the derivative value over 10 samples
    deadband_parameters:
      threshold_high: 0.2°C       # deadband within +/-0.5°C of target_temperature
      threshold_low: -0.2°C

output:
  - platform: slow_pwm
    pin: GPIO4
    id: WZ_heater_pwm
    period: 30min

You can retrieve the calculated PID value as a sensor:

Instructions: PID sensor

RESULT gives the actual calculated PID value in percent. It can be negative or in excess of 100%.
HEAT tops of the RESULT between 0 and 100%.
Both can be used to stear an action.