|
|
@@ -136,20 +136,10 @@ class TestRenphoPurifier(
|
|
|
|
|
|
def test_extra_state_attributes(self):
|
|
|
self.dps[TIMER_DPS] = "19"
|
|
|
- self.dps[QUALITY_DPS] = "22"
|
|
|
- self.dps[PREFILTER_DPS] = 102
|
|
|
- self.dps[CHARCOAL_DPS] = 103
|
|
|
- self.dps[ACTIVATED_DPS] = 104
|
|
|
- self.dps[HEPA_DPS] = 105
|
|
|
|
|
|
self.assertDictEqual(
|
|
|
self.subject.extra_state_attributes,
|
|
|
{
|
|
|
"timer": "19",
|
|
|
- "air_quality": "22",
|
|
|
- "prefilter_life": 102,
|
|
|
- "charcoal_filter_life": 103,
|
|
|
- "activated_charcoal_filter_life": 104,
|
|
|
- "hepa_filter_life": 105,
|
|
|
},
|
|
|
)
|