Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thermal power sensors #27

Merged
merged 1 commit into from
Feb 6, 2025
Merged

Thermal power sensors #27

merged 1 commit into from
Feb 6, 2025

Conversation

alepee
Copy link
Owner

@alepee alepee commented Feb 6, 2025

Add thermal energy sensors

This PR adds three new sensors to measure the heat pump's thermal energy production:

  • thermal_power: Real-time thermal power output (kW)
  • daily_thermal_energy: Daily thermal energy production (kWh, resets at midnight)
  • total_thermal_energy: Total cumulative thermal energy production (kWh)

Features

  • Calculation based on water flow rate and temperature difference (ΔT)
  • Measurements only when compressor is running
  • State restoration after Home Assistant restart
  • Detailed attributes for each sensor:
    • Measurement timestamps
    • Water flow and ΔT for instant power
    • Measurement period and average power for energy counters
    • Clearly indicated units

Translations

Added French and English translations for all new sensors and their attributes.

Documentation

Documentation has been updated to include:

  • Description of new sensors
  • Calculation method used
  • Meaning of attributes

@alepee alepee changed the title feat: Thermal power sensors Thermal power sensors Feb 6, 2025
@alepee alepee self-assigned this Feb 6, 2025
@alepee alepee added enhancement New feature or request and removed dev tools maintenance labels Feb 6, 2025
@alepee
Copy link
Owner Author

alepee commented Feb 6, 2025

Linked to #15

@alepee alepee merged commit 5f0089c into main Feb 6, 2025
6 checks passed
@alepee alepee deleted the feat/thermal-power-sensors branch February 6, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant