Skip to content

Commit

Permalink
Merge pull request #19 from tijsverkoyen/18-last-reset
Browse files Browse the repository at this point in the history
Set last_reset to None as we don't know the last reset
  • Loading branch information
tijsverkoyen authored Dec 6, 2022
2 parents 0778978 + be3e43c commit 6698ecf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ def unit_of_measurement(self) -> str:
@property
def state_class(self) -> str:
return STATE_CLASS_MEASUREMENT

@property
def last_reset(self) -> None:
return None


class FusionSolarRealtimeDeviceDataEnergyTotalIncreasingSensor(FusionSolarRealtimeDeviceDataEnergySensor):
@property
def state_class(self) -> str:
Expand Down

0 comments on commit 6698ecf

Please sign in to comment.