Remove specified accuracy_decimals from total_daily_energy (#2174)

This commit is contained in:
Jesse Hills 2021-08-18 10:32:19 +12:00 committed by GitHub
parent edb3b77916
commit fbd9e87b51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,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,