You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the issue
The Sensors that show data for
peakshaving mode
peakshaving gridexport limit
peakshaving capacitylimit
peakshaving enddate
return "unknown" instad of the current data.
Result of Analysis
The root of the issue can be found in the file /custom_components/senec/pysenec_ha/init.py
Starting with line 2437 the respective properties check "if hasattr(self, "_peakShaving_entities")".
The correct if-statement is: "if hasattr(self, "_peak_shaving_entities")".
I'll provide an PR to solve this issue.
The text was updated successfully, but these errors were encountered:
io-debug
added a commit
to io-debug/ha-senec-v3
that referenced
this issue
Dec 9, 2023
Description of the issue
The Sensors that show data for
return "unknown" instad of the current data.
Result of Analysis
The root of the issue can be found in the file /custom_components/senec/pysenec_ha/init.py
Starting with line 2437 the respective properties check "if hasattr(self, "_peakShaving_entities")".
The correct if-statement is: "if hasattr(self, "_peak_shaving_entities")".
I'll provide an PR to solve this issue.
The text was updated successfully, but these errors were encountered: