mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Remove last_reset from vesync sensor (#63877)
This commit is contained in:
parent
b4b758811f
commit
ccc4423c62
@ -1,5 +1,4 @@
|
||||
"""Support for power & energy sensors for VeSync outlets."""
|
||||
from datetime import datetime
|
||||
import logging
|
||||
|
||||
from homeassistant.components.sensor import (
|
||||
@ -126,11 +125,6 @@ class VeSyncEnergySensor(VeSyncSensorEntity):
|
||||
"""Return the energy device class."""
|
||||
return SensorDeviceClass.ENERGY
|
||||
|
||||
@property
|
||||
def last_reset(self):
|
||||
"""Return datetime representing beginning of day."""
|
||||
return datetime.today()
|
||||
|
||||
@property
|
||||
def native_value(self):
|
||||
"""Return the today total energy usage in kWh."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user