Skip to content

Commit

Permalink
Tests: update renpho extra attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
make-all committed Jan 13, 2025
1 parent 23fa0fe commit 85f3c17
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/devices/test_renpho_rp_ap001s.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,20 +136,10 @@ async def test_set_preset_mode_to_auto(self):

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,
},
)

0 comments on commit 85f3c17

Please sign in to comment.