Skip to content

Commit

Permalink
Revert "Add support for Xiaomi airpurifier and humidifier (#117791)" (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tr4nt0r authored Sep 27, 2024
1 parent 20a57d6 commit c768f03
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions homeassistant/components/xiaomi_miio/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class SetupException(Exception):
MODEL_AIRPURIFIER_3C = "zhimi.airpurifier.mb4"
MODEL_AIRPURIFIER_3C_REV_A = "zhimi.airp.mb4a"
MODEL_AIRPURIFIER_3H = "zhimi.airpurifier.mb3"
MODEL_AIRPURIFIER_COMPACT = "xiaomi.airp.cpa4"
MODEL_AIRPURIFIER_M1 = "zhimi.airpurifier.m1"
MODEL_AIRPURIFIER_M2 = "zhimi.airpurifier.m2"
MODEL_AIRPURIFIER_MA1 = "zhimi.airpurifier.ma1"
Expand All @@ -85,7 +84,6 @@ class SetupException(Exception):
MODEL_AIRHUMIDIFIER_CB1 = "zhimi.humidifier.cb1"
MODEL_AIRHUMIDIFIER_JSQ = "deerma.humidifier.jsq"
MODEL_AIRHUMIDIFIER_JSQ1 = "deerma.humidifier.jsq1"
MODEL_AIRHUMIDIFIER_JSQ2W = "deerma.humidifier.jsq2w"
MODEL_AIRHUMIDIFIER_MJJSQ = "deerma.humidifier.mjjsq"

MODEL_AIRFRESH_A1 = "dmaker.airfresh.a1"
Expand Down Expand Up @@ -152,7 +150,6 @@ class SetupException(Exception):
MODEL_AIRPURIFIER_SA2,
MODEL_AIRPURIFIER_2S,
MODEL_AIRPURIFIER_2H,
MODEL_AIRPURIFIER_COMPACT,
MODEL_AIRFRESH_A1,
MODEL_AIRFRESH_VA2,
MODEL_AIRFRESH_VA4,
Expand All @@ -167,7 +164,6 @@ class SetupException(Exception):
MODELS_HUMIDIFIER_MJJSQ = [
MODEL_AIRHUMIDIFIER_JSQ,
MODEL_AIRHUMIDIFIER_JSQ1,
MODEL_AIRHUMIDIFIER_JSQ2W,
MODEL_AIRHUMIDIFIER_MJJSQ,
]

Expand Down
4 changes: 0 additions & 4 deletions homeassistant/components/xiaomi_miio/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
MODEL_AIRPURIFIER_3H,
MODEL_AIRPURIFIER_4,
MODEL_AIRPURIFIER_4_PRO,
MODEL_AIRPURIFIER_COMPACT,
MODEL_AIRPURIFIER_M1,
MODEL_AIRPURIFIER_M2,
MODEL_AIRPURIFIER_MA2,
Expand Down Expand Up @@ -130,9 +129,6 @@ class AttributeEnumMapping(NamedTuple):
MODEL_AIRPURIFIER_4_PRO: [
AttributeEnumMapping(ATTR_LED_BRIGHTNESS, AirpurifierMiotLedBrightness)
],
MODEL_AIRPURIFIER_COMPACT: [
AttributeEnumMapping(ATTR_LED_BRIGHTNESS, AirpurifierMiotLedBrightness)
],
MODEL_AIRPURIFIER_M1: [
AttributeEnumMapping(ATTR_LED_BRIGHTNESS, AirpurifierLedBrightness)
],
Expand Down

0 comments on commit c768f03

Please sign in to comment.