mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Fix docstring (#4564)
This commit is contained in:
parent
14d1494cd2
commit
345008c673
@ -95,7 +95,7 @@ class PvoutputSensor(Entity):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def device_state_attributes(self):
|
def device_state_attributes(self):
|
||||||
"""Return the state attributes of the Pi-Hole."""
|
"""Return the state attributes of the monitored installation."""
|
||||||
if self.pvcoutput is not None:
|
if self.pvcoutput is not None:
|
||||||
return {
|
return {
|
||||||
ATTR_ENERGY_GENERATION: self.pvcoutput.energy_generation,
|
ATTR_ENERGY_GENERATION: self.pvcoutput.energy_generation,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user