Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
use runtimeconfiguration for setpoint, fixes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
dynasticorpheus committed Dec 1, 2023
1 parent 94e38e8 commit db21a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/gigasetelements/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def get_sensor_attributes(self, item, attr):
"momentaryPowerMeasurement"
)
attr["pressure"] = item.get("states", {}).get("pressure")
attr["setpoint"] = item.get("states", {}).get("setPoint")
attr["setpoint"] = item.get("runtimeConfiguration", {}).get("setPoint")
attr["temperature"] = item.get("states", {}).get("temperature")
attr["test_required"] = item.get(
"testRequired", item.get("states", {}).get("testRequired")
Expand Down

0 comments on commit db21a07

Please sign in to comment.