Remove last_reset from vesync sensor (#63877)
This commit is contained in:
parent
b4b758811f
commit
ccc4423c62
1 changed files with 0 additions and 6 deletions
|
@ -1,5 +1,4 @@
|
||||||
"""Support for power & energy sensors for VeSync outlets."""
|
"""Support for power & energy sensors for VeSync outlets."""
|
||||||
from datetime import datetime
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from homeassistant.components.sensor import (
|
from homeassistant.components.sensor import (
|
||||||
|
@ -126,11 +125,6 @@ class VeSyncEnergySensor(VeSyncSensorEntity):
|
||||||
"""Return the energy device class."""
|
"""Return the energy device class."""
|
||||||
return SensorDeviceClass.ENERGY
|
return SensorDeviceClass.ENERGY
|
||||||
|
|
||||||
@property
|
|
||||||
def last_reset(self):
|
|
||||||
"""Return datetime representing beginning of day."""
|
|
||||||
return datetime.today()
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def native_value(self):
|
def native_value(self):
|
||||||
"""Return the today total energy usage in kWh."""
|
"""Return the today total energy usage in kWh."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue