Ver Fonte

tests: update for unit standardization in translated entities

Jason Rumney há 2 meses atrás
pai
commit
7f94d5a1c3

+ 1 - 0
tests/devices/test_inkbird_itc308_thermostat.py

@@ -90,6 +90,7 @@ class TestInkbirdITC308Thermostat(
                     "step": 0.1,
                     "min": -9.9,
                     "max": 9.9,
+                    "unit": "°",
                 },
                 {
                     "name": "number_compressor_delay",

+ 1 - 0
tests/devices/test_nashone_mts700wb_thermostat.py

@@ -56,6 +56,7 @@ class TestNashoneMTS700WBThermostat(
             self.entities.get("number_temperature_calibration"),
             min=-5,
             max=5,
+            unit="°",
         )
         self.setUpBasicSelect(
             TIMER_DPS,