Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 0367c4f

Browse files
Adjust position of CSV column with grid demand
1 parent c79ca6a commit 0367c4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

custom_components/pse/binary_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def is_on(self):
2727
def extra_state_attributes(self):
2828
output = dict()
2929
if self.data is not None:
30-
output["demand"] = float(self.data[3].replace(",","."))
30+
output["demand"] = float(self.data[2].replace(",","."))
3131
return output
3232

3333
@property

0 commit comments

Comments
 (0)