Преглед изворни кода

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",
                     "dps": BALANCE_DPS,
-                    "device_class": SensorDeviceClass.ENERGY,
                     "unit": UnitOfEnergy.KILO_WATT_HOUR,
-                    "state_class": STATE_CLASS_TOTAL,
                     "testdata": (123456, 1234.56),
                 },
             ],