Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions miio/integrations/airpurifier/zhimi/airpurifier_miot.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
# aqi
"purify_volume": {"siid": 11, "piid": 1},
"average_aqi": {"siid": 11, "piid": 2},
"aqi_realtime_update_duration": {"siid": 11, "piid": 4},
# RFID
"filter_rfid_tag": {"siid": 12, "piid": 1},
"filter_rfid_product_id": {"siid": 12, "piid": 3},
Expand Down Expand Up @@ -355,11 +354,6 @@ class AirPurifierMiot(MiotDevice):
)
def status(self) -> AirPurifierMiotStatus:
"""Retrieve properties."""
# Some devices update the aqi information only every 30min.
# This forces the device to poll the sensor for 5 seconds,
# so that we get always the most recent values. See #1281.
if self.model == "zhimi.airpurifier.mb3":
self.set_property("aqi_realtime_update_duration", 5)

return AirPurifierMiotStatus(
{
Expand Down