Remove specified accuracy_decimals from total_daily_energy (#2174)

This commit is contained in:
Jesse Hills 2021-08-18 10:32:19 +12:00
parent 9c605f2d46
commit 61a9c9fa33
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -20,7 +20,6 @@ TotalDailyEnergy = total_daily_energy_ns.class_(
CONFIG_SCHEMA = (
sensor.sensor_schema(
accuracy_decimals=0,
device_class=DEVICE_CLASS_ENERGY,
state_class=STATE_CLASS_MEASUREMENT,
last_reset_type=LAST_RESET_TYPE_AUTO,