Skip to content

Heatpump: Convert pressure sensors from kgf/cm² to bar - #37

Merged
ElVit merged 1 commit into
mainfrom
heatpump/pressure-unit-bar
Aug 5, 2026
Merged

Heatpump: Convert pressure sensors from kgf/cm² to bar#37
ElVit merged 1 commit into
mainfrom
heatpump/pressure-unit-bar

Conversation

@ElVit

@ElVit ElVit commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Fix pressure sensor unit for Home Assistant compatibility

Changed pressure sensors from kgf/cm² to bar and added the required conversion.

Newer Home Assistant versions validate sensor units more strictly. kgf/cm² is not a valid unit for entities with device_class: pressure, causing warnings during setup.

Reference: Home Assistant sensor unit validation
https://developers.home-assistant.io/docs/core/entity/sensor/

@ElVit
ElVit merged commit 824d7ac into main Aug 5, 2026
22 checks passed
@ElVit
ElVit deleted the heatpump/pressure-unit-bar branch August 5, 2026 20:00
@ElVit ElVit changed the title fix: convert pressure sensors from kgf/cm² to bar Heatpump: Convert pressure sensors from kgf/cm² to bar Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant