Просмотр исходного кода

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

Jason Rumney 3 лет назад
Родитель
Сommit
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",
                     "dps": BALANCE_DPS,
-                    "device_class": SensorDeviceClass.ENERGY,
                     "unit": UnitOfEnergy.KILO_WATT_HOUR,
-                    "state_class": STATE_CLASS_TOTAL,
                     "testdata": (123456, 1234.56),
                 },
             ],