From f1f293de028711e98cbc42514b92f3f9000a1343 Mon Sep 17 00:00:00 2001 From: Maciej Bieniek Date: Sat, 31 Jul 2021 21:19:00 +0200 Subject: [PATCH] Clean Xiaomi Miio humidifier services (#53806) --- homeassistant/components/xiaomi_miio/const.py | 5 --- .../components/xiaomi_miio/services.yaml | 43 ------------------- 2 files changed, 48 deletions(-) diff --git a/homeassistant/components/xiaomi_miio/const.py b/homeassistant/components/xiaomi_miio/const.py index 0d8d5bc0014..e01b3f20f0b 100644 --- a/homeassistant/components/xiaomi_miio/const.py +++ b/homeassistant/components/xiaomi_miio/const.py @@ -147,8 +147,6 @@ MODELS_ALL = MODELS_ALL_DEVICES + MODELS_GATEWAY SERVICE_SET_BUZZER_ON = "fan_set_buzzer_on" SERVICE_SET_BUZZER_OFF = "fan_set_buzzer_off" SERVICE_SET_BUZZER = "set_buzzer" -SERVICE_SET_CLEAN_ON = "set_clean_on" -SERVICE_SET_CLEAN_OFF = "set_clean_off" SERVICE_SET_CLEAN = "set_clean" SERVICE_SET_FAN_LED_ON = "fan_set_led_on" SERVICE_SET_FAN_LED_OFF = "fan_set_led_off" @@ -167,9 +165,6 @@ SERVICE_SET_LEARN_MODE_OFF = "fan_set_learn_mode_off" SERVICE_SET_VOLUME = "fan_set_volume" SERVICE_RESET_FILTER = "fan_reset_filter" SERVICE_SET_EXTRA_FEATURES = "fan_set_extra_features" -SERVICE_SET_TARGET_HUMIDITY = "fan_set_target_humidity" -SERVICE_SET_DRY_ON = "fan_set_dry_on" -SERVICE_SET_DRY_OFF = "fan_set_dry_off" SERVICE_SET_DRY = "set_dry" SERVICE_SET_MOTOR_SPEED = "fan_set_motor_speed" diff --git a/homeassistant/components/xiaomi_miio/services.yaml b/homeassistant/components/xiaomi_miio/services.yaml index 90d31765307..4c153292d7e 100644 --- a/homeassistant/components/xiaomi_miio/services.yaml +++ b/homeassistant/components/xiaomi_miio/services.yaml @@ -211,49 +211,6 @@ fan_set_extra_features: min: 0 max: 1 -fan_set_target_humidity: - name: Fan set target humidity - description: Set the target humidity. - fields: - entity_id: - description: Name of the xiaomi miio entity. - selector: - entity: - integration: xiaomi_miio - domain: fan - humidity: - name: Humidity - description: Target humidity. - required: true - selector: - number: - min: 30 - max: 80 - step: 10 - unit_of_measurement: '%' - -fan_set_dry_on: - name: Fan set dry on - description: Turn the dry mode on. - fields: - entity_id: - description: Name of the xiaomi miio entity. - selector: - entity: - integration: xiaomi_miio - domain: fan - -fan_set_dry_off: - name: Fan set dry off - description: Turn the dry mode off. - fields: - entity_id: - description: Name of the xiaomi miio entity. - selector: - entity: - integration: xiaomi_miio - domain: fan - fan_set_motor_speed: name: Fan set motor speed description: Set the target motor speed.