Skip to content

Commit

Permalink
masterPlantNumber is an INT
Browse files Browse the repository at this point in the history
  • Loading branch information
marq24 committed Sep 7, 2023
1 parent 0954533 commit cfcd238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/senec/pysenec_ha/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1644,7 +1644,7 @@ def firmwareVersion(self) -> str:
@property
def masterPlantNumber(self) -> int:
if hasattr(self, '_master_plant_number'):
return str(self._master_plant_number)
return int(self._master_plant_number)

@property
def accuimport_today(self) -> float:
Expand Down

0 comments on commit cfcd238

Please sign in to comment.