Fix powerwall units (kW) (#33954)
* Fix powerwall units (kW) * Fix test Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
7b9585cd8e
commit
ca0648afe8
4 changed files with 21 additions and 16 deletions
|
@ -129,7 +129,7 @@ class PowerWallGridStatusSensor(PowerWallEntity, BinarySensorDevice):
|
|||
|
||||
@property
|
||||
def is_on(self):
|
||||
"""Get the current value in kWh."""
|
||||
"""Grid is online."""
|
||||
return (
|
||||
self._coordinator.data[POWERWALL_API_GRID_STATUS] == POWERWALL_GRID_ONLINE
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue