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

Commit b54d7d1

Browse files
Merge pull request #6 from KrzysztofHajdamowicz/fix/grid-output
Adjust position of CSV column with grid demand
2 parents c79ca6a + 0367c4f commit b54d7d1

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)