فهرست منبع

Tests: fix smartmcb tests after removal of energy class on balance

Jason Rumney 3 سال پیش
والد
کامیت
63294b8b5a
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      tests/devices/test_smartmcb_smt006_energymeter.py

+ 0 - 2
tests/devices/test_smartmcb_smt006_energymeter.py

@@ -79,9 +79,7 @@ class TestSmartMcbSMT006EnergyMeter(
                 {
                 {
                     "name": "sensor_balance_energy",
                     "name": "sensor_balance_energy",
                     "dps": BALANCE_DPS,
                     "dps": BALANCE_DPS,
-                    "device_class": SensorDeviceClass.ENERGY,
                     "unit": UnitOfEnergy.KILO_WATT_HOUR,
                     "unit": UnitOfEnergy.KILO_WATT_HOUR,
-                    "state_class": STATE_CLASS_TOTAL,
                     "testdata": (123456, 1234.56),
                     "testdata": (123456, 1234.56),
                 },
                 },
             ],
             ],