Skip to content

Commit

Permalink
Correct units of solar entities
Browse files Browse the repository at this point in the history
Kelvin is not a unit known to HA so it create warnings
  • Loading branch information
kamaradclimber committed Jan 21, 2024
1 parent e985777 commit c083f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/aquarea/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ def build_sensors(mqtt_prefix: str) -> list[HeishaMonSensorEntityDescription]:
key=f"{mqtt_prefix}main/Solar_On_Delta",
name="Aquarea Solar delta on",
device_class=SensorDeviceClass.TEMPERATURE,
native_unit_of_measurement=K",
native_unit_of_measurement=C",
state=int,
entity_registry_enabled_default=False, # by default we hide all options related to less common setup (cooling, buffer, solar and pool)
),
Expand All @@ -1527,7 +1527,7 @@ def build_sensors(mqtt_prefix: str) -> list[HeishaMonSensorEntityDescription]:
key=f"{mqtt_prefix}main/Solar_Off_Delta",
name="Aquarea Solar delta off",
device_class=SensorDeviceClass.TEMPERATURE,
native_unit_of_measurement=K",
native_unit_of_measurement=C",
state=int,
entity_registry_enabled_default=False, # by default we hide all options related to less common setup (cooling, buffer, solar and pool)
),
Expand Down

0 comments on commit c083f8c

Please sign in to comment.