Skip to content

Commit

Permalink
fix: available - 'bool' object is not callable
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrapan committed Dec 9, 2024
1 parent 95f4d00 commit c858616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solarman/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def device_name(self) -> str:

@property
def available(self) -> bool:
return self.coordinator.last_update_success and self.coordinator.inverter.available()
return self.coordinator.last_update_success and self.coordinator.inverter.available

@callback
def _handle_coordinator_update(self) -> None:
Expand Down

0 comments on commit c858616

Please sign in to comment.